SHARE
TWEET

Untitled

khalilkk Mar 3rd, 2018 897 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"id":"5f9ebad9.6979a4","type":"server-state-changed","z":"5af080bd.59def","name":"Motion in Study","server":"10f4c357.f3da8d","entityidfilter":"binary_sensor.motion_sensor_158d000121a8d5","entityidfiltertype":"substring","haltifstate":"","x":180,"y":380,"wires":[["9da0140c.3cce08"]]},{"id":"9da0140c.3cce08","type":"switch","z":"5af080bd.59def","name":"motion on/off?","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":380,"y":380,"wires":[["ed8e6e0c.f4c4d","2923d082.5d4a"],["2923d082.5d4a"]]},{"id":"fd336c7c.e35f6","type":"api-call-service","z":"5af080bd.59def","name":"OFF","server":"10f4c357.f3da8d","service_domain":"light","service":"turn_off","data":"{ \"entity_id\":\"light.yeelight_rgb_34ce008fd378\"}","mergecontext":"","x":970,"y":480,"wires":[[]]},{"id":"ed8e6e0c.f4c4d","type":"api-current-state","z":"5af080bd.59def","name":"light on?","server":"10f4c357.f3da8d","halt_if":"on","entity_id":"light.yeelight_rgb_34ce008fd378","x":600,"y":380,"wires":[["81344630.0f8c38"]]},{"id":"2923d082.5d4a","type":"stoptimer","z":"5af080bd.59def","duration":"3","units":"Minute","payloadtype":"num","payloadval":"0","name":"","x":600,"y":480,"wires":[["a64d7929.bd7498"],[]]},{"id":"a64d7929.bd7498","type":"api-current-state","z":"5af080bd.59def","name":"motion on?","server":"10f4c357.f3da8d","halt_if":"on","entity_id":"binary_sensor.motion_sensor_158d000121a8d5","x":790,"y":480,"wires":[["fd336c7c.e35f6"]]},{"id":"6dd86785.802528","type":"api-call-service","z":"5af080bd.59def","name":"Night","server":"10f4c357.f3da8d","service_domain":"light","service":"turn_on","data":"{\"entity_id\":\"light.yeelight_rgb_34ce008fd378\", \"rgb_color\":[255, 153, 0],\"brightness\": 2 }","mergecontext":"","x":1270,"y":340,"wires":[[]]},{"id":"ed583b9a.6e2e68","type":"api-call-service","z":"5af080bd.59def","name":"ON","server":"10f4c357.f3da8d","service_domain":"light","service":"turn_on","data":"{\"entity_id\":\"light.yeelight_rgb_34ce008fd378\", \"rgb_color\":[ 255, 183, 123],\"brightness\": 204 }","mergecontext":"","x":1270,"y":420,"wires":[[]]},{"id":"701389e0.e520f8","type":"time-range-switch","z":"5af080bd.59def","name":"Night?","lat":"51.454992","lon":"0.000076","startTime":"20:00","endTime":"nightEnd","startOffset":"","endOffset":"","x":1090,"y":380,"wires":[["6dd86785.802528"],["ed583b9a.6e2e68"]]},{"id":"fcbd5513.2a8e28","type":"switch","z":"5af080bd.59def","name":"","property":"payload","propertyType":"msg","rules":[{"t":"lt","v":"12","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":930,"y":380,"wires":[["701389e0.e520f8"]]},{"id":"81344630.0f8c38","type":"api-current-state","z":"5af080bd.59def","name":"Dark?","server":"10f4c357.f3da8d","halt_if":"","entity_id":"sensor.aeotec_zw100_multisensor_6_luminance","x":770,"y":380,"wires":[["fcbd5513.2a8e28"]]},{"id":"10f4c357.f3da8d","type":"server","z":"","name":"Home Assistant","url":"https://yourdomain.duckdns.org:8123","pass":"pass"}]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top