Replies: 1 comment
-
Thanks @BJReplay ! Impressive and helpful detail. |
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
-
Hi All
I was a little bored the other day (OK, I had stuff to do, and was procrastinating), so I thought I would bite the bullet and update a bunch of machines from Ubuntu LTS 22.04 to Ubuntu LTS 24.04.
What could go wrong?
As it turns out, quite a bit, but not that much that I was off the air for too long.
Thanks to .bash_history, here are the notes of what I had to do to get Powerwall Dashboard up and running on Ubuntu LTS 24.04 running on WSL (without Docker Desktop) - instructions for that - which I had to refer to - are at https://github.com/jasonacox/Powerwall-Dashboard/blob/main/WINDOWS.md
The key problems I ran into were:
Total downtime for the collector was about 15 minutes that the history tool backfilled for me.
The upgrade process is pretty well covered elsewhere, but in summary, the steps that I did (modified, because I'm running WSL, so where you see reboot, substitute that with
wsl --terminate Ubuntu
followed bywsl --shutdown
to shut down the WSL subsystem, instead ofsudo reboot
) are pretty straight forward:Detailed Steps:
sudo apt update && sudo apt dist-upgrade -y
sudo apt autoremove
sudo reboot
cat /etc/update-manager/release-upgrades
and look forprompt=lts
sudo do-release-upgrade -d
sudo apt update && sudo apt dist-upgrade -y
sudo apt autoremove
sudo reboot
cd Powerwall-Dashboard && mkdir venv
sudo apt install python3.12-venv
python3 -m venv ~/Powerwall-Dashboard/venv
./compose-dash.sh up -d
~/Powerwall-Dashboard/venv/bin/python ~/Powerwall-Dashboard/tools/tesla-history/tesla-history.py --today
Happy Days.
Edit: fixed command to backfill history - I'd pasted in the command I use to update ToU data instead from my .bash_history
Beta Was this translation helpful? Give feedback.
All reactions