Posts made by Sato
-
RE: Files on the Spiffs
@kl3m3n, Hi
I think that can help. I will make experiments with it.
Can i choose the filesnames myself? If yes, how long can be the max name lenght?
Thank you
Best regards -
RE: Files on the Spiffs
@kl3m3n, Hi
I'll try to explain.
I have some *.txt files saved on Spiffs of the Esp32. Some of them, everytime I connect to the Esp32, it opens and reads line by line and sends that content to be displayed in a widget in the Gui-O App. This works fine.
In the Wi-Fi version with Esp32 I can send an email attaching these files and the issue is well resolved, even if there is a malfunction in the Esp32 Spiffs, I have the file data in the email.
As I also have another version in which I use a GPRS modem, I can't send an email with attached files because I have very little data credit on the SIM card and I wan't use it for that purpose. For this reason, I thought it might be an alternative, whenever I need to, be able to save these files in the phone's storage too.Hope it make sense, thank you
Regards -
Files on the Spiffs
Hello,
I think this is a question more directed at Kl3m3n.In Esp32 I use Spiffs in which I put small files, some more important than others. For security reasons, would it be possible to save 2 or 3 of this files in the Gui-O storage area of the phone?
Best regards
-
RE: Unable to compile BasicMQTT - code error
Hi,
"The ESP32 by Espressif Systems v3.0.1 has been installed."
With the v3.0.1 my code not compile and show many errors
Install instead v.2.0
Regards
-
RE: MBCH on v1.0.74
Hi @kl3m3n,
I've just tested it on another device and it works, so the problem is on my side.
Forget about it and I apologizeThank you
Best regards -
MBCH on v1.0.74
Hello Kl3m3n,
Have you change the widget MBCH?
Since the update to the new version MBCH don't show the bar'sI can not make any debug now then my PC Hdd is crash, so for few days i can't do nothing.
Best regards
-
Edit the In and Out tokens on the Gui-O app
Hello Kl3m3n,
How is it possible to edit the In and Out tokens that are generated by Gui-O when adding a connection?
Practical issue:
I have a connection unfortunately only on one cell phone, the respective In and Out tokens were programmed on a controller pcb that I no longer have with me. I accidentally deleted this connection in Gui-O. How can I create a new connection with the same tokens?Regards
-
RE: Hello Gui-O - I'm alive
Hello kl3m3n,
Now it's working, I'm not sure why.
I publishing every 30 seconds.
To control failures I send a counter with the message, so far it's 97 and there have been no failures.
I've also tried closing the Gui-O App, forced it to stop and finally disconnected the phone from that uuid, but it's still working.
As I mentioned earlier, I don't know if it's possible to send and receive between esp32Regards
-
RE: Hello Gui-O - I'm alive
Hello,
Now I've experimented with using the app's uuid and it works but not always, most of the time the message doesn't arrive. I'm going to keep testing and I'll give feedback.
Is it possible that it's not through the uuid but through the In and Out tokens of the Esp32 devices?
Regards
-
RE: Hello Gui-O - I'm alive
Hello @kl3m3n and community,
This is how i try use the Alive function I wanted to implement, but can it make it work.
What i need ist that one Device Esp32 publish a message and a second Device Esp32 receive it.
I know it don't be so, but I'm trying with both tokens to see it anything arrive. I'm a bit confused with this subject.
I have an Esp32 Device named "Test1" registed in the Gui-O App
with these tokens to which I just added /alive
static const char *In2 = "15cab81e-e558-4498-8994-0733c30662f4/alive";
static const char *Out2 = "da853476-386a-8b48-9778-047bd6acf266/alive";This Device named "Test1" publish each minute with these tokens!
aliveNotification = "Hello";
mqttClient.publish(&In2[0], (const char*) aliveNotification.c_str());
mqttClient.publish(&Out2[0], (const char*) aliveNotification.c_str());The other Device Esp32 named "It is Alive" registed in the Gui-O App
which is only used to receive the message published from the Esp32 Device named "Test1"
static const char *In2 = "15cab81e-e558-4498-8994-0733c30662f4/alive"; // Want to subscribe Device "Test1"
static const char *Out2 = "da853476-386a-8b48-9778-047bd6acf266/alive"; //Want to subscribe Device "Test1"mqttClient.subscribe(&In2[0]); //subscribe topic alive - from Device name "Test1"
mqttClient.subscribe(&Out2[0]); //subscribe topic alive - from Device name "Test1"The question is where in the code of the Device name "It is Alive" do I get the message "Hello"?
In the void parseGuioMsg(const String &msg) ???""You have a ESP32 device publishing to uuid/alive""
Must it be used uuid of the App?
I need to use Esp32 to Esp32Can someone help and clarify what I'm doing wrong and indicate how I should do it?
Thanks
Regards -
Selectable language
Hello Kl3m3n,
With the intention of being used in several countries, my project currently supports 3 languages that can be selected in the app.
Perhaps it wouldn't be a bad idea for Gui-O to also have identical functionality for its menu texts and so on. There are many users who don't understand English.
Just a suggestion
Regards
-
RE: Hello Gui-O - I'm alive
Hello @kl3m3n,
I haven't done any tests yet because I'm waiting for the ESP32 to be delivered.
But could you please take a look to see if the way I describe it below is the right way?
Esp_a
In, uuid_a, alive //publish periodically that it is alive (for Esp redundant)Esp_b
In, uuid_b, alive //publish periodically that it is alive (for Esp redundant)Esp_c
In, uuid_c, alive /publish periodically that it is alive for (Esp redundant)Redundant ESP (must subscribe to all ESPs that are connected, which can be many, right?
mqttClient.subscribe(&Out_a[0]); // subscribe to esp_a alive
mqttClient.subscribe(&Out_b[0]); // subscribe to esp_b alive
mqttClient.subscribe(&Out_c[0]); // subscribe to esp_c alive
"" "" "" "" ""
"" "" "" "" ""
// redundant ESP sends push message to 2 cell phones
// don´t worry, changed some Chars
static const char Push1 = "d4f1c682-16b8-3958-5734-51dc22471e0c/alive"; // publish push to mobile1
mqttClient.publish(&Push1[0], (const char) pushNotification.c_str());static const char Push2 = "e4f1c792-26d8-4958-5764-16dc22471f0c/alive"; // publish push to mobile2
mqttClient.publish(&Push2[0], (const char) pushNotification.c_str());Thank you
Best regards -
RE: Hello Gui-O - I'm alive
Hello @kl3m3n,
I also think that the solution is a redundant ESP32 that will only serve to receive and process the periodic Alive signals, and if one fails, it will send an IoT notification with the ID of the failed device.
As such, it seems possible. What I still don't know how to do is create this subscription token of Alive channel to the redundant ESP32. Could you help with a example?Thank you
Best regards
-
RE: Hello Gui-O - I'm alive
Hello kl3m3n and community,
I've been thinking about the question I asked about Alive and I've designed something for you to see if it might work. I think kl3m3n will be the one who can best answer this and maybe even help.
Regards