LED Strip Thermometer with HARDWARIO IoT Kit

Make your own smart indoor climate station with nice looking LED strip and HARDWARIO IoT Kit.

BeginnerFull instructions provided1 hour1,813
LED Strip Thermometer with HARDWARIO IoT Kit

Things used in this project

Story

Read more

Code

Node-RED flow

JSON
[{"id":"dd5afadb.c8ff98","type":"tab","label":"LED thermometer","disabled":false,"info":""},{"id":"b4b911da.80d7b","type":"mqtt in","z":"dd5afadb.c8ff98","name":"","topic":"node/generic-node:0/thermometer/0:1/temperature","qos":"2","datatype":"auto","broker":"e649966c.8c2af8","x":210,"y":140,"wires":[["8bfc6b85.202ca8","c4c719f1.31e2e8"]]},{"id":"752a60f7.0b9f","type":"mqtt out","z":"dd5afadb.c8ff98","name":"","topic":"node/generic-node:0/led-strip/-/thermometer/set","qos":"","retain":"","broker":"e649966c.8c2af8","x":1020,"y":200,"wires":[]},{"id":"8bfc6b85.202ca8","type":"change","z":"dd5afadb.c8ff98","name":"Save Temp","rules":[{"t":"set","p":"temperature","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":530,"y":140,"wires":[["c73ec318.6fdc9"]]},{"id":"c73ec318.6fdc9","type":"change","z":"dd5afadb.c8ff98","name":"Change to JSON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"temperature\": {temp}, \"min\":-20, \"max\": 50}","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":730,"y":140,"wires":[["4cb6e20f.1f0a9c"]]},{"id":"4cb6e20f.1f0a9c","type":"change","z":"dd5afadb.c8ff98","name":"Add Temp","rules":[{"t":"change","p":"payload","pt":"msg","from":"{temp}","fromt":"str","to":"temperature","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":720,"y":200,"wires":[["752a60f7.0b9f"]]},{"id":"60a6e0bb.0793d","type":"mqtt in","z":"dd5afadb.c8ff98","name":"","topic":"node/generic-node:0/hygrometer/0:4/relative-humidity","qos":"2","datatype":"auto","broker":"e649966c.8c2af8","x":220,"y":280,"wires":[["a7775e5a.26133"]]},{"id":"c4c719f1.31e2e8","type":"ui_gauge","z":"dd5afadb.c8ff98","name":"","group":"57ff470b.93fdf8","order":0,"width":0,"height":0,"gtype":"gage","title":"Temperature","label":"°C","format":"{{value}}","min":"-20","max":"50","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":540,"y":100,"wires":[]},{"id":"a7775e5a.26133","type":"ui_gauge","z":"dd5afadb.c8ff98","name":"","group":"57ff470b.93fdf8","order":0,"width":0,"height":0,"gtype":"gage","title":"Humidity","label":"%","format":"{{value}}","min":0,"max":"100","colors":["#00acb5","#018fe4","#1d03fe"],"seg1":"","seg2":"","x":510,"y":280,"wires":[]},{"id":"cf8c6f06.f38e7","type":"mqtt in","z":"dd5afadb.c8ff98","name":"","topic":"node/generic-node:0/barometer/0:0/altitude","qos":"2","datatype":"auto","broker":"e649966c.8c2af8","x":180,"y":440,"wires":[["bd5eb5f7.abcbc8"]]},{"id":"d0f6735e.e27a4","type":"mqtt in","z":"dd5afadb.c8ff98","name":"","topic":"node/generic-node:0/barometer/0:0/pressure","qos":"2","datatype":"auto","broker":"e649966c.8c2af8","x":190,"y":520,"wires":[["73ffaf23.3feaf"]]},{"id":"5fda7c11.1292b4","type":"mqtt in","z":"dd5afadb.c8ff98","name":"","topic":" node/generic-node:0/lux-meter/0:0/illuminance","qos":"2","datatype":"auto","broker":"e649966c.8c2af8","x":190,"y":580,"wires":[["a5ae3bca.6097b8"]]},{"id":"bd5eb5f7.abcbc8","type":"ui_text","z":"dd5afadb.c8ff98","group":"57ff470b.93fdf8","order":0,"width":0,"height":0,"name":"","label":"Altitude","format":"{{msg.payload}} meters above sea level","layout":"col-center","x":540,"y":440,"wires":[]},{"id":"a5ae3bca.6097b8","type":"ui_gauge","z":"dd5afadb.c8ff98","name":"","group":"57ff470b.93fdf8","order":0,"width":0,"height":0,"gtype":"gage","title":"Iluminance","label":"lux","format":"{{value}}","min":0,"max":"15000","colors":["#000000","#727272","#d4d4d4"],"seg1":"","seg2":"","x":550,"y":580,"wires":[]},{"id":"73ffaf23.3feaf","type":"ui_text","z":"dd5afadb.c8ff98","group":"57ff470b.93fdf8","order":0,"width":0,"height":0,"name":"","label":"Pressure","format":"{{msg.payload}} Pa","layout":"col-center","x":540,"y":520,"wires":[]},{"id":"e649966c.8c2af8","type":"mqtt-broker","z":"","name":"","broker":"127.0.0.1","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"57ff470b.93fdf8","type":"ui_group","z":"","name":"Default","tab":"11207769.c31889","disp":true,"width":"6","collapse":false},{"id":"11207769.c31889","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]

Credits

Jakub Smejkal

Jakub Smejkal

79 projects • 13 followers
Lukáš Fabik

Lukáš Fabik

43 projects • 12 followers
Alan Fabik

Alan Fabik

43 projects • 11 followers
Martin Hubáček

Martin Hubáček

65 projects • 56 followers

Comments