visualizing MQTT topic tree using shiftr.io and node-red

321 views
Skip to first unread message

urs.epp...@switch.ch

unread,
May 28, 2017, 1:04:21 PM5/28/17
to Node-RED
Since at least one person on this board (except me) found it cool, I use this post to show how I visualize my MQTT traffic on a public web site.

I have various sensors and actors on my WiFi, all ESP8266 based, some homegrown, some from Itead (the son off devices).
All these devices exchange data with a mqtt broker. And node-red is used 
  • to decrypt the data coming from the sensors on the input/ topic
  • send decrypted data to the sensors topic sensors/
  • map sensors to real world topic tree data/
  • encrypt and send commands to the sensors via command/
On shiftr.io is a web based service, which visualizes the messages flowing through the topic tree:

I use node-red top copy the data from my internal broker to the public broker on broker.shiftr.io

The flows offer
  • a gate function to enable/disable the data copying
  • a privacy function where I strip out the payload of the broker messages
  • some delays/randomness for the broker messages, just because it looks nicer
Here is how the flows look like. 


Julian Knight

unread,
May 28, 2017, 2:17:22 PM5/28/17
to Node-RED
Thanks :-)

Colin Law

unread,
May 28, 2017, 5:04:06 PM5/28/17
to node...@googlegroups.com
Thanks for that, I think it is cool too :)

I am not sure it is necessarily particularly useful but it looks like fun.

Colin

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/bc6896e3-176c-4021-8f03-a95f048c86c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Julian Knight

unread,
May 28, 2017, 5:13:36 PM5/28/17
to Node-RED
It is fun indeed. Though it seems to keep stopping for me which is frustrating. If I leave it long enough, it pops up again and then drops off. I wonder if they are rate limiting? There is really no useful documentation so no real way of knowing. Certainly couldn't trust it for anything important. It would be nice if they published how to do it. I think that it is a D3 visualisation.
Reply all
Reply to author
Forward
0 new messages