daily pastebin goal
75%
SHARE
TWEET

DIYfuturism.com - Custom Geofence Device Tracker

diyfuturism Nov 27th, 2017 288 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"id":"274f638d.ec8f8c","type":"api-call-service","z":"4056fc4f.0baa64","name":"Node Red Presence not_home","server":"8ac3cd7f.58d3e","service_domain":"device_tracker","service":"see","data":"{\"dev_id\":\"you_nodered\",\"location_name\":\"not_home\"}","x":1467.8095474243164,"y":403.9643292427063,"wires":[]},{"id":"b72e2804.d59b08","type":"api-call-service","z":"4056fc4f.0baa64","name":"Node Red Presence home","server":"8ac3cd7f.58d3e","service_domain":"device_tracker","service":"see","data":"{\"dev_id\":\"you_nodered\",\"location_name\":\"home\"}","x":1457.8094329833984,"y":333.2976927757263,"wires":[]},{"id":"be995292.1ddc4","type":"comment","z":"4056fc4f.0baa64","name":"Create Device Tracker","info":"","x":1460.8095932006836,"y":293.9643611907959,"wires":[]},{"id":"e63f1260.978e2","type":"comment","z":"4056fc4f.0baa64","name":"Home or Not?","info":"","x":1031.3452911376953,"y":372.33337688446045,"wires":[]},{"id":"d4e1c95c.1f67e8","type":"function","z":"4056fc4f.0baa64","name":"GPS","func":"newmsg = {};\nnewmsg.payload = { data: {'gps': [msg.payload.lat,msg.payload.lon] } };\nreturn newmsg;","outputs":1,"noerr":0,"x":1258.6432456970215,"y":334.2023983001709,"wires":[["b72e2804.d59b08"]]},{"id":"2d1f97bf.d24a98","type":"function","z":"4056fc4f.0baa64","name":"GPS","func":"newmsg = {};\nnewmsg.payload = { data: {'gps': [msg.payload.lat,msg.payload.lon] } };\nreturn newmsg;","outputs":1,"noerr":0,"x":1257.8097114562988,"y":403.8691101074219,"wires":[["274f638d.ec8f8c"]]},{"id":"739a62d6.c7e47c","type":"geofence","z":"4056fc4f.0baa64","name":"Inside Home Zone","mode":"circle","inside":"true","rad":0,"points":[],"centre":{"latitude":0,"longitude":0},"x":1025.625015258789,"y":322.5000047683716,"wires":[["d4e1c95c.1f67e8"]]},{"id":"f52b241a.4d2f78","type":"geofence","z":"4056fc4f.0baa64","name":"Outside Home Zone","mode":"circle","inside":"false","rad":0,"points":[],"centre":{"latitude":0,"longitude":0},"x":1034.9999961853027,"y":418.7499952316284,"wires":[["2d1f97bf.d24a98"]]},{"id":"8ac3cd7f.58d3e","type":"server","z":"","name":"Home Assistant","url":"http://HASSIP:8123","pass":"XXXXX"}]
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