[RELEASE] Netatmo Weather Station

[RELEASE] Netatmo Weather Station

Netatmo Weather Station brings Netatmo weather stations into Hubitat: the base station, outdoor and additional indoor modules, and the rain and wind gauges, each as its own device. It covers the weather station line only, not other Netatmo products.

The parent app handles everything that talks to Netatmo: authorization, discovery, polling and unit conversion. The child drivers only receive tidied-up values and publish them as Hubitat events, so when something looks wrong there's one place to look.


Supported devices

  • Base Station
  • Outdoor Module
  • Additional Indoor Module
  • Rain Gauge
  • Wind Gauge

Features

  • Netatmo authorization with no callback URL or Redirect URI to configure
  • Guided setup: it shows only what you can use yet, finds your devices automatically once you've authorized, and tells you when a step isn't finished
  • Choose which stations and modules become Hubitat devices
  • Scheduled polling, plus manual refresh
  • Optional webhooks from Netatmo (beta), with polling as the automatic fallback
  • Backs off and resumes by itself if Netatmo's API limit is reached
  • Keeps polling through brief Netatmo or network outages: a failed token renewal is retried on the next poll, and you're only asked to reauthorize if Netatmo actually refuses
  • healthStatus (online / offline) on every device, from whether Netatmo can reach it, for alerts when a module's battery dies or it drops out of range
  • Unit preferences for temperature, pressure, rain, wind speed (km/h, mph, m/s, knots) and wind direction (angle, text, or both)
  • Daily minimum and maximum temperatures, where Netatmo provides them
  • Built-in diagnostics for missing or stale values

Installation

Install with Hubitat Package Manager by searching for Netatmo Weather Station.

You can also install manually from the source files on GitHub: the drivers you need first, then the app.

Setup has two stages. Create an application at dev.netatmo.com to get a Client ID and Client Secret, then paste them into the integration under Integrations on your hub and click Authorize Netatmo. The README walks through both, including where to find things in Netatmo's developer portal:


Testing

I run the base station and outdoor module on my own hub. Additional indoor modules, the rain gauge and the wind gauge have been reported working by a user in this thread with the full set. Further reports from rain and wind gauge owners are always welcome, since those values depend on what Netatmo returns for active modules.


Notes

  • If you're moving from another Netatmo integration, this isn't a drop-in replacement: dashboards, rules and automations will need pointing at the new devices. Don't run two integrations against the same station at once, or you'll get duplicate devices.
  • Polling updates the devices you've created; Create/update selected supported devices creates them.
  • Devices aren't deleted automatically if you deselect them.
  • It depends on Netatmo's cloud API being available.
  • Netatmo plans to lower its API rate limits for polling-based integrations on March 1, 2027. Poll intervals of 10 minutes or longer are a sensible choice, since Netatmo only updates this data about every 10 minutes anyway.
  • An independent integration, not affiliated with or endorsed by Netatmo.

Changes and support

What's changed in each version is in the changelog on GitHub, and I post an update in this thread with each release.

Questions, feedback and bug reports are welcome here or as GitHub issues.

I’ve gone thru all the hoops to install the capability to use my Netatmo weather station as outlined

above, but it does not appear anywhere, or even as a device. Is this normal? See screenshot.

EDIT: Please disregard my initial reply here and see my later reply for the actual details.

Short version: Nothing changed on Netatmo’s side. Based on what you described, I suspect the missing step was opening Netatmo Weather Station Connect under Integrations after installation so it could connect to your Netatmo account, run discovery, and create the selected child devices.

The separate update issue I noticed in my own setup appears to have been Hubitat scheduling-related, not a Netatmo API change. I’ve since released updates that make the integration more resilient and clearer about polling/setup status.


ORIGINAL: Netatmo must have changed something. I just checked and it was working perfectly for me until it stopped updating last month. (I clearly don’t pay much attention to it.) I’ll have to dig into it over the weekend. Sorry about the hassle! Hang tight.

Please don’t blame yourself just yet. Should I see Netatmo in ‘Devices"‘ ? I’m new at Hubitat. I just dumped Homeseer to join the Hubitat following. It’s more than likely me!

@brossow Just wondering, what does yours do that the one I actively maintain doesn’t?

I’d have been happy for you to improve the existing integration and submit a Github pull request - it seems a bit silly to have multiple integrations for the same solution. Most of the issues ppl have with the current integration are caused by Netatmo maintenance or incidents taking down their servers.

Hmmm, you were right, there were some issues I hadn’t previously been able to fix - luckily Opus 4.8 is a better programer than me and Im just testing some major improvements atm.

EDIT: v1.7.0 has been released.

v1.7.0 - Major overhaul of OAuth token handling and security improvements, added user-selectable polling interval, a default 50 dB sound threshold, opened the Connect button in a new tab.

As I mentioned in my original post, this was partly a learning project and partly an attempt to solve an ongoing problem I’d experienced in my own setup. Once I had it working reliably, I decided to share it in case it was useful to anyone else.

I intentionally built it cleanly from the ground up with a different internal structure: parent app for OAuth/API/discovery/polling/normalization, and child drivers that only consume normalized data and publish Hubitat events. That approach made more sense to me than trying to patch inherited code, especially since I was using it as a learning exercise.

I’m not trying to turn this into a competition or suggest there shouldn’t be other options. If your integration works well for people, that’s great. This is just another option for anyone who prefers this implementation or wants to try it.

@cbkoerner ~ Quick update: I dug into this more, and I don’t think Netatmo changed anything after all.

In my own setup, the Netatmo API path still worked when I manually refreshed a child device, but scheduled polling had apparently stopped running. That points to Hubitat’s scheduled job not firing rather than a Netatmo API change. Sorry for my earlier rushed reply. I wanted to acknowledge your issue quickly, but I hadn’t read it carefully enough yet.

This does not appear to be the source of your issue, but I’ve since published updates with a few polling/setup improvements:

  • Added scheduled-poll stale detection in the parent app
  • Added a Reschedule polling button
  • Added stronger error handling around scheduled polling so unexpected failures show up in the app status/logs
  • Clarified the setup instructions in the README

For your setup specifically: installing the package does not create Netatmo devices by itself.

After installing, open Netatmo Weather Station Connect under Integrations and go through these steps:

  1. Enter the Netatmo client ID and client secret that you generated in the "Netatmo Developer App Setup" section of the README, then click Done.
  2. Reopen the integration and authorize Netatmo.
  3. Run Test getstationsdata.
  4. Run Refresh station discovery.
  5. Select the modules you want.
  6. Run Create/update selected supported devices.
  7. Choose a poll interval and click Done.

After that, your Netatmo equipment should appear under Devices.

If you’ve gone through those steps and still don’t see child devices, let me know what you’re seeing in the integration page and logs, and we can narrow it down.

Quick update: Netatmo Weather Station Connect v0.3.0 is now available.

This update exposes more of the data Netatmo already returns through the Weather Station API. It also includes the recent polling reliability and setup-documentation improvements from v0.2.1, which I had not separately announced here.

Notable changes:

  • Added base station absolutePressure from Netatmo AbsolutePressure
  • Added Hubitat's standard soundPressureLevel event for the base station's Netatmo Noise value
  • Kept the existing custom noise event for anyone already using it
  • Added lastMessage support from Netatmo last_message
  • Added firmware, Netatmo data types, and battery voltage where Netatmo provides them
  • Added non-sensitive station place metadata for the base station: city, altitude, and timezone
  • Added optional health index/status fields where Netatmo provides health_idx
  • Expanded Inspect available fields diagnostics to show selected raw metadata and normalized metadata
  • Clarified base station timestamp behavior: if Netatmo does not provide base station last_seen or last_message, those show as Not provided instead of leaving stale old values behind
  • Added scheduled-poll stale detection in the parent app UI
  • Added Reschedule polling to refresh Hubitat's scheduled poll job
  • Improved scheduled-poll error handling so unexpected failures update app status instead of failing silently
  • Clarified setup documentation, including that package installation alone does not create child devices

The base station noise value is exposed as numeric sound pressure level only. It does not create a threshold-based detected/not-detected sound event.

Update through Hubitat Package Manager, or install manually from the source files:

After updating, run Run poll now or refresh a child device if you want the new attributes populated immediately.

Honestly, that’s not significantly different from the existing Integration that Cybermage wrote:

OG integration is a parent app + child drivers setup:

  • The parent app does all the heavy lifting — it handles the Netatmo login (OAuth), talks to the Netatmo cloud API, discovers your station and modules, and polls for new data on a schedule (now selectable: 5/10/15 min). It converts everything into your chosen units (°C/°F, mm/in, mbar/inHg, wind units, 12/24h time), builds the dashboard Summary/Overview tiles, and then pushes those values down to each device.

  • The child drivers are intentionally "dumb." They don't call the API themselves — they just hold the capabilities and attributes so the values show up in dashboards and rules. Hitting Refresh on any device simply tells the parent to re-poll everything.

That's why all the settings (units, time format, polling interval, sound threshold) live in the Connect app rather than on each device — the parent is the single source of truth, and the drivers just display what it sends them.

Data flow in one line: Netatmo cloud → parent app polls & normalizes → pushes events to child devices → dashboards/rules.

I’m going to leave this here.

The parent/child structure is common for this kind of work, and I didn’t say otherwise. My point was only that this is a clean implementation with different choices around setup flow, diagnostics, normalized data, polling/status visibility, exposed attributes, packaging, and how I want to maintain the code.

I’m not interested in turning this thread into a comparison or debate about which Netatmo integration people should use. I built this originally as a learning opportunity for myself after spending months frustrated with recurring issues in my own setup. It turned out well enough that I decided to share it for anyone else who may find it useful. If people prefer another integration, that’s completely fine. It’s not Highlander; there can be more than one.

Please keep further replies in this thread focused on support, feedback, and bug reports for Netatmo Weather Station Connect.

You really need to find a significantly different name, this will cause confusion with “Netatmo (Connect) - Weather Station”. Eg use the word “Integration” instead of “Connect”.

EDIT: Thank you @brossow and if you could please do the same in HPM it would be appreciated. That way folk will know it isn’t a fork of the integration I’ve been supporting for the last 4 years (and by inference don’t think the one I support has been abandoned).

This is a nice app. Works great with my devices so far! I have the base, 2 additional indoor modules, the outdoor module, rain gauge and anemometer. Let me know if you want me to test something!

That's great to hear! Let me know if you run across any issues, find anything confusing, or otherwise have suggestions. I think it's pretty stable and feature-rich as it is, but there's always room for improvement. Enjoy! :blush:

I apologize for being so dense, but this procedure seems incomprehensible to me. Could you please provide more details to this step? BTW - "Authorization Failed" is another issue I'm faced with. TIA!!

First things first: Did you follow the steps under Netatmo Developer App Setup in the README to generate the client ID and client secret? If not, it's critical to do that before continuing.

Once you've got those, come back here or message me privately and we can go though next steps.

Thank you for your patience but NAVIGATE TO THE PLACE IN THE NETATMO APP that the client ID and secret is entered? I can't possibly be the only person looking for this.

I’m confused why there’s two apps and which one I should install, is one better than the other?

@cbkoerner — thanks for sticking with this, and sorry for the runaround. You were right that the instructions weren't clear. I walked through a fresh install myself based on your feedback and found several potential points of confusion, so I've just released v0.4.0, which fixes both the documentation and the integration itself.

Where the Client ID and Secret go

They're entered in Hubitat, not anywhere on Netatmo's site. On your hub:

  1. Click Integrations in the left-hand menu. This is a separate menu item from Apps — that's likely part of the confusion, and the old instructions didn't say so.
  2. Click Netatmo Weather Station Connect.
  3. The first section is Netatmo API Credentials, with Client ID and Client Secret fields. Both read "Click to set" until you fill them in.

You generate those two values at dev.netatmo.com, then paste them here. The Netatmo mobile app plays no part in any of this.

One thing that trips people up: after pasting the secret, click somewhere else on the page or press Enter. Hubitat doesn't register the value until the field loses focus, so the Authorize Netatmo link won't appear until you do.

About "Authorization Failed"

I hit that myself while testing, and the message gave you nothing useful to act on. That's on me. The most likely cause: if your Netatmo application has anything in the Redirect URI field, clear it and save.

It turns out this integration never needed a Redirect URI at all, and a leftover value there causes exactly that failure — it points at whichever hub authorized first, so a reused application fails on the second one. In v0.4.0 I removed that step from setup entirely, and a failed authorization now tells you what went wrong and how to fix it instead of printing a raw error code.

What else changed because of your report

  • The setup page now hides everything you can't use yet, so it isn't a wall of controls on first run.
  • Your Netatmo devices are found automatically once you authorize — no separate discovery step.
  • You can't click "create devices" in a state where it silently does nothing.
  • It warns you if you're about to leave without clicking Done, which otherwise means the integration was never actually added.
  • The README now walks through the Netatmo portal screen by screen, with screenshots of both the Netatmo application and the Hubitat settings page.

The rewritten setup guide is here:

Please update through HPM and give it another go. If you're still stuck, post what the page says at the point it stops working and I'll get you sorted.

@tims88 — Fair question. There are two because I hit repeated authentication problems while using a different integration a while back and wanted to understand Netatmo's OAuth properly, so I rebuilt from scratch rather than keep debugging someone else's code. It started as a learning project and turned into something I use every day.

They're independent implementations of the same job, and I wouldn't frame either as better. I believe the other one has had work done on authentication since I ran into trouble with it, so that may well be a non-issue now — I haven't tested it recently.

Mine covers Netatmo Weather Station hardware only: base station, outdoor and additional indoor modules, rain gauge, and wind gauge. Setup means creating your own application at dev.netatmo.com and pasting a Client ID and Secret into the integration. The parent app does all the talking to Netatmo and the child drivers just publish the values.

If you already have the other one installed and working, I'd stay put. Switching means redoing setup and repointing any dashboards and rules at new devices, which isn't worth it just to change badges.

If you're starting fresh, either is a reasonable choice — pick one and go. Don't run both against the same station at once or you'll get duplicate child devices.

Happy to help if you get stuck on setup either way. Full walkthrough for mine: