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. General Discussion
  3. MQTT Gateway + Node-Red + Vis

MQTT Gateway + Node-Red + Vis

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 2.6k 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.
  • B Offline
    B Offline
    bpair
    wrote on last edited by bpair
    #1

    I have been playing around with the MQTT Gateway and Node-Red. I started with what user @Heinz did in a different forum topic however I am hoping to use MQTT.

    First of all, node-red is a dead simple way to monitor MQTT traffiction. The question I have is about the messages created form the MQTT gateway.

    I am only getting messages that "set" data. For example

    { "topic": "MyMQTT/20/0/V_HUM", "payload": "53.5", "qos": 0, "retain": false, "_msgid": "a3f256c8.5c0da8" } 
    

    but I never see any presentation messages or ack messages. I took a look at the MQTT code but I don't know C++. Is there a difference between the serial gateway and the mqtt gateway? Meaning is there more functionality in the serial gateway?

    By the way the vis app for node-red, https://www.npmjs.com/package/node-red-vis
    , has some nice functionality. Pretty easy to add switches. I think you need your sensor IDs to be static but I think you could easily create a widget to display sensors that are new.

    1 Reply Last reply
    1
    • F Offline
      F Offline
      FotoFieber
      Hardware Contributor
      wrote on last edited by
      #2

      The 'default' MQTT Gateway doesn't support all message types.

      I hacked the MQTT Client Gateway to support:

      • sketchinfo
      • sketchversion
      • time
      • batterylevel

      http://forum.mysensors.org/topic/524/mqtt-client-gateway/27

      There are articles about the serial gateway and node-red in this forum. This could be another solution for you.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bpair
        wrote on last edited by
        #3

        Thanks - I will give it a try.

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


        17

        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