Created
June 30, 2014 14:29
-
-
Save ludwigm/2a99462a4c32ac12b48b to your computer and use it in GitHub Desktop.
Second flow for wifi presence monitoring http://flows.nodered.org/flow/697c03848c493eda297f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"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