Netatmo driver doesn't seem to be working with fresh install weewx 5.0

61 views
Skip to first unread message

uweheid...@googlemail.com

unread,
Jun 5, 2024, 3:00:19 AM6/5/24
to weewx-user

Re-Install from weewx did not solve the Problem. I need help please.

Raspberry PI 4 - 4GB

:~ $ uname -a
Linux 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
 
:~ $ cat /etc/issue
Debian GNU/Linux 12
 
:~ $ sudo dpkg -l weewx
weewx 5.0.2-1 all weather software
 
netatmo: netatmo-client: failed attempt 1 of 5 to get data: HTTP Error 400: netatmo: netatmo-client: waiting 10 seconds before retry netatmo: netatmo-client: url: https://api.netatmo.com/oauth2/token data: b'grant_type=refresh_token&refresh_token=refresh_token_as_num_hidden&client_id=client_id_as_num_hidden&client_secret=client_secret_as_hidden' hdr: {'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8'}
 

cat /etc/weewx/weewx.conf

station_type = netatmo 
[netatmo] 
# mode = sniff 
mode = cloud 
username = ********** 
password = ********** 
client_id = ********** 
client_secret = ********** 
refresh_token = ********* 
# access_token = ********** 
driver = user.netatmo 
# port = 80 
# host = 70:******** 
# device_id = 70:*********

Workaround  https://oe7drt.com/posts/2023/47-update-weewx-netatmo-extension/ not work. I hab egenerate new Tokens.
Reply all
Reply to author
Forward
0 new messages