I have been using a RPi 2B to monitor and control a solar changing system since 2017. It has worked great. I even posted it on Github and have gotten positive feedback form a few people. That was while I was running Jessie. In January 2025, two of my Rpi 2B crashed. I tried to reload Jessie, but it is no longer supported, so I had to update to Bookworm.
With Jessie, I was using RPigoio and was able to issues system commands in the PHP script to configure gpio pins, control relays and read inputs connected to the Pi. I was even able to change BCM 0, which is one of the unusable second I2C pins, to a output pin. That does not work with the new gpiozero. For some reason, the fully operational RPigpio is gone, replaced with a grade school style "simplified" but very limited version. Gpiozero does not allow me to change modes for BCM 0 or 4, so those a now useless pins. I'm sure there are others. With gpiozero, I am having to write small python programs to turn on a relay, turn off a relay. Separate python programs for each function (on or off) for each relay. That is a lot of brute force sloppy programming. Gpiozero also does not allow me to issue commands on the command line. Gpio.readall is gone.
Is there anyway to get back to grown up programing using gpios at the system or command levels?
When I started with Pis, it took some research and programming skills to make them do as I needed. I was getting good at and was using Pis for several functions. As the OS has been updated, they have gotten slower and far less functional. I don't need programs to write my code, I am a programmer. Is there any hope of getting the old RPigpio functions back?
Wade Elmore
With Jessie, I was using RPigoio and was able to issues system commands in the PHP script to configure gpio pins, control relays and read inputs connected to the Pi. I was even able to change BCM 0, which is one of the unusable second I2C pins, to a output pin. That does not work with the new gpiozero. For some reason, the fully operational RPigpio is gone, replaced with a grade school style "simplified" but very limited version. Gpiozero does not allow me to change modes for BCM 0 or 4, so those a now useless pins. I'm sure there are others. With gpiozero, I am having to write small python programs to turn on a relay, turn off a relay. Separate python programs for each function (on or off) for each relay. That is a lot of brute force sloppy programming. Gpiozero also does not allow me to issue commands on the command line. Gpio.readall is gone.
Is there anyway to get back to grown up programing using gpios at the system or command levels?
When I started with Pis, it took some research and programming skills to make them do as I needed. I was getting good at and was using Pis for several functions. As the OS has been updated, they have gotten slower and far less functional. I don't need programs to write my code, I am a programmer. Is there any hope of getting the old RPigpio functions back?
Wade Elmore
Statistics: Posted by welmore — Thu Feb 20, 2025 3:11 am