Monitor offline devices

@josh thanks for redacting that. I added the wrong image :woman_facepalming:

This rule works well for monitoring a particular device. The ‘Bearer’ is the ‘YOUR_PAT’ mentioned be @Chris_C and the other blanked out bit is the device ID. Again @Chris_C mentions how to find this.
The main downside is that you need a separate API call for every device, so I have compromised by only checking the main devices (or ones that I have noticed do not come back online after an outage).

2 Likes

What is the 200 status?

200 status means the command was successful.
Other status (eg 400) can indicate things like incorrect or unknown device ID or PAT. I put it in there just to make sure I only check the status if the command was successful. It may not actually be required.

1 Like