- Quarterly prices data is obtained from Enever, or directly from TIBBER. it is saved as a JSON to two user variable
- Hourly solar prediction is made based on data from NED.nl and adjusted to the position and orientation of my PV panels. saved as JSON to user variable
- A script tracking the value in EUR/kwh that is present in the battery based on how much is charge during the current price slot. updates a dummy sensor
- The battery scheduler itself: this script responsible for gathering all the above data and making a schedule for the most economical charging and discharging of the battery. It takes into account the times during the day that solar energy is available and discharging only occurs to my own appliances (i do not want to export the energy back to the grid). When done the scheduler provide the schedule and a summary to user variables.
- Battery scheduler execute script that reads the schedule JSON and sets a dummy selector switch to charge, PVcharge, discharge or idle.
- Battery controller script that reads the above mentioned selector switch and sends the proper commands to the battery.

This small dashboard allows me to quickly view a summary of the latest schedule, manually adjust charging and discharging slots and view the prices at a glance.
I am hesitating however if it would be worthwhile to share everything as is. Currently, the scripts are very much tailored for my own setup with the INDEVOLT battery so I am not sure how well somebody else could implement it. Curious about any opinions on this