Guest User

Untitled

a guest
Feb 21st, 2020
142
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"id":"44403bc7.2c6ff4","type":"comment","z":"1984610f.e86c6f","name":"Ванна. Вытяжка по влажности, выключателю света и сливу","info":"","x":250,"y":260,"wires":[]},{"id":"5cf6e83a.9ecb28","type":"switch","z":"1984610f.e86c6f","name":"","property":"payload.CurrentRelativeHumidity","propertyType":"msg","rules":[{"t":"gte","v":"55","vt":"num"},{"t":"lte","v":"45","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":340,"wires":[["9b126022.b245a"],["b4ebf9e5.5fe878"]]},{"id":"267b4b33.fac814","type":"time-range-switch","z":"1984610f.e86c6f","name":"","lat":"","lon":"","startTime":"09:00","endTime":"23:30","startOffset":0,"endOffset":0,"x":270,"y":340,"wires":[["513c1d09.2a2db4","5cf6e83a.9ecb28","8d816e60.3fac6"],["b4ebf9e5.5fe878"]]},{"id":"513c1d09.2a2db4","type":"switch","z":"1984610f.e86c6f","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"off","vt":"str"},{"t":"cont","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":380,"wires":[[],["b4ebf9e5.5fe878"]]},{"id":"e5d298c.7a0cc68","type":"link in","z":"1984610f.e86c6f","name":"Проверить влажность в ванной","links":["6aa6b067.a21f5","d72aad5f.cf5b1","724ba631.6f114"],"x":35,"y":380,"wires":[["a54b6caa.6fdd8"]]},{"id":"ca43cb00.0643a8","type":"server-state-changed","z":"1984610f.e86c6f","name":"","server":"2922b62.081994a","version":1,"entityidfilter":"switch.sonoff_10008b595f_1","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":35,"y":340,"wires":[["267b4b33.fac814"]],"l":false},{"id":"ade2b2f.871ed5","type":"api-call-service","z":"1984610f.e86c6f","name":"","server":"2922b62.081994a","version":1,"service_domain":"switch","service":"turn_on","entityId":"switch.sonoff_1000887d45","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":730,"y":320,"wires":[[]]},{"id":"65bdeb5d.1c4344","type":"api-call-service","z":"1984610f.e86c6f","name":"","server":"2922b62.081994a","version":1,"service_domain":"switch","service":"turn_off","entityId":"switch.sonoff_1000887d45","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":850,"y":360,"wires":[[]]},{"id":"9b126022.b245a","type":"change","z":"1984610f.e86c6f","name":"","rules":[{"t":"delete","p":"payload.CurrentRelativeHumidity","pt":"msg"},{"t":"delete","p":"payload.ContactSensorState","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":595,"y":320,"wires":[["ade2b2f.871ed5"]],"l":false},{"id":"b4ebf9e5.5fe878","type":"change","z":"1984610f.e86c6f","name":"","rules":[{"t":"delete","p":"payload.CurrentRelativeHumidity","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":595,"y":360,"wires":[["4c13c611.382c48"]],"l":false},{"id":"a54b6caa.6fdd8","type":"hb-status","z":"1984610f.e86c6f","name":"TemperatureAndHumiditySensor_HumiditySensor_ede4","Homebridge":"Pavel-HomeBridge","Manufacturer":"Aqara","Service":"Humidity Sensor","device":"Pavel-HomeBridgeB8:27:EB:A3:F3:A7AqaraTemperatureAndHumiditySensor_HumiditySensor_ede400000082","conf":"7728cd66.d29bb4","x":135,"y":380,"wires":[["267b4b33.fac814"]],"l":false},{"id":"7edb1980.975b58","type":"hb-event","z":"1984610f.e86c6f","name":"Унитаз","Homebridge":"Pavel-HomeBridge","Manufacturer":"mqttthing","Service":"Contact Sensor","device":"Pavel-HomeBridgeB8:27:EB:A3:F3:A7mqttthingУнитаз00000080","conf":"7728cd66.d29bb4","x":70,"y":300,"wires":[["267b4b33.fac814"]]},{"id":"8d816e60.3fac6","type":"switch","z":"1984610f.e86c6f","name":"","property":"payload.ContactSensorState","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":470,"y":300,"wires":[["9b126022.b245a"]]},{"id":"4c13c611.382c48","type":"switch","z":"1984610f.e86c6f","name":"","property":"payload.howmanywindowisopen","propertyType":"global","rules":[{"t":"lt","v":"3","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":690,"y":360,"wires":[["65bdeb5d.1c4344"]]},{"id":"2922b62.081994a","type":"server","z":"","name":"My Home Assistant","legacy":false,"hassio":false,"rejectUnauthorizedCerts":false,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"7728cd66.d29bb4","type":"hb-conf","z":"","username":"033-44-157"}]
RAW Paste Data