Replies: 1 comment
-
Thank you very much, it works. I changend your cronjob to 3am and added two other lines to the crontab. So it saves evcc.yaml and evcc.db every day before updating. 0 1 * * * root cp /etc/evcc.yaml /home/Pi/evcc.yaml.bak >> /var/log/evcc.yaml.log 2>&1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I like to get the latest upgrades of evcc and other linux applications. Running a cron job during charging is not a good idea though. When i did, the charge current measured and the target current would be different. Maybe other issues could occur. Here is a script which checks if the charger is running and only runs apt upgrade if the charger is idle:
save it as /path/to/upgrade_when_idle.sh
to add a cron job you can run
and add this line to the cron tab
Now apt udate & upgrade will run ar 2am every day if vehicle is not charging.
Beta Was this translation helpful? Give feedback.
All reactions