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

    Close App feedback

    Scheduled Pinned Locked Moved
    Comments & Feedback
    2
    3
    285
    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

      Hello,
      I put a button to close the Gui-O App and with this information I inhibit the microcontroller on my device from sending unnecessary data to the Mqtt server, it works fine
      @quitapp

      But, if the User closes the App in the usual way, how know my device that the App was closed, in order to take the same action?

      Anyone a idea?
      Regards

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @Sato
        last edited by

        @sato
        Hello,

        you could for example create s sort of watchdog using |RTC component. The GUI-O app will periodically send the time to your microcontroller. There you could reset some sort of internal timer. Note that this could incur additional costs if you are using some sort of data plan (instead of WiFi).

        If you are using MQTT, there is another option (which is not yet fully supported) - last will testament. If one client goes offline, the broker can notify the subscribed clients, which can react accordingly.

        Best regards,
        kl3m3n

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

          Hello Klemen,

          "If you are using MQTT, there is another option (which is not yet fully supported) - last will testament. If one client goes offline, the broker can notify the subscribed clients, which can react accordingly."

          This functionality would be great.
          So I wait, please inform me when it is integrated

          Thank you
          Best regards

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