cant get it to work. if i scan manualy for my devices i can find them:
(homeassistant) root@home:/srv/homeassistant# pypca -p /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AL008KG3-if00-port0 --devices
2019-08-06 16:17:49 INFO (MainThread) [pcacl] Found PCA 301 with ID: 009088166
2019-08-06 16:17:49 INFO (MainThread) [pcacl] Found PCA 301 with ID: 001161186
2019-08-06 16:17:49 INFO (MainThread) [pcacl] Found PCA 301 with ID: 001162144
2019-08-06 16:17:49 INFO (MainThread) [pcacl] Found PCA 301 with ID: 001155208
2019-08-06 16:17:49 INFO (MainThread) [pcacl] Found PCA 301 with ID: 002080169
2019-08-06 16:17:49 INFO (MainThread) [pcacl] Found PCA 301 with ID: 118212171
2019-08-06 16:17:49 INFO (MainThread) [pcacl] Found PCA 301 with ID: 111048111
2019-08-06 16:17:49 INFO (MainThread) [pcacl] --Finished running--
i turned on logging, and just found out that the switches are there, but did not get auto added:
Since the HA integration did not work, but I still had a few of the PCA301 adapters in use via a workaround Fhem → IO-Broker → HA, I decided to write a new integration for it.
The integration works really well for me, adapters can be switched and the measured values are also delivered.
Here is the link to the Github repository:
Integration via HACS, see also the instructions in the repo.
It should also be available via the HACS library shortly.