Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent rain data #18

Open
emontolivo opened this issue Jan 15, 2021 · 10 comments
Open

Inconsistent rain data #18

emontolivo opened this issue Jan 15, 2021 · 10 comments

Comments

@emontolivo
Copy link

In my experience, rainfallen data reported by Netatmo through the API are very inconsistent

  1. rain data for the period 23:50-00:00 are not summed-up to the cumulative rain amount of the day (rain_24) and are simply dropped. A NULL value is reported for that period.
  2. rain data for the period 00:00-00:10 are in most cases ignored as well (but not always)
  3. rain data reported for each observation period (rain) are wrong (sometime a value is missed, sometime it is duplicated). Consequently the sum of this values is not equal to the cumulative rainfall for the day, as it should be.

I understand that WeeWX derives all rain relevant data from the ammount of rain reported for each observation period. As said, this parameter is wrongly reported by Netatmo, consequently rainfall data presented by WeeWx are wrong as well (sometimes too high, some times too low in comprison to the Rain_24 vaue)

Is somebody else having the same issues? Am I doing something wrong?

Thanks
Emilio

@jkrasinger
Copy link

jkrasinger commented Mar 15, 2021

The NETATMO Module in combination with WEEWX is really reporting wrong rain data. This can be to low rain, to much rain or even the correct rain measurement over the day, depending how constantly rain is falling. The reason for this is the really weird API interface from NETATMO if you are fetching the data with a /gestationsdata call (its only reporting half the available data).
I have adapted (not rewritten!) the weewx-netatmo from matthewwall -> forked by bricebou -> forked by jkrasinger to avoid all the problems described by you and it is running by myself since a few hours and reporting the correct data (i.e. the data summaries are now equal to the NETATMO original data).
If you like to try feel free to test with https://github.com/jkrasinger/weewx-netatmo/

Regards
Jonny

@ghost
Copy link

ghost commented Nov 3, 2021

@jkrasinger: Your netatmo driver is giving me this error and weewx is crashing
Nov 3 21:05:10 weewx weewxd: netatmo: netatmo-client: cloud units: {'unit': 0, 'windunit': 0, 'pressureunit': 0} Nov 3 21:05:10 weewx weewxd: netatmo: netatmo-client: exception in netatmo-client: 'time_utc'

@danitus13
Copy link

The NETATMO Module in combination with WEEWX is really reporting wrong rain data. This can be to low rain, to much rain or even the correct rain measurement over the day, depending how constantly rain is falling. The reason for this is the really weird API interface from NETATMO if you are fetching the data with a /gestationsdata call (its only reporting half the available data). I have adapted (not rewritten!) the weewx-netatmo from matthewwall -> forked by bricebou -> forked by jkrasinger to avoid all the problems described by you and it is running by myself since a few hours and reporting the correct data (i.e. the data summaries are now equal to the NETATMO original data). If you like to try feel free to test with https://github.com/jkrasinger/weewx-netatmo/

Regards Jonny

Hi krasinger broken link, Could you send me the new link of your driver?

Thanks
Daniel

@jkrasinger
Copy link

@ghost This error happens when there is no rain module found or your definition for the rain module is wrong.

@jkrasinger
Copy link

https://github.com/jkrasinger/weewx-netatmo/

@danitus13 Here the link: https://github.com/jkrasinger/weewx-netatmo/, hopefully now correct

Regards
Jonny

@Karel4
Copy link

Karel4 commented Dec 29, 2022

OK, now I found that I got wrong version from https://github.com/jkrasinger/weewx-netatmo/ - there is wrong address in README.md instructions.

@Karel4
Copy link

Karel4 commented Jan 3, 2023

And also I found that using this code from here will cause weewx (latest 4.2.0 in ubuntu) to stop generating graphs, data and also any logs in about 24h (not regular). Latest log lines are about normal regular update and no any errors. Also process still exists and does not use abnormal resources. Restarting helps but only until next time soon. Reverting back to original weewx-netatmo module and it is stable again.

@danitus13
Copy link

E ho anche scoperto che l'utilizzo di questo codice da qui farà sì che weewx (l'ultimo 4.2.0 in Ubuntu) smetta di generare grafici, dati e anche qualsiasi registro in circa 24 ore (non regolare). Le ultime righe di registro riguardano il normale aggiornamento regolare e nessun errore. Anche il processo esiste ancora e non utilizza risorse anomale. Il riavvio aiuta, ma solo fino alla prossima volta. Tornando al modulo weewx-netatmo originale, è di nuovo stabile.

I have the same problem, weewx loses netatmo data. The only solution is to restart weewx. But the problem comes back again during the day

@danitus13
Copy link

https://github.com/jkrasinger/weewx-netatmo/

@danitus13 Here the link: https://github.com/jkrasinger/weewx-netatmo/, hopefully now correct

Regards Jonny

Hi jkrasinger,
netatmo has updated the API, so this change needs to be made. Could it be integrated within your code?
This is code with new API:
#21

@jkrasinger
Copy link

@danitus13 : Hi Danitus13,Hi, I'm really sorry, but due to problems with NETATMO support that caused me to lose all historical data, I gave away all my Netatmo equipment and replaced it with another weather station that I am now very happy with. I no longer have any equipment with which I can make the necessary changes and test them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants