SkyConnect dongle not detected by HA

Hi,

I’ve plugged my SkyConnect dongle into one of the USB sockets on my Raspberry Pi 4 running 2023.11.2 and it is not showing.

I’ve

  1. Waited a while
  2. Clicking on ‘show ignored installations’
  3. Refreshing the browser
  4. There’s nothing in my logs or notifications

In the UI Settings >> System >> Hardware all I see are two graphs, one for CPU and one for Ram. There are no other options. No hardware is listed (Is this normal?)

I also ran the command detailed in Exposing devices and added

`
devices:

  - /dev/ttyUSB0:/dev/ttyUSB0

`

to my docker-compose.yaml and ran a compose up -d.

I’m obviously missing something simple here and have trawled through the posts on here but not found anything to help. This usually means I’m not using the right search queries.

EDIT:
I ran usb-devices and it gave me this for the SkyConnect:

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=10c4 ProdID=ea60 Rev=01.00
S:  Manufacturer=Nabu Casa
S:  Product=SkyConnect v1.0
S:  SerialNumber=e838ea499eb3ed11aa704aaca7669f5d
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=cp210x
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

And a bash script I found on the internet:

#!/bin/bash

for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
    (
        syspath="${sysdevpath%/dev}"
        devname="$(udevadm info -q name -p $syspath)"
        [[ "$devname" == "bus/"* ]] && exit
        eval "$(udevadm info -q property --export -p $syspath)"
        [[ -z "$ID_SERIAL" ]] && exit
        echo "/dev/$devname - $ID_SERIAL"
    )
done

outputs this:

/dev/ttyUSB0 - Nabu_Casa_SkyConnect_v1.0_e838ea499eb3ed11aa704aaca7669f5d
/dev/sda2 - WD_Green_M.2_2280_480GB_230618401364
/dev/sda - WD_Green_M.2_2280_480GB_230618401364
/dev/sda1 - WD_Green_M.2_2280_480GB_230618401364

Are you able to confirm what the command is I need to connect docker to the tty? I tried this:

docker run -t -i -device /dev/ttyUSB0:/dev/ttyUSB0

I also tried adding the ZHA integration, selecing ezsp and adding /dev/ttyUSB0 as the sertial path but it isn’t detected.

I tried running

ls -l /dev/serial/by-id

and this gives me:

total 0

lrwxrwxrwx 1 root root 13 Dec 2 00:03 usb-Nabu_Casa_SkyConnect_v1.0_e838ea499eb3ed11aa704aaca7669f5d-if00-port0 -> ../../ttyUSB0

Which looks correct. So it’s just not being detected by HA.

Also. Is my Hardware screen correct in only showing the CPU & Ram graphs and no dots menu or any other menus or information?

Many thanks for your help,

Hedley

Recent purchase?

You may have one out of the bad batch that didn’t have the correct ID written to the usb chip.

1 Like

Hi,

yes it’s a very recent purchase. And before I blame the hardware, it’s probably my lack of understanding & skill that’s causing this issue.

I ran usb-devices and it gave me this for the SkyConnect:

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=10c4 ProdID=ea60 Rev=01.00
S:  Manufacturer=Nabu Casa
S:  Product=SkyConnect v1.0
S:  SerialNumber=e838ea499eb3ed11aa704aaca7669f5d
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=cp210x
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

And a bash script I found on the internet:

#!/bin/bash

for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
    (
        syspath="${sysdevpath%/dev}"
        devname="$(udevadm info -q name -p $syspath)"
        [[ "$devname" == "bus/"* ]] && exit
        eval "$(udevadm info -q property --export -p $syspath)"
        [[ -z "$ID_SERIAL" ]] && exit
        echo "/dev/$devname - $ID_SERIAL"
    )
done

outputs this:

/dev/ttyUSB0 - Nabu_Casa_SkyConnect_v1.0_e838ea499eb3ed11aa704aaca7669f5d
/dev/sda2 - WD_Green_M.2_2280_480GB_230618401364
/dev/sda - WD_Green_M.2_2280_480GB_230618401364
/dev/sda1 - WD_Green_M.2_2280_480GB_230618401364

Are you able to confirm what the command is I need to connect docker to the tty? I tried this:

docker run -t -i -device /dev/ttyUSB0:/dev/ttyUSB0

I also tried adding the ZHA integration, selecing ezsp and adding /dev/ttyUSB0 as the sertial path but it isn’t detected.

Also. Is my Hardware screen correct in only showing the CPU & Ram graphs and no dots menu or any other menus or information?

thanks,

Hedley

It’s working and I have no idea why but I don’t care!

I edited my docker-compose.yml file and added:

        devices:
            - /dev/ttyUSB0:/dev/ttyUSB0

Then ran a

sudo docker-compose up -d

And once it had rebooted I saw the detected ZHA Integration.

Now I’m sure I did this before but maybe I didn’t and I can’t remember so just putting this here for anyone else who has the same issue.

1 Like