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

Display power production in the app #56

Open
Mattie112 opened this issue Jun 13, 2021 · 1 comment
Open

Display power production in the app #56

Mattie112 opened this issue Jun 13, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra help is needed

Comments

@Mattie112
Copy link

The one thing I was missing was the power production. Yes I can get stats from my inverter but having it all in a single overview (and therefore knowing how much I am using instead of just the generation). So I thought, hey I'm a developer with 0 Android (and little Java) experience so why not look into that.

While going through the code (adding some printlines to see what URL's are used) I noticed some code for power production. When I went looking on where the "power usage" widget was added to see if I could duplicate it for production (activity_main.xml) I found that there is a power production widget.

So I found there was an option in the settings but enabling that has no effect (for me). I can't really find any code in the java files that has some logic on when that is visible or not. Is this just a placeholder? Or am I missing something?

If it is a placeholder if you can give me a few pointers I'd like to look into developing it. I just have no Android dev experience so it is hard to know where to start.

@Mattie112 Mattie112 added the bug Something isn't working label Jun 13, 2021
@RoadXY RoadXY added enhancement New feature or request help wanted Extra help is needed and removed bug Something isn't working labels Aug 16, 2021
@RoadXY
Copy link
Contributor

RoadXY commented Aug 16, 2021

I started on this a while ago but never got to finishing it.
You are right: there is no logic behind it yet.

First you need to figure out how Toon will provide the details for power production.
After that the RestClient.java needs to be able to fetch the data.

Let me know if you need any more explanation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra help is needed
Projects
None yet
Development

No branches or pull requests

2 participants