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

    Read the MAC address

    Scheduled Pinned Locked Moved
    Comments & Feedback
    2
    14
    1.0k
    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 @kl3m3n
      last edited by

      Hello @kl3m3n,

      This subject is already old and at the time I asked about the MAC address, and from what I see, it seems I did not answer the reason for the question, I apologize, I answer now.
      Why is it important to receive some unique information from the cell phone or Gui-O, it always depends on the type of use in which we use the Gui-O.
      Scenario, example: I have 100 employees with Gui-O installed on their cell phones, as well as 500 IoT hardware installed at various locations, to which all employees can connect. At any given time, one of the employees may resign or even be let go. It would be in best interest to be able to receive this unique information to be able on the hardware side (Esp32) to bar access to this terminated employee.
      The situation being resolved in a list on the Mqtt server does not seem to me to be the most appropriate, at least for this scenario.

      Thank you
      Best regards

      K 1 Reply Last reply Reply Quote 0
      • K
        kl3m3n @Sato
        last edited by kl3m3n

        @Sato Hello!

        What about using the user id parameter under "General settings -> User settings". Give your users unique user ids. This parameter is also sent with each MQTT message (prefixed by usr:).

        Best regards,
        kl3m3n

        S 2 Replies Last reply Reply Quote 0
        • S
          Sato @kl3m3n
          last edited by

          Hi @kl3m3n,

          Thank you, i will test it

          Best regards

          1 Reply Last reply Reply Quote 0
          • S
            Sato @kl3m3n
            last edited by

            Hello @kl3m3n, hope you are well

            In this submenu "User settings" I always put the name of the employee, which I can change whenever I want, which is
            very well. Even if i barred the employee's name in the hardware(esp32), the employee would only need to change the name in User settings to be able to log in again.

            So, the issue I raised in the previous post, can only be solved through a unique data from Gui-O, such as for example "Application UUID", or a random number that is created during the installation of the Gui-O or the cell phone's MAC, or any other that is possible.
            I think the random number 0001.... 9999, if possible, is a good solution.

            Best regards

            K 2 Replies Last reply Reply Quote 0
            • K
              kl3m3n @Sato
              last edited by

              @Sato Hi,

              I will check what is the best solution to do this... I will get back to you.

              Best regards,
              kl3m3n

              S 1 Reply Last reply Reply Quote 0
              • K
                kl3m3n @Sato
                last edited by

                @Sato Hi,

                your suggestion is not possible as the numbers could repeat...

                I will add an option to send also the "Application UUID", which will be disabled by default. You will be able to enable sending this value through the "Developer mode" menu.

                Is this ok?

                Regards,
                kl3m3n

                S 1 Reply Last reply Reply Quote 0
                • S
                  Sato @kl3m3n
                  last edited by

                  Hi @kl3m3n,

                  Thank you

                  Best regards

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kl3m3n @Sato
                    last edited by

                    @Sato Hi.

                    Version 1.0.41 has the option to send unique application id. You need to enable this from the developer menu.

                    Best regards,
                    kl3m3n

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Sato @kl3m3n
                      last edited by

                      Hi @kl3m3n,

                      I appreciate your readiness to evaluate and whenever possible implement our needs.

                      Have enabled the develop mode and the Send IoT device name, but the App UUID not appears on Serial Monitor.
                      it is necessary to invoke it with some command?

                      Best regards

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        kl3m3n @Sato
                        last edited by

                        @Sato said in Read the MAC address:

                        Send IoT device name

                        You need to enable "Send IoT app uuid" (last entry, below "Send IoT user name", try scrolling down). You need to use version 1.0.41.

                        Best regards,
                        kl3m3n

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Sato @kl3m3n
                          last edited by

                          Hi @kl3m3n,

                          mqttClient.publish(&In[0], "@appUuid\r\n");

                          I forgot that this command already existed, I just thought that when opening the App it would automatically send the App UUID as it does with "Init", or am I looking at this the wrong way?

                          Best regards

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sato @kl3m3n
                            last edited by

                            Hi @kl3m3n,

                            I have not scrolling down, now i see it. Thank you

                            Best regards

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