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 sonoff s31 docs for prom units mismatch #1283

Merged

Conversation

subtlepseudonym
Copy link
Contributor

Summary

As mentioned in this issue, on the Sonoff S31, the prometheus metrics energy_power_kilowatts_daily and energy_power_kilowatts_total report values whose units are kilowatt hours rather than kilowatts, as implied by the naming convention.

This change adds an update to the Sonoff S31 device documentation to point this out.

Notes

Ideally, we'd update the metric names, but those metrics are shared across quite a few devices so implementing the name change would be quite a bit of effort for a pedantic fix. In the mean time, folks running into this issue can work around it with metric relabeling.

@Jason2866
Copy link
Contributor

Thx!

@Jason2866 Jason2866 merged commit c458313 into tasmota:master Sep 24, 2023
1 check passed
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