Alexa Lighting API is not sending HealthCheck requests.
https://developer.amazon.com/public/binaries/content/assets/html/alexa-lighting-api.html According to those documents my lambda function should respond to a 'HealthCheckRequest' that is supposed to check the health of the connected device service. I have logging in that handler and never see it called. After a few hours my devices show offline even though I can continue to control them. This is a homebrew project and I am in 'testing' so I am curious if maybe the Lighting API does not send health check requests until the service is 'Live' I am not sure I ever want to truly publish this, I just want it for my own tinkering. Thanks
Hi Joseph, Welcome to dev forums and thanks for posting! We may send a healthcheck if our service needs to validate the status of a 3rd party driver. The health checks are not necessarily uniformly timed. As for your question about the devices showing as offline: are you setting the isReachable flag in the DiscoveredAppliance object to true? We display appliance online/offline status based on the response of the most recent discovery response for that appliance. To clarify - the lack of health checks are not related to the appliance showing as offline.