Skip to content

Instantly share code, notes, and snippets.

@caasisaac
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caasisaac/0280f23e1f897d38bff2 to your computer and use it in GitHub Desktop.
Save caasisaac/0280f23e1f897d38bff2 to your computer and use it in GitHub Desktop.
synchronization with emoncms
[{"id":"3b746044.c48ba","type":"emoncms-server","server":"http://emoncms.org","name":""},{"id":"ebe1c0d4.141e4","type":"nodebot","name":"Arduino","username":"","password":"","boardType":"firmata","serialportName":"/dev/ttyACM0","connectionType":"local","mqttServer":"","pubTopic":"","subTopic":"","tcpHost":"","tcpPort":"","sparkId":"","sparkToken":"","beanId":"","impId":""},{"id":"4c87eb3.fb37814","type":"gpio in","name":"teste","state":"ANALOG","samplingInterval":"5000","pin":"2","board":"ebe1c0d4.141e4","x":222,"y":90,"z":"d8be118.f2741f","wires":[["70fc538a.8f03ac"]]},{"id":"70fc538a.8f03ac","type":"function","name":"","func":"var teste = JSON.parse(msg.payload);\n\nmsg.payload = \"LDR:\" + teste;\n\nreturn msg;","outputs":1,"x":435,"y":119,"z":"d8be118.f2741f","wires":[["c60093ca.39ff7"]]},{"id":"c60093ca.39ff7","type":"emoncms","name":"Emoncms","emonServer":"3b746044.c48ba","nodegroup":"","x":624,"y":126,"z":"d8be118.f2741f","wires":[]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment