Hi James,

> from gpiozero.pins.pigpio import PiGPIO
> Device.pin_factory = PiGPIOFactory()
...
> Did you start the pigpio daemon? E.g. sudo pigpiod
...
> I have tried, as per the error message suggested, tried running sudo
> pigpiod ,which returns command not found.

I ran apt-file(1) on this Pi 5 looking for pigpiod, and ended up reading
the description of package libpigpiod-if-dev which includes

    Pigpio is a set of software which allows control of the General
    Purpose Input Outputs (GPIO) locally or remotely.  Currently only
    the client side is Packaged in Debian as the server side is
    incompatible with Debian kernels. 

This sent me searching for ‘alternatives to pigpio’, assuming if it
wasn't available then others would want to know what to change to, and
that would confirm it didn't work on the Pi 5.  I found
https://forums.raspberrypi.com/viewtopic.php?t=381135 which suggests
pigpio doesn't work on the Pi 5.  Also, https://abyz.me.uk/rpi/pigpio/
stops at about Pi 4B.

So I think you need to switch GPIO library, as that forum post
discusses.

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2026-01-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  https://dorset.lug.org.uk
  New thread, don't hijack:  mailto:[email protected]

Reply via email to