weewx can't update data from netatmo no more

579 views
Skip to first unread message

neu...@bnjpro.dk

unread,
Jul 17, 2023, 5:02:07 AM7/17/23
to weewx-user
I have been the happy user of weeWX for a very long time now. And I'm still amazed that someone is able to write such a large and well functioning piece of software. I think when you are not able to program in python it is amazing when someone else can. :-)

Friday last week (monday today) I made an upgrade on my server (Ubuntu 22.04 LTS) to also be able to get updates from Ubuntu pro.

But after doing that, my WeeWX installation doesn't work. Well that is not entirely true, because WeeWx works, but the driver for my netatmo weather-station does not get data.

I use driver version 0.14 which I think is the latest, and the one that gets data the way netatmo API wants it to. I have user, password, client-id and client-secret running as expected.

But looking at the logfile (syslog) I get the hint that there is a HTTP error 400. This hint is a little week for me to figure out what is the real course of fail, to be able to do something about it.

Additionally I get this output from the log: url: https://api.netatmo.com/oauth2/token data: b'grant_type=password&client_id=64b0ea9f090b11190f07b867&client_secret=Haf1qozNFvLMjpjp64cSpgiuPY3IYm4BlPb8zp7EmjlL&username=neumann%40bnjpro.dk&password=SECRET&scope=read_station' hdr: {'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8'}

I have masked out my password.

Is there any obvious reason for the driver to not being able to connect to the API?

Rainer Lang

unread,
Jul 17, 2023, 5:38:47 AM7/17/23
to weewx...@googlegroups.com

Maybe you send us a complete excerpt from your syslog covering the weewx startup and at least one archiving period
That would be more helpful than just a few snippets.

Thanks

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b75a72cd-6c53-49ed-98a8-03e52a7634a2n%40googlegroups.com.

Stefan Gliessmann

unread,
Jul 17, 2023, 9:34:08 AM7/17/23
to weewx-user
a friend is using netatmo, too.

take a look here:

neu...@bnjpro.dk

unread,
Jul 17, 2023, 3:17:17 PM7/17/23
to weewx-user
Thank you Stefan, this looks like a good solution. I will try it out tomorrow. :-)

neu...@bnjpro.dk

unread,
Jul 18, 2023, 4:20:44 AM7/18/23
to weewx-user
It works.

Thank you Stefan, it made my day. :-)

Stefan Gliessmann

unread,
Jul 18, 2023, 4:40:10 AM7/18/23
to weewx...@googlegroups.com
Awesome!

Glad I was of help :)

You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/XpT98FO3i5w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/07c41b85-19ef-4e79-9b69-609a4428ad6an%40googlegroups.com.

neu...@bnjpro.dk

unread,
Aug 15, 2023, 2:38:30 AM8/15/23
to weewx-user
This fix has been running uninterrupted from the day I implemented it. So happy with it. :-)

But I noticed that there has apparently always been a nismatch between the data netatmo has, and the data that is API'ed to Weewx for rain meassures.

There should be someone who has fixed the issue, I think. I can't find it right now though. But are you aware of anybody who has fixed this issue AND this authentication as well?

Wiggytoo

unread,
Sep 18, 2023, 5:06:19 AM9/18/23
to weewx-user
More info here


Not sure about the rain fix but there is reference to it.

Gav

Message has been deleted

neu...@bnjpro.dk

unread,
Sep 9, 2025, 6:21:23 PMSep 9
to weewx-user
Yesterday it stopped working again.

I´m so tired of netatmo
I´m tired of my data not really being my data. I have to get it from their servers, and that they don´t work all the time.
I´m tired of allway restarting and getting a new refresh token from their api page, because it can´t get data after a restart of the server.

I´m so glad of weewx though, and I want to keep having a weather station, but I will not use oceans of money.

But which new stations should be considered. I really liked the netatmo approach on the wind gauge, which is without moving parts but with ultrasound.
Does any other stations use this approach? I know some professionals do, but they are far beond my financial reach. :-)

And which stations have serial or USB output that can be used in weewx.

I know I can go through the list, but I have tried many times, without getting any wiser.

Cheers
Bent Neumann Jensen

Graham Eddy

unread,
Sep 9, 2025, 11:23:51 PMSep 9
to WeeWX User
consider ecowitt. weewx acquires data directly from controller (bypass cloud) but controller is on ether/wifi not usb/serial
⊣GE⊢

neum...@gmail.com

unread,
Sep 10, 2025, 1:58:33 AMSep 10
to weewx...@googlegroups.com
Well I didn't even consider ether/wifi, which is even better.

I just made a peek at it, and it seems very interesting. Even the rain gauge is without moving parts.

Thanks for the tip I will definately have a closer look at it.

Cheers
Bent



--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/XpT98FO3i5w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

neu...@bnjpro.dk

unread,
Sep 10, 2025, 7:35:27 AM (14 days ago) Sep 10
to weewx-user
Is this the one you had in mind?

Cheers
Bent

michael.k...@gmx.at

unread,
Sep 10, 2025, 7:55:58 AM (14 days ago) Sep 10
to weewx-user
You can combine almost endless combinations of sensors and gateways from ecowitt. And even more when using weewx with those devices. A classic tipping rain gauge can even be used in parallel with the piezo rain gauge from WS90/WS85 with a single gateway/console.

neu...@bnjpro.dk

unread,
Sep 10, 2025, 8:23:47 AM (14 days ago) Sep 10
to weewx-user
Message has been deleted

michael.k...@gmx.at

unread,
Sep 10, 2025, 9:23:14 AM (14 days ago) Sep 10
to weewx-user
I'd go for the GW3000/WS90 combo: https://shop.ecowitt.com/de/products/ecowitt-gw3001

Chuck Rhode

unread,
Sep 10, 2025, 10:50:22 AM (14 days ago) Sep 10
to 'michael.k...@gmx.at' via weewx-user
On Wed, 10 Sep 2025 06:23:14 -0700 (PDT)
"'michael.k...@gmx.at' via weewx-user" <weewx...@googlegroups.com>
wrote:

> I'd go for the GW3000/WS90
> combo: https://shop.ecowitt.com/de/products/ecowitt-gw3001

Bear in mind that the WeeWX Ecowitt drivers have been lost, and the
WeeWX Wiki driver list points to a non-existent page:

+ https://github.com/gjr80/weewx-gw1000

There seem to be a handful of clones in various states of repair. (An
outstanding issue is WeeWX database backfill from the GW3000 onboard
SD card slot.) However, at this stage there is no semi-official go-to
source so far as I know. You have to search this discussion group
since June 2025 to pick up on who's doing the work in this area.

It's too bad. My Ecowitt equipment seems to be economical and
reliable, but the WeeWX driver(s) as they stand are not supported by
the manufacturer who supposedly will perpetually support a call-home
scheme. This means you upload your readings to them and they curate
your data for you — similar to the way all your other IoT devices
work: your smart bulbs, your WiFi speakers, your smart thermostats,
your doorbell cameras, etc, etc, etc.

--
.. Be Seeing You,
.. Chuck Rhode, Sheboygan, WI, USA
.. Weather: https://LacusVeris.com/Wx
.. 63° — Wind Calm. Sky clear.

vince

unread,
Sep 10, 2025, 10:54:05 AM (14 days ago) Sep 10
to weewx-user
I would suggest not buying a Ecowitt piezo sensor.  Even ecowitt’s manuals say to use their tipping rain gauge if you want better accuracy. I purchased a ws85 that was hopelessly bad at rain accuracy that I took it down and boxed it back up. I was not able to tune its settings to get even close to accurate readings.

(If anybody in the US wants to buy it for the cost of shipping plus 40 bucks contact me via email)

michael.k...@gmx.at

unread,
Sep 10, 2025, 11:03:09 AM (14 days ago) Sep 10
to weewx-user
I use the WH40 and WS90 rain gauge combined: the ws90 detects light rain long before the first signal of the tipping gauge. That's valuable information for me. Valuable enough for recording and displaying it. 

vince

unread,
Sep 10, 2025, 11:06:38 AM (14 days ago) Sep 10
to weewx-user
I would disagree with Chuck’s reply. Gary’s gw1000 has been rehosted in multiple places and works great.

There are multiple ‘new’ drivers being developed to change its approach somewhat and support backfill from the two ecowitt gateways that support that feature. Those efforts hopefully will converge at some point.

Also disagree with Chuck’s commentary about Ecowitt requiring you to query their servers. Not true, You can run Gary’s driver and the only traffic to internet is occasional watchdog timer heartbeat type checks.

I’ll be happy to point the wiki at one of the places rehosting Gary’s gw1000 driver.

Agree with Michael’s reply that just appeared while I was typing this. Running the WH40 tipping rain sensor along with the piezo wind/light sensor is exactly what Ecowitt recommends,

steepleian

unread,
Sep 10, 2025, 11:16:53 AM (14 days ago) Sep 10
to weewx...@googlegroups.com, weewx-user
I am in total agreement here with Michael. The combination of the traditional tipping gauge and piezo sensor is perfect as far as I am concerned. Piezo is far more accurate at determining the start of rain but the interesting thing I observe time and time again is that they end up in much the same position after a period of time. So my advice is start with the Whitboy, it is much improved in performance these days. You can always add a tipping gauge afterwards.

On 10 Sep 2025, at 16:03, 'michael.k...@gmx.at' via weewx-user <weewx...@googlegroups.com> wrote:

I use the WH40 and WS90 rain gauge combined: the ws90 detects light rain long before the first signal of the tipping gauge. That's valuable information for me. Valuable enough for recording and displaying it. 
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/26ca89d5-af54-4647-9506-1a53bd092a7bn%40googlegroups.com.
Message has been deleted

neu...@bnjpro.dk

unread,
Sep 16, 2025, 7:23:49 AM (8 days ago) Sep 16
to weewx-user
I have searched around a little, and even though I have grown fond of aliexpress, I found it cheaper directly at EciWitts own homepage.

So I have ordered a EcoWitt Wittboy (WS90 and GW3000) as a kit in which they throw in a bird spikes unit as well. I have also ordered a soil moisture unit in the hope I can find out a way to show that on my page as well.
It will arrive in 10 to 25 days, so I will just sit back and wait patiently.

Thanks for the advices, I hope this is better than the netatmo. If it turns out to be good, I will probably add in a ligntning detector and a air quality sensor.

I think that now that it is possible to get realtime (at least more realtime than netatmo) I will find a more interesting skin with realtime gauges and stuff. :-)

In regards to the rain meassure, I haven't had the netatmo to show correct rain fall at any time anyways. But that has to do with the driver for weewx. If it is a little bit of, it is ok, I have been used to that allready. :-)

I might need help when it arrives, but I'll reach out then. :-)
Reply all
Reply to author
Forward
0 new messages