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 powerproduction to powerusage #9

Open
Inversion-NL opened this issue Jul 19, 2019 · 0 comments
Open

Add powerproduction to powerusage #9

Inversion-NL opened this issue Jul 19, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Inversion-NL
Copy link
Collaborator

Inversion-NL commented Jul 19, 2019

Original request here:
fabianblom/Toon-Android#12

When using /happ_pwrusage?action=GetCurrentUsage

{
   "result":"ok",
   "powerUsage": {"value":276, "avgValue":373.76},
   "powerProduction": {"value":0, "avgValue":0.00},
   "gasUsage": {"value":0, "avgValue":0.00}
}

for powerusage (field powerUsage), can you show also powerProduction into the PowerUsage but with minus sign.
If powerProduction > 0 then powerUsage will be 0. Same other way around.

Of course it will be better to change the text "Power usage" to "Power production" when displaying powerProduction.
09UaJmc

@Inversion-NL Inversion-NL added the enhancement New feature or request label Jul 19, 2019
@RoadXY RoadXY added this to the 0.6.1 milestone Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant