Hello,
Arduino gives data to node-red from sensoren
1 DHT11 for temp, hum, hic (heatindex)
2 CO- sensor for CO
Arduino with connection to Node-red gives with debug as follows:
"hum 38.00% ; temp 24.00°C ; hic 23.45°C ; CO 0.00"
Problem
- How do i get the values as data for inputs at gauge(hum), gauge(temp), text(hic) and text(CO).
- Is there any demoflow for this situation?
Dick
[{"id":"c764d410.f772f8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"69a3550f.9af85c","type":"ui_gauge","z":"c764d410.f772f8","name":"Temp","group":"5d104b94.30b3b4","order":0,"width":"4","height":"4","gtype":"gage","title":"temp","label":"units","format":"{{value}} °C","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":510,"y":200,"wires":[]},{"id":"46e683e1.ec93ec","type":"ui_gauge","z":"c764d410.f772f8","name":"Humidity","group":"5d104b94.30b3b4","order":1,"width":"4","height":"4","gtype":"gage","title":"Humidity","label":"units","format":"{{value}}%","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":520,"y":160,"wires":[]},{"id":"6038b69f.9ab6c8","type":"debug","z":"c764d410.f772f8","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":350,"y":120,"wires":[]},{"id":"2edcf810.d6df38","type":"serial in","z":"c764d410.f772f8","name":"","serial":"a5011f00.7ef5f","x":170,"y":240,"wires":[["6038b69f.9ab6c8"]]},{"id":"a2e3c715.9753d8","type":"ui_text","z":"c764d410.f772f8","group":"5d104b94.30b3b4","order":4,"width":0,"height":0,"name":"","label":"text","format":"{{msg.payload}}","layout":"row-spread","x":510,"y":240,"wires":[]},{"id":"b26abe1d.892fe","type":"ui_text","z":"c764d410.f772f8","group":"5d104b94.30b3b4","order":0,"width":0,"height":0,"name":"CO in PPM","label":"Arduino Reading","format":"{{msg.payload}}","layout":"col-center","x":530,"y":280,"wires":[]},{"id":"110e121b.97886e","type":"comment","z":"c764d410.f772f8","name":"{hum 38.00% ; temp 25.00°C ; hic 24.55°C ; CO 0.00}","info":"","x":480,"y":60,"wires":[]},{"id":"bafb4dfc.d1de8","type":"function","z":"c764d410.f772f8","name":"","func":"\nreturn msg;","outputs":4,"noerr":0,"initialize":"","finalize":"","libs":[],"x":340,"y":240,"wires":[[],[],[],[]]},{"id":"70d68060.f16e3","type":"comment","z":"c764d410.f772f8","name":"com11:9600-8N1","info":"","x":160,"y":300,"wires":[]},{"id":"63c9da8c.e7d5b4","type":"comment","z":"c764d410.f772f8","name":"how to do that?","info":"","x":360,"y":300,"wires":[]},{"id":"5d104b94.30b3b4","type":"ui_group","name":"DHT11","tab":"784aac14.5c2404","order":2,"disp":true,"width":"6","collapse":false},{"id":"a5011f00.7ef5f","type":"serial-port","serialport":"COM11","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","waitfor":"","dtr":"none","rts":"none","cts":"none","dsr":"none","newline":"\\n","bin":"false","out":"char","addchar":"","responsetimeout":"10000"},{"id":"784aac14.5c2404","type":"ui_tab","name":"Station","icon":"dashboard","order":1,"disabled":false,"hidden":false}]