I've been trying to get the voltage value to show it in a gauge but I can't. I've put the change node but it didn´t work.
This is what it shows: {"voltage":2.8600872829371013,"channel":["A0-GND"],"I2C":["ADDRESS_0x48"],"chip":["ADS1115"]}
Any suggestions?
[{"id":"87c0a84ccb933199","type":"inject","z":"1f864543a4395839","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"voltage\":2.8600872829371013,\"channel\":[\"A0-GND\"],\"I2C\":[\"ADDRESS_0x48\"],\"chip\":[\"ADS1115\"]}","payloadType":"str","x":190,"y":140,"wires":[["42bca3cc3855993b"]]},{"id":"42bca3cc3855993b","type":"json","z":"1f864543a4395839","name":"","property":"payload","action":"","pretty":false,"x":330,"y":140,"wires":[["bc3539cc941d8b6d"]]},{"id":"bc3539cc941d8b6d","type":"change","z":"1f864543a4395839","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.voltage","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":500,"y":140,"wires":[["84a5257e42ce8eb8"]]},{"id":"84a5257e42ce8eb8","type":"ui_gauge","z":"1f864543a4395839","name":"","group":"3a30993b4892ec57","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":670,"y":140,"wires":[]},{"id":"3a30993b4892ec57","type":"ui_group","name":"demo","tab":"d4663bfd1e521a9f","order":1,"disp":true,"width":"6","collapse":false},{"id":"d4663bfd1e521a9f","type":"ui_tab","name":"demo","icon":"dashboard","disabled":false,"hidden":false}]
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.