Netatmo integration very slow

I have the Netatmo integration setup with HA exposed over HTTPS (via proxy). Setting up the integration is fine, all my devices show up in HA.

When I toggle switches (lights) from HA the status instantly gets updated in the Legrand Home + Control (Netatmo) app.

However, actions I take through the Legrand app or by physically pressing a switch take up to 5 minutes to show up in HA. They do show, there is no data loss or anything, however the update is ridiculously slow.

Ideas? It’s as if the Netatmo side syncs with HA on a schedule.

I suffered the same issue, very disappointing!
After wasting a lot of time, I found a great solution. The legrand hub is discovered as a homekit device as long as it is installed in the same network as HA. You just need to authenticate with the code shown in the front stick of the device. Then all Legrand Valena Next devices are discoverent with no cloud interface needed. The response time is immediate in both ways.
Hope it helps

Hello,

Can jou explain to me how je did this? are still using the Netatmo rain sensor? I have one to but it works very slow

Hi,

I was suffering due to the same issue and tried also what is written under the Netatmo integration (i.e. register a Netatmo developer account, set a DNS, let HA receive events over port 443, etc.) but that did not help much.
It stick to my mind what is written above with the HomeKit integration and it took few hours to look after and get it working, but I made it and it seems working fine.

Here’s how to add the Legrand Hub as a HomeKit device:

  1. HA should automatically detect the HomeKit device - in this case the Legrand Hub - as written under:
    https://www.home-assistant.io/integrations/homekit_controller, however this was not happening to me, even though it was never added to any Apple device before. If you encounter the same, the Hub should be reseted. In order not to loose all your settings in the Legrand Home + Control app, the reset should be a kind of soft-reset.
  2. Soft-reseting: it will reset your network (wifi) settings and erase HomeKit pairing (will release the device from any Apple pairing, actually). To perform the reset, you should remove the cover of the Hub’s outlet and on the opposite side of where the tiny LED is, you’ll find the reset hole (marked with a gear sign). Press the reset button inside for like 5 seconds, until the LED blinks green one time. This is the soft reset. If you hold it for like 10 seconds, you’ll hard reset the device and you will have to set up everything again.
  3. After the reset, open the Legrand Home + Control app, which will guide you through the wifi setup process (hold the home switch, add network, password, connect, etc), then when it is done and the Hub first connected to your wifi network, switch to Homeassistant, before proceeding to the next step. In HA the HomeKit device (Legrand Hub) will show up as a configurable device.
  4. Configure the HomeKit device using the XXX-XX-XXX type code that can be found phisically on the Legrand Hub or in its installation manual.
  5. When done, go back to the Legrand Home + Control app and finish the setup (no worries, it is just kind of pressing OK as everything will be in the app that you set up before, your rooms, lights, shutters, etc).

I hope this helps for others as well.

1 Like

Just for anybody else, I originally couldn’t get the Legrand gateway to show up. Turns out you might need to add the Legrand gateway to HomeKit directly, then delete it in order for the gateway to broadcast and therefore have HA pick it up automatically.