Best solution for GPIO

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
mgugu
Posts: 218
Joined: Friday 04 November 2016 12:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Best solution for GPIO

Post by mgugu »

After moving from buster to bookworm on a Pi2 using GPIO intensively, I discovered that the sysfs method is not working anymore even if sysfs option is still available in domoticz latest version.
So my question is what is the recommanded solution to use GPIO in domoticz/bookworm ?
Best regards
User avatar
waltervl
Posts: 5842
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Best solution for GPIO

Post by waltervl »

On newer RPI OS's the GPIO PIN number range has changed. So Sysfs should still work but you need different pin numbers.

See also https://github.com/domoticz/domoticz/issues/6040

Alternatively use IO devices not directly connected to the RPi but with for example ESP devices with ESPHome.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest