Hi,
I'm running a WittyPi mini (1st version) since a few years without any problems. Now i bought another two WittyPi 3 mini and installed it on an Raspberry Pi 3b+ and a Raspberry Pi Zero W. After installation was done, I set up the times for startup and shutdown. But nothing happens. If I check the status of wittyPi.service I got a few errors (see below), but I'm not able to solve these. Is there a fix for this available?
pi@raspberrypi:~ $ systemctl status wittypi
* wittypi.service - LSB: Witty Pi 3 initialize script
Loaded: loaded (/etc/init.d/wittypi; generated)
Active: active (running) since Wed 2026-01-14 20:47:55 CET; 3 days ago
Invocation: 34eb927235d64cef91c0a7a13d94126b
Docs: man:systemd-sysv-generator(8)
Tasks: 2 (limit: 1555)
CPU: 2min 28.649s
CGroup: /system.slice/wittypi.service
|- 624 /bin/bash /home/pi/wittypi/daemon.sh
`-26040 sleep 1
Jan 18 20:40:47 raspberrypi wittypi[26011]: /home/pi/wittypi/gpio-util.sh: line 231: raspi-gpio: command not found
Jan 18 20:40:47 raspberrypi wittypi[624]: /home/pi/wittypi/daemon.sh: line 119: [: ==: unary operator expected
Jan 18 20:40:48 raspberrypi wittypi[26017]: /home/pi/wittypi/gpio-util.sh: line 231: raspi-gpio: command not found
Jan 18 20:40:48 raspberrypi wittypi[624]: /home/pi/wittypi/daemon.sh: line 119: [: ==: unary operator expected
Jan 18 20:40:49 raspberrypi wittypi[26023]: /home/pi/wittypi/gpio-util.sh: line 231: raspi-gpio: command not found
Jan 18 20:40:49 raspberrypi wittypi[624]: /home/pi/wittypi/daemon.sh: line 119: [: ==: unary operator expected
Jan 18 20:40:50 raspberrypi wittypi[26029]: /home/pi/wittypi/gpio-util.sh: line 231: raspi-gpio: command not found
Jan 18 20:40:50 raspberrypi wittypi[624]: /home/pi/wittypi/daemon.sh: line 119: [: ==: unary operator expected
Jan 18 20:40:51 raspberrypi wittypi[26036]: /home/pi/wittypi/gpio-util.sh: line 231: raspi-gpio: command not found
Jan 18 20:40:51 raspberrypi wittypi[624]: /home/pi/wittypi/daemon.sh: line 119: [: ==: unary operator expected
It says you don't have raspi-gpio installed in the system.
Maybe try these:
sudo apt update sudo apt install raspi-gpio
If your system can not have raspi-gpio installed, maybe you need to revert to older version of Raspberry Pi OS.
Just a reminder: Witty Pi 3 Mini has been discontinued (and replaced by Witty Pi 4 Mini) since year 2022, and its software has no update since then. If the old software can not fit the new system, you need to troubleshoot it by yourself, or use older system.
Hi,
I downgraded to RaspberyPi OS Bookworm. Then I have seen that the gpio command doesn't exist. So I installed wiringPi from Github and everything seems to work fine now.
Thanks for your assistance.
