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 #12

Closed
glsf91 opened this issue Apr 1, 2019 · 2 comments
Closed

Add powerproduction to powerusage #12

glsf91 opened this issue Apr 1, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@glsf91
Copy link

glsf91 commented Apr 1, 2019

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.

@Inversion-NL
Copy link
Contributor

Looks possible

@Inversion-NL Inversion-NL added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Apr 2, 2019
@Inversion-NL
Copy link
Contributor

Migrated to new issues repo here:
Inversion-NL/Toon-Android#9

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