Guest User

Untitled

a guest
Feb 21st, 2020
177
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"id":"2578bf2a.82608","type":"comment","z":"1984610f.e86c6f","name":"Входная дверь открыта более минуты","info":"","x":180,"y":2900,"wires":[]},{"id":"7af251fb.aa122","type":"link in","z":"1984610f.e86c6f","name":"","links":["d475deb5.df2c8"],"x":35,"y":2980,"wires":[["2bb7f126.63d496"]]},{"id":"a6d49812.df65a","type":"change","z":"1984610f.e86c6f","name":"","rules":[{"t":"set","p":"payload.indoorisopen","pt":"global","to":"payload.ContactSensorState","tot":"msg"},{"t":"set","p":"payload.indoorisopenisopennotify","pt":"global","to":"0","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":395,"y":3000,"wires":[[]],"l":false},{"id":"2bb7f126.63d496","type":"hb-status","z":"1984610f.e86c6f","name":"ContactSensor_ContactSensor_a1a2","Homebridge":"Pavel-HomeBridge","Manufacturer":"Aqara","Service":"Contact Sensor","device":"Pavel-HomeBridgeB8:27:EB:A3:F3:A7AqaraContactSensor_ContactSensor_a1a200000080","conf":"7728cd66.d29bb4","x":95,"y":2980,"wires":[["80ac1be4.8035"]],"l":false},{"id":"80ac1be4.8035","type":"switch","z":"1984610f.e86c6f","name":"","property":"payload.ContactSensorState","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"eq","v":"0","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":190,"y":2980,"wires":[["bf6324d2.93bd68"],["a6d49812.df65a"]]},{"id":"bf6324d2.93bd68","type":"switch","z":"1984610f.e86c6f","name":"","property":"payload.ContactSensorState","propertyType":"msg","rules":[{"t":"eq","v":"payload.indoorisopen","vt":"global"},{"t":"neq","v":"payload.indoorisopen","vt":"global"}],"checkall":"true","repair":false,"outputs":2,"x":310,"y":2960,"wires":[["906abf70.f227e"],["a6d49812.df65a"]]},{"id":"ca9d1281.1a7068","type":"change","z":"1984610f.e86c6f","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Входная дверь открыта более одной минуты","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":2980,"wires":[["e56d3b2a.cf77f8"]]},{"id":"e56d3b2a.cf77f8","type":"link out","z":"1984610f.e86c6f","name":"","links":["c87016c5.cff468"],"x":735,"y":2980,"wires":[]},{"id":"d8e4be3a.295fd8","type":"change","z":"1984610f.e86c6f","name":"","rules":[{"t":"set","p":"payload.chatId","pt":"msg","to":"1441827","tot":"str"},{"t":"set","p":"payload.type","pt":"msg","to":"message","tot":"str"},{"t":"set","p":"payload.content","pt":"msg","to":"'Прихожая. Входная дверь открыта более минуты '&'\\n'&$now('[Y0000]-[M00]-[D00] [H01]:[m01]:[s01]', '+0300')","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":2940,"wires":[["86ad9063.17083"]]},{"id":"86ad9063.17083","type":"link out","z":"1984610f.e86c6f","name":"","links":["67e06dc0.832244"],"x":735,"y":2940,"wires":[]},{"id":"906abf70.f227e","type":"switch","z":"1984610f.e86c6f","name":"","property":"payload.indoorisopenisopennotify","propertyType":"global","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"eq","v":"0","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":2940,"wires":[[],["f6dbc24f.412c9","ca9d1281.1a7068","d8e4be3a.295fd8"]]},{"id":"f6dbc24f.412c9","type":"change","z":"1984610f.e86c6f","name":"","rules":[{"t":"set","p":"payload.indoorisopenisopennotify","pt":"global","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":690,"y":3020,"wires":[[]]},{"id":"7728cd66.d29bb4","type":"hb-conf","z":"","username":"033-44-157"}]
RAW Paste Data