Local Intelligence

by 00:37 0 commenti

NODE-RED FLOW

[{"id":"81b3adf4.11104","type":"inject","z":"d77e5dcf.c2e75","name":"temperature","topic":"","payload":"3","payloadType":"num","repeat":"","crontab":"","once":true,"x":121,"y":98,"wires":[["30c7b85c.6c1a48","52639a9b.f454a4"]]},{"id":"30c7b85c.6c1a48","type":"debug","z":"d77e5dcf.c2e75","name":"","active":false,"console":"false","complete":"payload","x":664,"y":112.16667175292969,"wires":[]},{"id":"52639a9b.f454a4","type":"switch","z":"d77e5dcf.c2e75","name":"","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"5","vt":"str"},{"t":"lt","v":"5","vt":"str"},{"t":"eq","v":"5","vt":"str"}],"checkall":"true","outputs":3,"x":165.1666717529297,"y":318.83331298828125,"wires":[["b71a791.d15ac88"],["c47cd42d.29eb08"],["95d61b4c.9d8078"]]},{"id":"b71a791.d15ac88","type":"function","z":"d77e5dcf.c2e75","name":"HIGH","func":"msg.payload=\"HIGH\"\nreturn msg;","outputs":1,"noerr":0,"x":432.66668701171875,"y":220.3333282470703,"wires":[["79b15dd3.59eb54"]]},{"id":"c47cd42d.29eb08","type":"function","z":"d77e5dcf.c2e75","name":"LOW","func":"msg.payload=\"LOW\"\nreturn msg;","outputs":1,"noerr":0,"x":441.8333435058594,"y":330.66668701171875,"wires":[["79b15dd3.59eb54"]]},{"id":"95d61b4c.9d8078","type":"function","z":"d77e5dcf.c2e75","name":"EQUAL","func":"msg.payload=\"EQUAL\"\nreturn msg;","outputs":1,"noerr":0,"x":450,"y":456,"wires":[["79b15dd3.59eb54"]]},{"id":"79b15dd3.59eb54","type":"debug","z":"d77e5dcf.c2e75","name":"","active":false,"console":"false","complete":"false","x":731,"y":312,"wires":[]}]

andrea

Developer

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

0 commenti:

Posta un commento

Nota. Solo i membri di questo blog possono postare un commento.