Hello,
I was wondering what is the implementation expectations for applications that needs to listen in on device statuses. For instance, we have an application that views the live statuses for the switches inside a home, the application must know when a light is switched on or off. I know there is a webhook used for Home + Security, but is this also expected for Home + Control, or is there a separate method that I'm not aware of? I'm pretty sure requesting /homestatus every 5 seconds is probably not the way to go.
Thanks
Device Status Expectactions
Re: Device Status Expectactions
Hello,
Indeed, we have a webhook service for Home + Security API but it's not planned to provide it for Home + Control API
So, it's not possible to have a real-time status change of devices. As you said, the best way to "simulate" it would be to do polling, but every 5 seconds is a bit too short according to our rate limits (https://dev.netatmo.com/guideline#rate-limits)
Have a good day,
Leslie - Community Manager
Indeed, we have a webhook service for Home + Security API but it's not planned to provide it for Home + Control API
So, it's not possible to have a real-time status change of devices. As you said, the best way to "simulate" it would be to do polling, but every 5 seconds is a bit too short according to our rate limits (https://dev.netatmo.com/guideline#rate-limits)
Have a good day,
Leslie - Community Manager
Re: Device Status Expectactions
Understood. Thank you very much for the response.