What am i doing wrong?
I don't know and I doubt anyone else does either,
You need to find the error(s) being thrown by you code and gives us those and more info.
Start with:
- Which model Pi
- Which OS and which named release of it
- Booting to desktop or command line?
- With or without automatic login
- All of your python code.
- Your systemd service
- The actual errors being thrown. Start by looking in the systemd journal.
You may find the troubleshooting advice in Running A Program At Start Up A Beginner's Guide to be of use to you. Full disclosure, I wrote that.
Statistics: Posted by thagrol — Fri Jul 25, 2025 10:46 pm