Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Second flow for wifi presence monitoring http://flows.nodered.org/flow/697c03848c493eda297f
[{"id":"89afb086.76505","type":"http in","name":"","url":"/presence","method":"get","x":118,"y":513,"z":"79c218da.863de8","wires":[["22302f8f.ddcfd"]]},{"id":"22302f8f.ddcfd","type":"function","name":"Inject state","func":"msg.presence = context.global.state\nreturn msg;","outputs":1,"x":336,"y":512,"z":"79c218da.863de8","wires":[["167cd70a.e98329"]]},{"id":"167cd70a.e98329","type":"template","name":"Build template","template":"<h3>Presence: {{presence}}!</h3>","x":541,"y":512,"z":"79c218da.863de8","wires":[["cd28a3e8.32d76"]]},{"id":"cd28a3e8.32d76","type":"http response","name":"","x":720,"y":512,"z":"79c218da.863de8","wires":[]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment