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

Transform total rain data #683

Open
theMoe opened this issue Sep 10, 2024 · 1 comment
Open

Transform total rain data #683

theMoe opened this issue Sep 10, 2024 · 1 comment

Comments

@theMoe
Copy link

theMoe commented Sep 10, 2024

Hi,

I use a rain gauge from auriol to collect rain data via rtl_433 repo. The sensor sends only total rain data in mm since last hardware reset. I would like to break it down to at least daily mm of rain. In this case I would need some history rain data.

Do you have any idea if this is possible just with mqttthing?

My basic idea would be look for historical data and calculate the difference.

Bye

Moe

@GithHobby
Copy link

one solution is to develop a mqtt client (with python is the easier option) and schedule every midnight .
Take the value and save in a file or DB.
The client must subscribe to the same topic where the gauge publish the rain values.

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

2 participants