This question has developed out of a thread on the webCoRE forum.
Although very little about device health has ever been documented, it used to be the case that the
DeviceWatch-DeviceStatus attribute of the
Health Check capability was updated with the online/offline status of a device, and I believe the same was also true of
healthStatus. It was possible for legacy apps to subscribe to this attribute and so trigger automations based on the changes, and yes I am particularly talking about webCoRE and pistons.
That seems to have all stopped on October 5th. I assume
DeviceWatch-DeviceStatus can still be used to set the connectivity status of untracked or cloud based devices, it certainly seems to still be possible to get the current status using
device.getStatus() in legacy apps (aka
$status in webCoRE), and new integrations can presumably use the Health API. However, if there is still a way for legacy apps to subscribe to changes in the connectivity status, it isn’t leaping out at me.
I can well imagine having overlooked something as none of this stuff has really ever been explained to the punters. So have I?