Send pushover notification with glances (iPhone - Apple Watch) from Octoprint.
- Basic understanding of Pushover and Octoprint
- Octoprint Webhook Plugin: https://plugins.octoprint.org/plugins/webhooks/
- Pushover installed/enabled on iPhone and Apple Watch
- IFTTT (Pro?) and your webhook Key: https://ifttt.com/maker_webhooks - Click on Documentation
Connect pushover to your account.
- Create a webhook applet (see image in this gist)
- Add filter code (see Filter Code section in gist)
- Add pushover widget event and update Widget to your iPhone from pushover (leave defaults - updated from filter code)
- Add pushover notification event and update device/group (leave defaults - updated from filter code)
Install Octo Plugin and make the following changes:
- Add IFTTT Webhook:
https://maker.ifttt.com/trigger/{event}/json/with/key/{key}
- Replace {event} with your applet slug and {key} with your IFTTT webhook key. - Update the Octo plugin and use template "Full Data Example" (not necessary to have ALL data, useful if additional details are warranted in filter code)
- Under DATA, remove:
"snapshot": "@snapshot"
- also remove previous line's comma.
{
"deviceIdentifier":"@deviceIdentifier",
"apiSecret":"@apiSecret",
"topic":"@topic",
"message":"@message",
"extra":"@extra",
"state": "@state",
"job": "@job",
"progress": "@progress",
"currentZ": "@currentZ",
"offsets": "@offsets",
"meta": "@meta",
"currentTime": "@currentTime"
}
- Update the Octo plugin triggers to your preferences.
- Update widget, device, or group under the two IFTTT events.
- Percentage on Apple Watch only updates on new notifications.
- Modify filter code as needed.
- Glances on apple watchOS has a limit of 50 updates per day