<p data-start=”90″ data-end=”102″>Hi Leslie,</p><p data-start=”104″ data-end=”185″>Thanks for your reply and for sharing the ZigBee 3.0 compatibility mode option.</p><p data-start=”187″ data-end=”460″>The main reason we are aiming for a <strong data-start=”223″ data-end=”244″>local integration is system stability and, most importantly, real-time <strong data-start=”298″ data-end=”317″>status feedback. With cloud polling, the response times and event synchronization are not as consistent, which is critical for automation systems like Elan.</p><p data-start=”462″ data-end=”807″>I have already tested a similar local integration using a Somfy gateway, and it worked well from a connectivity standpoint — however, I lose important configuration features that only the Legrand Magellan gateway provides, such as enabling the dimmer mode for the K4411C, setting minimum/maximum load thresholds, and other advanced parameters.</p><p data-start=”809″ data-end=”926″>At this point, I’m developing the driver for Elan to integrate with the Legrand Netatmo cloud API. I’ve managed to:</p><ul data-start=”927″ data-end=”1220″><li data-start=”927″ data-end=”1047″><p data-start=”929″ data-end=”1047″>Register the application and complete OAuth2 authentication (client_id, client_secret, access_token, refresh_token).</p><li data-start=”1048″ data-end=”1110″><p data-start=”1050″ data-end=”1110″>Implement token refresh logic to handle hourly expiration.</p><li data-start=”1111″ data-end=”1220″><p data-start=”1113″ data-end=”1220″>Send control commands successfully through the API test environment (“Try Out”) using its provided token.</p><p data-start=”1222″ data-end=”1508″>However, I’m still having difficulty understanding how <strong data-start=”1277″ data-end=”1296″>status feedback works in the API. I’ve tested webhooks as per the documentation, but retrieving the <code data-start=”1381″ data-end=”1390″>plantId and mapping it to devices for state updates remains unclear. Without this, real-time synchronization is incomplete.</p><p data-start=”1510″ data-end=”1679″>Any additional technical guidance on how device state feedback is delivered through the API — or best practices to ensure instant updates — would be extremely helpful.</p><p> </p><p data-start=”1681″ data-end=”1705″>Best regards,<br data-start=”1694″ data-end=”1697″ />Rafael</p>