• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
GUI-O Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login

Add the IoT name to @init

Scheduled Pinned Locked Moved
Comments & Feedback
2
10
574
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Sato
    last edited by 10 May 2022, 17:26

    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 25

    Best regards

    K 1 Reply Last reply 11 May 2022, 12:57 Reply Quote 0
    • K
      kl3m3n @Sato
      last edited by 11 May 2022, 12:57

      @sato

      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

      S 2 Replies Last reply 11 May 2022, 14:30 Reply Quote 0
      • S
        Sato @kl3m3n
        last edited by 11 May 2022, 14:30

        Hellp @kl3m3n,

        Yes, it helps
        Thank you

        Regards

        1 Reply Last reply Reply Quote 0
        • S
          Sato @kl3m3n
          last edited by 25 May 2022, 14:41

          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_name

          Best Regards

          K 1 Reply Last reply 25 May 2022, 19:28 Reply Quote 0
          • K
            kl3m3n @Sato
            last edited by kl3m3n 25 May 2022, 19:28

            @sato I don't understand - what is Menu_name?

            BR,
            kl3m3n

            S 1 Reply Last reply 25 May 2022, 19:45 Reply Quote 0
            • S
              Sato @kl3m3n
              last edited by 25 May 2022, 19:45

              Hi @kl3m3n,

              I mean the Text of the device that i choose to connect on the subMenu of Quick connect

              Best regards

              K 1 Reply Last reply 28 May 2022, 18:11 Reply Quote 0
              • K
                kl3m3n @Sato
                last edited by 28 May 2022, 18:11

                @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

                S 1 Reply Last reply 1 Jun 2022, 19:12 Reply Quote 0
                • S
                  Sato @kl3m3n
                  last edited by 1 Jun 2022, 19:12

                  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

                  K 1 Reply Last reply 2 Jun 2022, 05:51 Reply Quote 0
                  • K
                    kl3m3n @Sato
                    last edited by 2 Jun 2022, 05:51

                    @sato I will implement sending of the device name. The device name will be sent with every message.

                    BR,
                    kl3m3n

                    S 1 Reply Last reply 2 Jun 2022, 08:23 Reply Quote 0
                    • S
                      Sato @kl3m3n
                      last edited by 2 Jun 2022, 08:23

                      @kl3m3n ,

                      Thank You

                      Regards

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post