daily pastebin goal
38%
SHARE
TWEET

DIYfuturism.com - Convert Binary Sensor into Device Tracker

diyfuturism Nov 27th, 2017 (edited) 394 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"id":"763070f9.0c571","type":"switch","z":"4056fc4f.0baa64","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","outputs":2,"x":1316.9999771118164,"y":301.00000381469727,"wires":[["57b903a4.bd2f6c"],["a080246.03d5ed8"]]},{"id":"57b903a4.bd2f6c","type":"api-call-service","z":"4056fc4f.0baa64","name":"Set Presence Home","server":"8ac3cd7f.58d3e","service_domain":"device_tracker","service":"see","data":"{\"dev_id\":\"brad_bayesian\",\"location_name\":\"home\"}","x":1510.3333740234375,"y":272.6667175292969,"wires":[]},{"id":"a080246.03d5ed8","type":"api-call-service","z":"4056fc4f.0baa64","name":"Set Presence Not Home","server":"8ac3cd7f.58d3e","service_domain":"device_tracker","service":"see","data":"{\"dev_id\":\"brad_bayesian\",\"location_name\":\"not_home\"}","x":1520.3333282470703,"y":335.99999380111694,"wires":[]},{"id":"afb02bc5.351e68","type":"comment","z":"4056fc4f.0baa64","name":"Convert Bayesian Sensor into Device Tracker","info":"","x":1015.0000381469727,"y":252.00008296966553,"wires":[]},{"id":"a86ac3f0.00c67","type":"inject","z":"4056fc4f.0baa64","name":"","topic":"","payload":"","payloadType":"date","repeat":"10","crontab":"","once":false,"x":942.3333129882812,"y":300.6665403842926,"wires":[["d43007ca.720b78"]]},{"id":"d43007ca.720b78","type":"api-current-state","z":"4056fc4f.0baa64","name":"Bayesian Presence","server":"8ac3cd7f.58d3e","halt_if":"","entity_id":"binary_sensor.bayesian_presence","x":1142.3333892822266,"y":300.66639733314514,"wires":[["763070f9.0c571"]]},{"id":"8ac3cd7f.58d3e","type":"server","z":"","name":"Home Assistant","url":"http://HASSIP:8123","pass":"XXX"}]
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