-
Notifications
You must be signed in to change notification settings - Fork 41
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
Power does not show negative values. #87
Comments
How are you calculating "Power"? Are you using "getBusMicroWatts()"? |
I output to Home Assistant with a script via EspHome. i2c: sensor:
It may be possible to correct the formula so that Power has a negative value. |
I have never used Home Assist or EspHome so I'm not sure what that script does. How does it calculate power? |
I've updated the "getBusMicroWatts()" function to return negative Watts, but I don't know if that is the function you are using. |
Why INA226 with negative current readings, the power shows positive values. Should be negative too.
Please tell me how can I fix this.
The text was updated successfully, but these errors were encountered: