Excuse me if I open a new topic on this topic. I have closely followed the events of this integration because I need to have this chip configured with Raspberry P4. After the last update to 0.117.1 everything seems to be fixed but I still can’t get it to work. I attach the log that I have every time I start the system.
I ask who works and has the RB 4B, like mine, on which pin i2c they connected it.
Any suggestions are welcome.
My haste is dictated by the fact that I have configured the alarm with this system and now, to make it work, I am migrating to a WEMOS and ESPHOME but I would like to keep the system with direct line and not wi-fi.
thanks
ps: forgive the translation but I got help from google.
Logger: homeassistant.components.switch
Source: components/mcp23017/switch.py:37
Integration: Interruttore (documentation, issues)
First occurred: 11:10:23 (1 occurrences)
Last logged: 11:10:23
Error while setting up mcp23017 platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 197, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/mcp23017/switch.py", line 37, in setup_platform
i2c = busio.I2C(board.SCL, board.SDA)
File "/usr/local/lib/python3.8/site-packages/busio.py", line 31, in __init__
self.init(scl, sda, frequency)
File "/usr/local/lib/python3.8/site-packages/busio.py", line 70, in init
raise ValueError(
ValueError: No Hardware I2C on (scl,sda)=(3, 2)
Valid I2C ports: ((3, 3, 2), (1, 3, 2), (0, 1, 0))