On Mon, Apr 21, 2025 at 09:04 AM, Bill - N1HKO wrote:
The Raspberry Pi guys changed the recommended GPIO lib for Pi5.
Another issues using RPI GPIO pins to operate relays, is the "reboot" stage give random relay positions.
?
For a RPI 5 solution and solving the random relay during reboot issue, consider what I do.
?
I use a simple RPI-3 and its GPIO pins to operate my relays.....all located in remote locations. ?These are on a UPS power supply and I have not rebooted them in years.
?
At my station Node-Red, in your case running on the RPI-5, use MQTT to send the GPIO position variable, on/off, 1/0, true/false, etc, to the remote pi using the GPIO pins to operate the remote relays.
?
Also, I often reboot the station Node-Red, and doing so does not cause random operation of the remote Pi-3 and its GIPO driven relays.
?
Alan. WA9WUD