2018-01-01 19:00:45 -05:00
|
|
|
###################################
|
|
|
|
## Uses IFTTT to notify me of bad logins.
|
|
|
|
###################################
|
|
|
|
|
|
|
|
- alias: Login Failure
|
2020-07-19 13:39:29 -04:00
|
|
|
id: 814c48ea-e2e1-4b75-92b0-581081af5ce5
|
2018-01-01 19:00:45 -05:00
|
|
|
trigger:
|
|
|
|
platform: template
|
|
|
|
value_template: "{{ states('persistent_notification.httplogin') != 'unknown' }}"
|
|
|
|
|
|
|
|
action:
|
|
|
|
- service: script.notify_engine
|
2020-09-26 10:52:45 -04:00
|
|
|
data:
|
2018-01-01 19:00:45 -05:00
|
|
|
value1: 'Bad Login: '
|
|
|
|
value2: 'There was a Hack attempt!'
|
|
|
|
value3: 'Go Check the GUI for details.'
|
|
|
|
who: 'carlo'
|
2020-06-07 16:23:56 -04:00
|
|
|
apns_id: 'information'
|
2018-01-01 19:00:45 -05:00
|
|
|
|