Advertisement
Guest User

Untitled

a guest
Aug 18th, 2018
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. [{"id":"bf03ed75.e4dca","type":"mqtt in","z":"ab245802.33ac18","name":"Nextion","topic":"/ESP_Easy/NEXTION/value","qos":"2","broker":"949d411b.77572","x":310,"y":320,"wires":[["c8b52e32.01e2f","3b63aea.6e4eb52"]]},{"id":"3b63aea.6e4eb52","type":"debug","z":"ab245802.33ac18","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":450,"y":460,"wires":[]},{"id":"c8b52e32.01e2f","type":"switch","z":"ab245802.33ac18","name":"Page0","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"1","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":470,"y":320,"wires":[["45d0a573.2b831c","560b3898.32ae98"]]},{"id":"560b3898.32ae98","type":"json","z":"ab245802.33ac18","name":"","property":"payload","action":"obj","pretty":false,"x":570,"y":240,"wires":[["6107ad6c.dbb9c4","9cc25be0.4a1178"]]},{"id":"9cc25be0.4a1178","type":"template","z":"ab245802.33ac18","name":"Slider","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"data\" :\n{\n\"entity_id\" : \"light.yeelight,light.yeelight2,light.yeelight3,light.yeelight4,light.yeelight5,light.yeelight6\",\n\"brightness\" : {{msg.payload}}\n}\n}","output":"json","x":630,"y":320,"wires":[["a361c903.496198","10978b1b.cea015"]]},{"id":"6107ad6c.dbb9c4","type":"debug","z":"ab245802.33ac18","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":810,"y":240,"wires":[]},{"id":"10978b1b.cea015","type":"api-call-service","z":"ab245802.33ac18","name":"Bedroom Lights On","server":"9884bd22.868f8","service_domain":"light","service":"turn_on","data":"{}","mergecontext":"","x":850,"y":320,"wires":[["3842d3f2.35bafc"]]},{"id":"3842d3f2.35bafc","type":"debug","z":"ab245802.33ac18","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":990,"y":380,"wires":[]},{"id":"a361c903.496198","type":"debug","z":"ab245802.33ac18","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":810,"y":480,"wires":[]},{"id":"45d0a573.2b831c","type":"debug","z":"ab245802.33ac18","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":650,"y":580,"wires":[]},{"id":"949d411b.77572","type":"mqtt-broker","z":"","name":"Mosquitto","broker":"192.168.1.119","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"9884bd22.868f8","type":"server","z":"","name":"Home Assistant","url":"http://hassio/homeassistant","pass":"ed3a5a0dda4043d0a022acd84562b9d7"}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement