Skip to content

Smart breaker and Riemann sum integral sensor not working properly #1192

Answered by make-all
dnkylv asked this question in Q&A
Discussion options

You must be logged in to vote

It sounds like the device does not update the power sensor when the switch is off, so Home Assistant doesn't see it go to zero, and instead estimates the energy use for the off period based on the last power reading. Does the device have a specific config, or is it using one of the generic smartswitch configs? We could force the power to 0 when the switch is off, though it isn't really correct as the wifi on the switch itself usually uses around 1W when the switch is off, and some smartplugs show that (others are calibrated to hide it, which is effectively what this solution does)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dnkylv
Comment options

@make-all
Comment options

@dnkylv
Comment options

@dnkylv
Comment options

Answer selected by make-all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants