As one of my earlier projects, I set up a Raspberry Pi with some relays to control my systems remotely. This allows me to warm things up from the couch before I head to the shack, or if COVID ever goes away, to fire up the radio remotely.
So it’s been several years since I made any updates to the Raspberry Pi that makes all that work. I remember rolling back from a Raspbian update because it broke some functionality and I wasn’t in a place to spend time on it. I finally found the time this week, 3 YEARS later.
So I decided to start from the ground up with the latest version of Raspbian and reinstall WebIOPi, which is the software I am using. WebIOPi allows me to use the GPIO pins to control the relays using a web interface. I had spent a little time customizing it for my shack so I wanted to keep using it. Unfortunately it hasn’t been updated in 4 years.
After struggling with the latest version of WebIOPi (0.7) and dealing with “invalid syntax in thread.py” and “Attribute error” issues related to my Pi 2B, I found my savior on GitHub. https://github.com/doublebind/raspi
Follow the instructions theree and you are good to go. I’ll be pleased if it will run another 3 years with no need for updates.