Best posts made by Sato
Latest posts made by Sato
-
CA certificateposted in Comments & Feedback
Hi Klemen,
I am using GUI-O in IoT (MQTT) mode with a self-managed Mosquitto broker, following the Custom MQTT Broker documentation.
For the TLS connection, I imported our private CA certificate ("ca.crt") using IoT Settings → Import certificate, and the connection is working correctly.
I have one question regarding future GUI-O application updates:
When GUI-O is updated to a newer version, is the previously imported CA certificate preserved automatically, or does the user need to import the "ca.crt" again after each application update?
Also, is the imported certificate stored independently from the application version, so that it remains available even when the application is updated?
This is important for deployments where several users connect to the same private MQTT broker, because we need to know whether a normal GUI-O update could require users to configure the certificate again.
Thank you!
Regards -
Text from String Var using Label on page0posted in Comments & Feedback
Hello kl3m3n,
How can this work using the label widget?
I tried a lot of possibilities, but i do it wrong.
I want write the counter number on page0byte counter = 0;
String signal = "";loop
counter++;
signal =String(counter );
text = "TXT:"<font color=\u0022red\u0022>" signal "</font>"\r\n";
mqttClient.publish(&In[0], "@lb88 X:5 Y:47.5 SCI:0 VIS:1 &text[0]");Thank you
Best regards
-
RE: command that returns the date and time and the day of the weekposted in Comments & Feedback
Hello @kl3m3n,
mqttClient.publish(&In[0], "|RTC UID:rtc1 RTCE:0 HID:rtc\r\n"); // Disable RTC
if i use this, the time is correct but it go few times on the callback, but i only need it one time!!!!!!!!!
mqttClient.publish(&In[0], "|RTC UID:rtc1 HID:rtc\r\n");mqttClient.publish(&In[0], "@rtc1 RTCF:"yyyy-mm-dd hh:mm:ss" RTCE:1\r\n");
void parseGuioMsg(const String &msg) {
if (msg.startsWith("@rtc1")) {
getRtc = 1;
mqttClient.publish(&In[0], "@rtc1 RTCE:0\n\r"); // Disable the RTCThank you
Best regards -
RE: command that returns the date and time and the day of the weekposted in Comments & Feedback
@Sato said in command that returns the date and time and the day of the week:
2025/17/12
Show on callback
RTC @rtc1 2025-37-13 20:37:01 dev:W 0001 x.x uuid:d3f1c986-16No, it not works, the date is wrong 2025/37/13, the time is correct
Thank you
Best regards -
RE: command that returns the date and time and the day of the weekposted in Comments & Feedback
Hello @kl3m3n,
Now it works.
@rtc1 2025/17/12 20:17:05 sábado dev:W 0001 x.x uuid:d3f1c986-16b3-47
In this case, the WeekDay is sábado = Saturday. My question is how is the WeekDay, if the Guio is used in UK or Germany and so on...
Saturtday or Samstag or?
Thank You
Best regards -
RE: command that returns the date and time and the day of the weekposted in Comments & Feedback
Hello @kl3m3n,
You are right, but i continue have a problem with RTC, the ddd show not the dayofweek. Have you a idea what it is wrong?
Thank Youvoid generateTheGUI {
getRtc = 0;
Serial.println("Create command RTC");
mqttClient.publish(&In[0], "|RTC UID:rtc1 HID:rtc\r\n");
app_on = 1;
}Main loop {
//only one time
if ((app_on == 1) && (getRtc == 0)) {
//mqttClient.publish(&In[0], "@rtc1\n\r"); ////same output on Serial Monitor
//mqttClient.publish(&In[0], "@rtc1 RTCF:hh:mm:ss ddd RTCR:5.0\n\r"); //same output on Serial Monitor
mqttClient.publish(&In[0], "@rtc1 RTCF:'hh:mm:ss ddd' RTCR:1.5\n\r"); //same output on Serial Monitor
delay(150);
mqttClient.publish(&In[0], "@rtc1 RTCE:0\n\r"); //Disable RTC ??????????????
getRtc = 1;
delay(150);
}
}void parseGuioMsg(const String &msg) {
if (msg.startsWith("@rtc1")) {
Serial.print("Show RTC ");
Serial.println(msg);
}
}On Serial Monitor, a few times, like this...
Show RTC @rtc1 2025/07/07 22:32:31:696 dev:W 0001 x.x uuid:d3f1c986-16b3-47
End Parse
Show RTC @rtc1 2025/07/07 22:32:33:696 dev:W 0001 x.x uuid:d3f1c986-16b3-47
End Parse
Show RTC @rtc1 2025/07/07 22:32:34:694 dev:W 0001 x.x uuid:d3f1c986-16b3-47
End Parse -
RE: command that returns the date and time and the day of the weekposted in Comments & Feedback
Hello kl3m3n,
Now i receive the callback @rtc1. The ceation of the command was on the wrong part of the code.
Sorry and Thank You
Best regards