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

@@ -41,7 +41,13 @@
brightness: 150
- service: switch.turn_on
entity_id: switch.kitchen_accents
- delay: 00:08:00
- delay: '00:00:30'
- service: switch.turn_on
- entity_id: switch.living_room_outlet
- delay: '00:00:30'
- service: switch.turn_on
entity_id: switch.foyer_outlet
- delay: '00:08:00'
- service: light.turn_off
entity_id:
- light.S1

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!'