daily pastebin goal
3%
SHARE
TWEET

Untitled

khalilkk Mar 2nd, 2018 531 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":220,"y":440,"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":870,"y":440,"wires":[[]]},{"id":"9da0140c.3cce08","type":"switch","z":"5af080bd.59def","name":"on?","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":440,"wires":[["ed8e6e0c.f4c4d","a5aa171a.7e65d8"],["fd336c7c.e35f6"]]},{"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":870,"y":520,"wires":[[]]},{"id":"693547ac.06c348","type":"inject","z":"5af080bd.59def","name":"","topic":"","payload":"on","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":540,"wires":[["9da0140c.3cce08"]]},{"id":"a5aa171a.7e65d8","type":"debug","z":"5af080bd.59def","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":890,"y":320,"wires":[]},{"id":"ed8e6e0c.f4c4d","type":"api-current-state","z":"5af080bd.59def","name":"is on?","server":"10f4c357.f3da8d","halt_if":"on","entity_id":"light.yeelight_rgb_34ce008fd378","x":650,"y":440,"wires":[["b36195ab.f6bb78"]]},{"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