When the sun beats my imagination. I did not expect this…
You also have access to the real time values. Check
MQTT broker: tcp://demo.vscp.orgPort: 8883 (websocket 9901) Both TLSUser: vscpPassword: secrettopic for illuminance west: vscp/FF:FF:FF:FF:FF:FF:FF:FE:B8:27:EB:8B:57:15:00:04/1040/25/# topic for illuminance east : vscp/FF:FF:FF:FF:FF:FF:FF:FE:60:E3:27:1D:75:C3:00:05/1040/25/#
A ever growing list of open sensor data you can experiment with is here .
node-red flow is below for the lazy ones
[{"id":"4f7f7ce0c9ee9ca7","type":"mqtt in","z":"fc3745917f55f706","name":"Pi10 Illuminance","topic":"vscp/FF:FF:FF:FF:FF:FF:FF:FE:60:E3:27:1D:75:C3:00:05/1040/25/#","qos":"2","datatype":"json","broker":"5438645a.6577cc","nl":false,"rap":true,"rh":0,"x":200,"y":160,"wires":[["c7e7928594b63a4c"]]},{"id":"44fa65ca07a0ec0a","type":"mqtt in","z":"fc3745917f55f706","name":"Pi6 Illuminance","topic":"vscp/FF:FF:FF:FF:FF:FF:FF:FE:B8:27:EB:8B:57:15:00:04/1040/25/#","qos":"0","datatype":"json","broker":"5438645a.6577cc","nl":false,"rap":true,"rh":0,"x":200,"y":220,"wires":[["0bf41d450eec650c"]]},{"id":"2ae3b04bce2deedf","type":"ui_chart","z":"fc3745917f55f706","name":"","group":"75ad267648a3dd8a","order":29,"width":0,"height":0,"label":"Illuminense","chartType":"line","legend":"true","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"10000","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"x":730,"y":180,"wires":[[]]},{"id":"c7e7928594b63a4c","type":"change","z":"fc3745917f55f706","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.measurement.value","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"West","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":160,"wires":[["2ae3b04bce2deedf","0f2fd75cad6b38b5"]]},{"id":"0bf41d450eec650c","type":"change","z":"fc3745917f55f706","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.measurement.value","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"East","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":220,"wires":[["2ae3b04bce2deedf","4eb74601482304df"]]},{"id":"fdd45da3d7a83e54","type":"comment","z":"fc3745917f55f706","name":"Illuminense","info":"","x":190,"y":120,"wires":[]},{"id":"0f2fd75cad6b38b5","type":"ui_gauge","z":"fc3745917f55f706","name":"East","group":"bc8ce92a11431cd6","order":1,"width":"6","height":"6","gtype":"wave","title":"East","label":"lux","format":"{{msg.payload.toFixed(0)}}","min":0,"max":"10000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":710,"y":140,"wires":[]},{"id":"4eb74601482304df","type":"ui_gauge","z":"fc3745917f55f706","name":"West","group":"bc8ce92a11431cd6","order":1,"width":"6","height":"6","gtype":"wave","title":"West","label":"lux","format":"{{msg.payload.toFixed(0)}}","min":0,"max":"10000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":710,"y":220,"wires":[]},{"id":"18ece88b6a299764","type":"comment","z":"fc3745917f55f706","name":"UV Index","info":"","x":180,"y":300,"wires":[]},{"id":"1f731424a485e2e5","type":"mqtt in","z":"fc3745917f55f706","name":"Pi6 UV Index","topic":"vscp/FF:FF:FF:FF:FF:FF:FF:FE:B8:27:EB:8B:57:15:00:06/90/52/#","qos":"0","datatype":"json","broker":"5438645a.6577cc","nl":false,"rap":true,"rh":0,"x":190,"y":340,"wires":[["fe7de4cd09f6a342"]]},{"id":"fe7de4cd09f6a342","type":"change","z":"fc3745917f55f706","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.vscpData[2]","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"UV Index","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":340,"wires":[["3a7b973e3c42f284","637a890eb491743a"]]},{"id":"3a7b973e3c42f284","type":"ui_gauge","z":"fc3745917f55f706","name":"UV Index","group":"bc8ce92a11431cd6","order":1,"width":"6","height":"6","gtype":"gage","title":"UV Index","label":"lux","format":"{{msg.payload.toFixed(0)}}","min":0,"max":"15","colors":["#00b500","#e6e600","#ca3838"],"seg1":"6","seg2":"11","x":720,"y":320,"wires":[]},{"id":"637a890eb491743a","type":"ui_chart","z":"fc3745917f55f706","name":"","group":"75ad267648a3dd8a","order":29,"width":0,"height":0,"label":"UV Index","chartType":"line","legend":"true","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"15","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"x":720,"y":360,"wires":[[]]},{"id":"5438645a.6577cc","type":"mqtt-broker","name":"Local","broker":"localhost","port":"1883","clientid":"lynx","usetls":false,"compatmode":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""},{"id":"75ad267648a3dd8a","type":"ui_group","name":"Environment","tab":"aa96f16dcd78f56f","order":1,"disp":true,"width":"18","collapse":false},{"id":"bc8ce92a11431cd6","type":"ui_group","name":"Measurements","tab":"aa96f16dcd78f56f","order":2,"disp":true,"width":"6","collapse":false},{"id":"aa96f16dcd78f56f","type":"ui_tab","name":"Environment","icon":"dashboard","disabled":false,"hidden":false}]
Like this: Like Loading...