Add the IoT name to @init
-
Hello,
Let's imagine we add a new IoT record in Gui-O, for example OF1234 Rue Caires 25
It is possible for Gui_O, after the @init or together, to send also the name of the registered IoT, in this example OF1234 Rue Caires 25Best regards
-
When creating a new IoT device, also set the (optional) user name. Now, every message from the GUI-O app will include this user name.
For example, if the user name is kl3m3n, the app will send:
@init usr:kl3m3n\r\n
Does this help.
Best regards,
kl3m3n -
-
Hi @kl3m3n,
Since the optional name is not editable, because it is part of the tokens, as such, it does not solve what I need.
Instead, can you always send the name of the IoT that is in the Menu?
example: @init usr: Menu_nameBest Regards
-
@sato I don't understand - what is Menu_name?
BR,
kl3m3n -
Hi @kl3m3n,
I mean the Text of the device that i choose to connect on the subMenu of Quick connect
Best regards
-
@sato I have looked into this and still don't exactly understand your problem.
If you create a new device and specify device name and user name, the user name should be sent after the usr:! Is this so?
I can add the option to also change the user name after the device is created, but this will inherently also update the pub / sub topics.
BR,
kl3m3n -
Hi @kl3m3n ,
I talked about the question of whether Gui-O could always send the device name to the ESP upon connection, perhaps even as an option, so that even though the device name may have changed since the last connection, the ESP always receives the updated device name. With this information, the ESP can prepare Push notifications, for example, with: The device name, the fault that caused the notification event, and other useful information that may be needed in the future.
In a maintenance scenario of hundreds or thousands of devices, the maintenance manager receives the Push notification, already with this informations, then opens the Gui-O App and chooses that device name and connects to the ESP, then has the information of all the statuses of the equipment.
It may not make sense for other situations, but for this type of service, it helps a lot in resolving faults quickly.Now regarding Push notifications, right now, I don't have it active on any of my Samsung with Android 10 and 11 because when I open Gui-O, it immediately freezes with a black screen. A situation I didn't notice in the first version of Push notification, I don't know why.
Tomorrow I will try to borrow a phone with Android 7, install Gui-O, test and give you feedback.
Regards
-
@sato I will implement sending of the device name. The device name will be sent with every message.
BR,
kl3m3n -