Skip to content

Instantly share code, notes, and snippets.

@Snipercaine
Created July 7, 2020 15:53
Show Gist options
  • Save Snipercaine/3894653a3c1de911461b9fd2eea497b6 to your computer and use it in GitHub Desktop.
Save Snipercaine/3894653a3c1de911461b9fd2eea497b6 to your computer and use it in GitHub Desktop.
[{"id":"2992fdbc.05aa42","type":"tab","label":"Kids Phones","disabled":false,"info":""},{"id":"1a34c66b.e5132a","type":"inject","z":"2992fdbc.05aa42","name":"Biggles","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"05 00 * * *","once":false,"onceDelay":0.1,"x":100,"y":60,"wires":[["63e2aeb6.15d8f","6e431546.9bb8bc","807145f3.684828"]]},{"id":"63e2aeb6.15d8f","type":"api-current-state","z":"2992fdbc.05aa42","name":"Zach Phone","server":"93e2a4eb.23bc48","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"device_tracker.life360_zach","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":310,"y":100,"wires":[["6d828da6.02c764"]]},{"id":"6d828da6.02c764","type":"switch","z":"2992fdbc.05aa42","name":"charging state","property":"data.attributes.battery_charging","propertyType":"msg","rules":[{"t":"false"},{"t":"true"}],"checkall":"true","repair":false,"outputs":2,"x":560,"y":100,"wires":[["88534a0a.4b45b8","2c5f0fc3.6678d"],[]]},{"id":"88534a0a.4b45b8","type":"api-call-service","z":"2992fdbc.05aa42","name":"Tattle Tail","server":"93e2a4eb.23bc48","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_iphone","entityId":"","data":"{\"message\":\"{{data.attributes.friendly_name}}'s phone isn't charging\",\"title\":\"Phone Alert\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":760,"y":60,"wires":[[]]},{"id":"2c5f0fc3.6678d","type":"api-call-service","z":"2992fdbc.05aa42","name":"Tattle Tail Dad","server":"93e2a4eb.23bc48","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_drzzs","entityId":"","data":"{\"message\":\"{{data.attributes.friendly_name}}'s phone isn't charging\",\"title\":\"Phone Alert\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":780,"y":140,"wires":[[]]},{"id":"23efd6d3.c486fa","type":"inject","z":"2992fdbc.05aa42","name":"Middles","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"05 23 * * *","once":false,"onceDelay":0.1,"x":100,"y":320,"wires":[[]]},{"id":"6e431546.9bb8bc","type":"api-current-state","z":"2992fdbc.05aa42","name":"Zoe Phone","server":"93e2a4eb.23bc48","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"device_tracker.life360_zoe_aden","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":310,"y":160,"wires":[["6d828da6.02c764"]]},{"id":"807145f3.684828","type":"api-current-state","z":"2992fdbc.05aa42","name":"Jackson's Phone","server":"93e2a4eb.23bc48","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"device_tracker.life360_jackson_aden","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":330,"y":40,"wires":[["6d828da6.02c764"]]},{"id":"93e2a4eb.23bc48","type":"server","z":"","name":"Home Assistant Zzs","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment