Closed veeectorm closed 5 years ago
I wanted to ask if there is any way to trigger an additional script when the threshold is reached. I wanted to use pushbullet or pushover to send a push notification on top of the existing SMS/Email notif.
THanks!
Sure, in reading.py
if water_depth > critical_water_level and configs['alert_when'] == 'high': alerts.determine_if_alert(water_depth) *** do other stuff ***
I wanted to ask if there is any way to trigger an additional script when the threshold is reached. I wanted to use pushbullet or pushover to send a push notification on top of the existing SMS/Email notif.
THanks!