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.3k 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.
  • bpairB Offline
    bpairB 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
    • FotoFieberF Offline
      FotoFieberF 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
      • bpairB Offline
        bpairB Offline
        bpair
        wrote on last edited by
        #3

        Thanks - I will give it a try.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        20

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        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