class project

class project

[{"id":"ba03835c.81def","type":"ui_gauge","z":"3f431fd9.abcb","name":"","group":"64765b77.935494","order":1,"width":0,"height":0,"gtype":"gage","title":"Gauge","label":"units","format":"{{value}}","min":0,"max":"60","colors":["#00b500","#ff0000","#ca3838"],"seg1":"","seg2":"","x":526,"y":170,"wires":[]},{"id":"6ee118ec.7ca0d8","type":"ui_gauge","z":"3f431fd9.abcb","name":"","group":"d5e941b1.ea6a8","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":517,"y":254,"wires":[]},{"id":"9afc210d.052bf","type":"mqtt in","z":"3f431fd9.abcb","name":"","topic":"esp8266/response/#","qos":"2","broker":"f819d05.8a58a3","x":128,"y":216,"wires":[["91236559.104918","a09c65e1.a05d88"]]},{"id":"91236559.104918","type":"switch","z":"3f431fd9.abcb","name":"","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"esp8266/response/temperature","vt":"str"},{"t":"eq","v":"esp8266/response/humidity","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":340,"y":225,"wires":[["ba03835c.81def"],["6ee118ec.7ca0d8"]]},{"id":"a09c65e1.a05d88","type":"debug","z":"3f431fd9.abcb","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":421,"y":311,"wires":[]},{"id":"5ea2532.14bc2ac","type":"inject","z":"3f431fd9.abcb","name":"","topic":"esp8266/response/temperature","payload":"50","payloadType":"str","repeat":"1","crontab":"","once":false,"onceDelay":0.1,"x":848,"y":182,"wires":[["be35ba7a.fe6248"]]},{"id":"fc1390d2.6dd4d","type":"inject","z":"3f431fd9.abcb","name":"","topic":"esp8266/response/humidity","payload":"70","payloadType":"str","repeat":"1","crontab":"","once":false,"onceDelay":0.1,"x":841,"y":236,"wires":[["be35ba7a.fe6248"]]},{"id":"be35ba7a.fe6248","type":"mqtt out","z":"3f431fd9.abcb","name":"","topic":"","qos":"","retain":"","broker":"f819d05.8a58a3","x":1212,"y":242,"wires":[]},{"id":"fcad368c.7e71a8","type":"trigger","z":"3f431fd9.abcb","op1":"1","op2":"0","op1type":"val","op2type":"val","duration":"250","extend":"false","units":"ms","reset":"","bytopic":"all","name":"","x":806,"y":351,"wires":[[]]},{"id":"64765b77.935494","type":"ui_group","z":"","name":"Sensor Data","tab":"e849cc14.36cf1","order":2,"disp":true,"width":"6","collapse":false},{"id":"d5e941b1.ea6a8","type":"ui_group","name":"Group 2","tab":"e849cc14.36cf1","order":1,"disp":true,"width":6},{"id":"f819d05.8a58a3","type":"mqtt-broker","z":"","name":"Eclipse","broker":"iot.eclipse.org","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""},{"id":"e849cc14.36cf1","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]

Flow Info

Created 7 years, 10 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • inject (x2)
  • mqtt in (x1)
  • mqtt out (x1)
  • mqtt-broker (x1)
  • switch (x1)
  • trigger (x1)
Other
  • ui_gauge (x2)
  • ui_group (x2)
  • ui_tab (x1)

Tags

Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option