Open Mattie112 opened 3 years ago
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!
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.