Skip to content

Commit

Permalink
Remove solar forecast systemd files
Browse files Browse the repository at this point in the history
  • Loading branch information
felixschndr committed Nov 23, 2024
1 parent a4d10b1 commit 0394074
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 31 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
.idea
**/__pycache__
.env
systemd/inverter-charge-controller.service
systemd/inverter-charge-controller-just-solar-forecast.service
!systemd/inverter-charge-controller.service
systemd/inverter-charge-controller*
logs/
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,10 @@ If you pass in `--solar-forecast` as an argument to `main.py` the programm just

This can also be used to log the solar prediction after the sun has set to see how far off the solar prediction was and get a sense of how good the predication was (→ not as a *forecast* but as a *review*). To correctly display the log message use `--solar-review` in this case.

There is also a systemd configuration with a service and a timer that does the latter: daily at 11:00 PM log the solar *forecast* from the API.

#### Monitor solar forecast prediction and power buy

You can monitor how far the prediction of the solar forecast was off and how much power was bought with the script [solar_forecast_and_power_buy_logger.sh](solar_forecast_and_power_buy_logger.sh).
You can monitor how far the prediction of the solar forecast was off and how much power was bought with the script [solar_forecast_logger.sh](solar_forecast_logger.sh).

It saves the following data:
- `<directory> of logs>/power_buy.log`: `<timestamp of start of charging>\t<timestamp of end of charging>\t<power bought in Wh>`
- `<directory> of logs>/solar_forecast_difference.log`: `<date>\t<prediction at start of day in Wh>\t<prediction at end of day in Wh>`

This can automatically be run after the review of the solar forecast, see [systemd/inverter-charge-controller-just-solar-forecast.service](systemd/inverter-charge-controller-just-solar-forecast.service).

This file was deleted.

10 changes: 0 additions & 10 deletions systemd/inverter-charge-controller-just-solar-forecast.timer

This file was deleted.

0 comments on commit 0394074

Please sign in to comment.