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
- Waited a while
- Clicking on ‘show ignored installations’
- Refreshing the browser
- 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