Decent as the GivEnergy app is it didn't give me all of the data I wanted so I've been working on a dashboard that shows me everything I wanted to know, without overdoing things.
It uses GivTCP for live data (when connected locally), or switches to the GivEnergy API when remote for semi-live data. It also uses the GivEnergy API for the daily usage data.
It connects to the Octopus API and combines the tariff data to work out estimated costs for the current date and the day before, as well as instantaneous prices for grid import / export.
It also uses the Solcast API to generate a solar forecast, I've programmed it to allow an optimism selection from 1 to 5, I've found the default Solcast forecast to be very optimistic so I usually have it set to 1.
It does connect to the MyEnergi API as well so can show Eddi usage, although I have mine turned off at the minute as it's not worth it with the Flux export rates.
Finally it has a weather forecast from tomorrow.io.
Features I'm planning on adding when I get time:
- Warnings for inverter / battery temperatures
- More detailed weather forecast view
- Octopus consumption data with costs for the previous week / month / year
- forecast.solar integration as an alternative to Solcast
I don't want to be replicating much that's done by the proper app or anything Octopus related that's done by other apps, I'm mostly doing it as a learning experience.
One issue I've found with the GivEnergy API is the 30 minute power flow data seems to lag the current totals by quite a bit, so my estimated spend and export gain fields don't accurately reflect the current import & export kWh fields. Has anyone got any experience of using the API and found the same issues?
I think most people on here seem to use Home Assistant so I don't know if there would be any interest in it if I put the source code on Github but that's my plan eventually, once it's at a reasonable level of progress.










