daily pastebin goal
2%
SHARE
TWEET

Untitled

khalilkk Mar 3rd, 2018 878 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":"b36195ab.f6bb78","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\"}","mergecontext":"","x":970,"y":380,"wires":[[]]},{"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":700,"y":380,"wires":[["b36195ab.f6bb78"]]},{"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":"10f4c357.f3da8d","type":"server","z":"","name":"Home Assistant","url":"https://yourname.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