These are the steps that are executed in sequence:
[{"id":"9501411c.d6df1","type":"mqtt in","z":"4900f0c0.a1ad6","name":"Receive msg from MQTT broker","topic":"temperature","qos":"2","broker":"45638dd0.81dd74","x":846.0078430175781,"y":488.6602382659912,"wires":[["86456b19.41b7a8"]]},{"id":"571b08b1.b63468","type":"mqtt out","z":"4900f0c0.a1ad6","name":"Send msg to MQTT broker","topic":"","qos":"2","retain":"false","broker":"45638dd0.81dd74","x":528.0039367675781,"y":490.5937786102295,"wires":[]},{"id":"f8abf6e6.19f508","type":"inject","z":"4900f0c0.a1ad6","name":"Read temperature sensor","topic":"temperature","payload":"23,7°C","payloadType":"str","repeat":"","crontab":"","once":false,"x":258.00390625,"y":490.66799783706665,"wires":[["571b08b1.b63468"]]},{"id":"86456b19.41b7a8","type":"debug","z":"4900f0c0.a1ad6","name":"Display temperature","active":true,"console":"false","complete":"true","x":1105.00390625,"y":489.1367483139038,"wires":[]},{"id":"45638dd0.81dd74","type":"mqtt-broker","z":"","broker":"localhost","port":"1883","clientid":"Pi2-NR","usetls":false,"compatmode":true,"keepalive":"15","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""}]
Third party dashboards
Until now I have only used the Node-Red internal dashboard. However in this thread I got a remark about third party dashboards for IOT:
If I understand correctly, most of these dashboards support MQTT (native or by plugins). For example the HomeRemote designer offers standard MQTT topic fields for both input and output:
Through those topics, the dashboard can connect to an MQTT broker (both as subscriber and publisher):
--
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+u...@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/1f784ca8-2e52-4d0a-aa4a-f337c9e16000%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Aug 29, 2017, at 8:03 PM, damo....@gmail.com wrote:
This module provides a set of nodes for making it easier to connect to a FRED instance from a device like a Raspberry Pi.
These nodes currently connect to FRED using web sockets. These nodes are based on the built in web sockets modules that come with Node-RED. As FRED evolves, the method of connecting to a FRED-hosted Node-RED may change. Using these nodes will make sure your device flows will continue to connect to FRED using the most well supported protocol.
It also seems somewhat unnecessary to have to install an MQTT broker simply to pass messages between node-red installs, when by its very nature, message passing is what it does and does well.
Damo, I think I see where you are going here -- and although I love all the other related discussions around this topic, here is the simplest version of what I would love to see (fwiw)...
It would really be ideal if this list included endpoints from my other node-red instances! Today, when I need to pass msgs between my instances, I set up Http endpoints (or use TCP, MQTT, etc) -- but as Damo stated below, "message passing is what [node-red] does and does well".Granted, the list could get large, and specifying which other instances are available would have to be known somehow, but those are just "implementation details" ;*)Kidding aside (sorry, the "clueless manager voices" in my head sometimes just pop out)... The simplicity of the Link node behavior would hide whatever mechanism was used to pass msg objects from one n-r instance to another. Since node-red already supports many communication protocols, the implementation would be free to select the most efficient one, based on things like what security checks are in place and whether it's between processes on the same server.
Two more options for you all to chew on...The zeromq nodes and the n2n node (both contributed by me :-)The zeromq node is peer to peer and has both socket and pub sub type models - see the zeromq website for details of the underlying protocol.
The n2n node is more "experimental" in that it is sub pub, uses multicast, and only supports small messages (<1 UDP packet). Basically a receiving node just asks for data that matches a topic regex, (a combined heartbeat and
Hi Steve/Dave,
One other aspect to think about - security.While many of these approaches are perfectly valid, they are not all as easy to secure. For some implementations (actually for any implementation that carries information of value or controls critical hardware), even LAN's should only use secured data transmissions.
That makes MQTT or some similar broker the easiest approach as it is relatively easy to secure.
The other security related aspect to bear in mind of course is resilience. Again a broker or other message bus wins out again here as the protocols and services are designed to allow resilient setups.
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/LFi6D3uiHRc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@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/73a97871-97d6-481f-8a69-c45b753c6ba0%40googlegroups.com.