🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Atoms3 lite with Dlight Unit to MQTT_ Not working

    Scheduled Pinned Locked Moved PROJECTS
    3 Posts 2 Posters 327 Views
    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.
    • K Offline
      Kombistack
      last edited by

      Well this has been one of those projects where I have spent hours and got nowhere.
      Can anyone tell me why this UIFlow2 program is not working. By not working I mean I am getting no messages (light readings) published to my Home Assistant EMQT server.

      4027cf9d-da51-4791-a963-334c20d3ab71-image.png

      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue @Kombistack
        last edited by

        Hello @Kombistack

        hmm, probably publishing doesn't work due to the delays in loop.

        Maybe this example in UIFlow2 Project Zone can help:

        M5AtomS3_WiFi_MQTT_UIFlow2.1.5

        Note: not tested again with latest UIFlow2.4.2. So it might not work anymore.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0
        • K Offline
          Kombistack
          last edited by

          Thank you felmue for your assistance.
          I have managed to get this working and the light readings are now passing through MQTT to my HA.

          I added the "dump (reading from the dlight unit) to json block" and all is working now.

          f909e7d9-9969-44bd-8744-84ee45219e24-image.png

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post