Skip to content

Instantly share code, notes, and snippets.

@dayne
Created June 6, 2019 17:29
Show Gist options
  • Save dayne/295226a46025de858cdb688dac7cf951 to your computer and use it in GitHub Desktop.
Save dayne/295226a46025de858cdb688dac7cf951 to your computer and use it in GitHub Desktop.
[{"id":"f60f0a99.5906c8","type":"Bme280","z":"fba67b76.39a018","name":"","bus":"1","address":"0x76","topic":"bme280","extra":false,"x":400,"y":60,"wires":[["377e604a.4c94e","b74f0f92.d5eb9","b834c5cf.3c4288"]]},{"id":"b9c6f89.10e1908","type":"debug","z":"fba67b76.39a018","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":710,"y":80,"wires":[]},{"id":"384a3755.8e8a88","type":"inject","z":"fba67b76.39a018","name":"trigger every 2 seconds","topic":"","payload":"","payloadType":"date","repeat":".1","crontab":"","once":false,"onceDelay":"2","x":170,"y":120,"wires":[["f60f0a99.5906c8"]]},{"id":"377e604a.4c94e","type":"change","z":"fba67b76.39a018","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.temperature_C","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":160,"wires":[["b9c6f89.10e1908","74c6eeea.4f6cd"]]},{"id":"74c6eeea.4f6cd","type":"ui_chart","z":"fba67b76.39a018","name":"","group":"400dc1b.dc7e04","order":0,"width":0,"height":0,"label":"temp c","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":950,"y":160,"wires":[[],[]]},{"id":"b74f0f92.d5eb9","type":"change","z":"fba67b76.39a018","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.humidity","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":720,"y":240,"wires":[["d2a5a78.57b2658"]]},{"id":"d2a5a78.57b2658","type":"ui_chart","z":"fba67b76.39a018","name":"","group":"400dc1b.dc7e04","order":0,"width":0,"height":0,"label":"humidity","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":980,"y":240,"wires":[[],[]]},{"id":"b834c5cf.3c4288","type":"change","z":"fba67b76.39a018","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.pressure_hPa","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":720,"y":300,"wires":[["fe5b6dbd.1bdf6"]]},{"id":"fe5b6dbd.1bdf6","type":"ui_chart","z":"fba67b76.39a018","name":"","group":"400dc1b.dc7e04","order":0,"width":0,"height":0,"label":"pressure","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":980,"y":300,"wires":[[],[]]},{"id":"400dc1b.dc7e04","type":"ui_group","z":"","name":"Default","tab":"13d0c91b.fb8c77","disp":true,"width":"6","collapse":false},{"id":"13d0c91b.fb8c77","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment