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

Add support for Wh40 battery voltage #2488

Merged
merged 4 commits into from
Apr 22, 2023
Merged

Add support for Wh40 battery voltage #2488

merged 4 commits into from
Apr 22, 2023

Conversation

jpochmara
Copy link
Contributor

Newer version of the WH40 rain gauge report battery voltage, this update add support for reading the battery voltage.

Added support for reading battery voltage from WH40 rain gauges.
Also added a battery_lvl.
@zuckschwerdt
Copy link
Collaborator

Very good, thanks! But add the new output lines like this (only one data_make):

"battery_V", "Battery Voltage", DATA_COND, battery_v != 0, DATA_FORMAT, "%f V", DATA_DOUBLE, battery_v * 0.1f,
"battery_ok","Battery",         DATA_COND, battery_v != 0, DATA_DOUBLE, battery_lvl * 0.01f,

@jpochmara
Copy link
Contributor Author

Updated data_make() statement.

@zuckschwerdt zuckschwerdt merged commit c86b41a into merbanan:master Apr 22, 2023
andrewjw pushed a commit to andrewjw/rtl_433 that referenced this pull request Sep 29, 2023
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

Successfully merging this pull request may close these issues.

2 participants