ELV PCA 301 Switch

hi, iam very new to hass,

i want to use my ELV switch but getting following error:
Integration pca not found when trying to verify its switch platform.

iam running 0.97.0b2

i added following in configuration.yaml:

switch:
platform: pca
device: /dev/ttyUSB1

i also install the perl module pypca

thx
tom

Do you get that error when running a release version (not the beta)?

Did you correctly format that switch: block in your configuration.yaml? Did you run a configuration check?

same error with release version. the config check outputs the error: Integration pca not found when trying to verify its switch platform.

the switch block is exactly as stated here:

switch:
    - platform: pca
device: /dev/ttyUSB1

i have changed platform from pca to elv, and now at least i dont get integration not found.

i need to test this later

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:

2019-08-06 16:22:24 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=switch.pca_301_6, old_state=<state switch.pca_301_6=on; current_power_w=0.3, total_energy_kwh=39.00, friendly_name=PCA 301 @ 2019-08-06T18:18:18.266391+02:00>, new_state=<state switch.pca_301_6=on; current_power_w=0.0, total_energy_kwh=39.00, friendly_name=PCA 301 @ 2019-08-06T18:18:18.266391+02:00>>

and i found out i can see them in homekit in the home app but i cant switch them off, automaticaly switching back to on.

if i press the manuall off switch, the status of the switch is updating in homekit.

ah now i can see them in the gui. it just takes a while i think.

but i cant switch them off :frowning: Anyone got an Idea?

Unbenannt

Hi, I’ve got exactly the same issue.

It was quite easy to make the PCA 301 devices visible in HA using a JeeLink and this instructions: https://www.home-assistant.io/integrations/elv

Currently I is just shown in the UI and cannot be controlled in HA. How to control the devices really with HA?

Same issue here.

Switch are created, but i can not control them. No power or energy sensor were created.