Check for external IP changes!

This commit is contained in:
CCOSTAN
2016-12-11 20:23:24 +00:00
parent 6d46688eb3
commit 031775ec64
4 changed files with 32 additions and 4 deletions

View File

@@ -106,3 +106,16 @@
entity_id: group.outdoor_lights
##############################################################################
- alias: "NOTIFY IF IP CHANGES"
trigger:
- platform: state
entity_id: sensor.ipchange
from: 'False'
to: 'True'
action:
- service: script.ifttt_notify
data_template:
value1: 'Changed IP address:'
value2: "New IP: {{ states('sensor.exteral_ip') }}"
value3: ' - Be sure to Cahnge DNS!'