Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Feature Requests
  3. MQTT client gateway suggestions

MQTT client gateway suggestions

Scheduled Pinned Locked Moved Feature Requests
4 Posts 3 Posters 2.5k Views 2 Watching
  • 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.
  • Thomas AugustinusT Offline
    Thomas AugustinusT Offline
    Thomas Augustinus
    wrote on last edited by Thomas Augustinus
    #1

    Hi there,
    Fantastic work on this library! Thanks!

    A few suggestions for the mqtt client gateway:

    • Make the sketch name and version a "retained" message on the broker - this will make it easy for the controller to know which nodes are attached
    • Make the individual sensor presentations become a retained message on the broker. this will make it simple for a controller to know exactly which data to expect from which node
    • remove the ack from the mqtt topic tree - unless I have misunderstood something it is not really usefull between broker and gateway (except to make it look exactly as the mysensor frames). So remove it and save the bandwidth...
    • make it possible to define the QoS for messages to the server

    Thanks again
    /th

    1 Reply Last reply
    1
    • S Offline
      S Offline
      scalz
      Hardware Contributor
      wrote on last edited by scalz
      #2

      @Thomas-Augustinus
      I think you will be happy ;)
      Because, i have what you're describing already working. but I'm a bit busy, i have multiple things to PR and need to order everything in sub pr, and check everything.
      So locally for the moment, I have an esp8266 MQTT client that I have modified, so:

      • it uses async
      • Qos 0,1,2. So in sketch you can publish or subscribe with qos.

      I take note for your retained message. I will add it on my side. that could be interesting. for ack, I had the same thought, I'm not sure too. I will ask..

      Thomas AugustinusT 1 Reply Last reply
      0
      • S scalz

        @Thomas-Augustinus
        I think you will be happy ;)
        Because, i have what you're describing already working. but I'm a bit busy, i have multiple things to PR and need to order everything in sub pr, and check everything.
        So locally for the moment, I have an esp8266 MQTT client that I have modified, so:

        • it uses async
        • Qos 0,1,2. So in sketch you can publish or subscribe with qos.

        I take note for your retained message. I will add it on my side. that could be interesting. for ack, I had the same thought, I'm not sure too. I will ask..

        Thomas AugustinusT Offline
        Thomas AugustinusT Offline
        Thomas Augustinus
        wrote on last edited by
        #3

        Hi @scalz
        Fantastic!
        I am really looking forward to that!
        I was actually thinking that for sensors that only wake up and publish on changes, the retained feature could be really great too... That way you would always get the most recent temperatuere, switch position etc. on subscription... Except for the load on the broker I cannot see any disadvantages.
        /th

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Soloam
          Hardware Contributor
          wrote on last edited by
          #4

          I know that this is old, but was this pushed to main? I would really need this! Thank You

          1 Reply Last reply
          1

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          20

          Online

          12.0k

          Users

          11.2k

          Topics

          113.4k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular