Steve_M
TVWBB Guru
Pushbullet is a pretty neat (and free!) service that works across multiple platforms (iOS, Android, Windows, Mac).
You can also have the HeaterMeter send an alert to Pushbullet and it will arrive on all of your devices that are connected to your Pushbullet account.
Update:
You can add the following to the "All Alarm Script" section in the HeaterMeter config.
Replace the contents of PB_KEY with the Access Token found in the Account Settings on the Pushbullet website.
If the above text is hard to copy/paste from, you can click here.
Feel free to play around with the title and body lines to customize the message to your liking.
All of the alarm script variables are listed on the Alarm Script Recipes wiki page.
You can also have the HeaterMeter send an alert to Pushbullet and it will arrive on all of your devices that are connected to your Pushbullet account.
Update:
This is now standard in the Linkmeter Alarms configuration with the latest snapshot. HTTPS pushes coming once I validate that the ca-certs package isn't causing any other problems.
You can add the following to the "All Alarm Script" section in the HeaterMeter config.
Code:
#!/bin/sh
TYPE="Content-Type: application/json"
PB_KEY="Pushbullet_Access_Token"
PB_HOST="https://api.pushbullet.com/v2/pushes"
PB_MSG=" { \
\"type\": \"note\", \
\"title\": \"HM Alert: $pn: $pcurr\", \
\"body\": \"$pn Alert: Alarm $al_type outside threshold $al_thresh, currently $pcurr\" \
}"
curl -k -o /dev/null -s -H "$TYPE" -u "$PB_KEY": -d "$PB_MSG" $PB_HOST
Replace the contents of PB_KEY with the Access Token found in the Account Settings on the Pushbullet website.
If the above text is hard to copy/paste from, you can click here.
Feel free to play around with the title and body lines to customize the message to your liking.
All of the alarm script variables are listed on the Alarm Script Recipes wiki page.
Last edited: