Device Status Expectactions

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
OBT-Dev
Posts: 2
Joined: 22 Dec 2021, 05:05

Device Status Expectactions

Post by OBT-Dev »

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
Leslie
Posts: 113
Joined: 12 Feb 2020, 11:07

Re: Device Status Expectactions

Post by Leslie »

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
OBT-Dev
Posts: 2
Joined: 22 Dec 2021, 05:05

Re: Device Status Expectactions

Post by OBT-Dev »

Understood. Thank you very much for the response.
Post Reply

Return to “Netatmo API”