Hello!
I just installed hass.io and try to figure out how to access the rfxtrx usb device.
Have installed SSH and I can’t find it in /dev/. Is it not supported yet or have I missed something?
Acording to releaselog devices are supported since 0.28 but I can’t find any info on how to use them.
Found the command to list devices but it doesn’t list any devices…
“http://192.168.1.201:8123/api/hassio/homeassistant/info ”
{“result”: “ok”, “data”: {“version”: “0.45.1”, “last_version”: “0.45.1”, “devices”: []}}
pvizeli
(Pvizeli)
June 5, 2017, 9:48pm
3
Can you post a link they describe a setup under “normal” systems?
I don’t understand what you want me to post…
I am having the same problem connecting usb devices to hassio. Anyone that can offer some insights or a solution?
smikje
July 26, 2017, 6:37pm
6
When you login with SSH execute the following command
dmesg | grep tty
Results: [ 4.776763] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
In configuration.yaml file
rfxtrx:
device: /dev/ttyUSB0
Then it should work
1 Like
Install the SSH addon and login to the machine.
Run below command and it’ll display the applicable USB paths.
core-ssh:~# hassio host hardware
{
"serial": [
"/dev/ttyUSB0",
"/dev/ttyUSB1"
],
Kodarn
September 28, 2017, 2:04pm
8
+1 on this missing /dev/serial issue
Attempting to connect my RF-LINK using the RF-LINK-plugin .
dmesg
[ 1590.999938] usb 1-1.5: new full-speed USB device number 4 using dwc_otg
[ 1591.114586] usb 1-1.5: New USB device found, idVendor=2341, idProduct=0242
[ 1591.114606] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 1591.114619] usb 1-1.5: Product: Genuino Mega 2560
[ 1591.114631] usb 1-1.5: Manufacturer: Arduino LLC (www.arduino.cc)
[ 1591.114643] usb 1-1.5: SerialNumber: 75435353035351B08281
[ 1591.152394] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device
[ 1591.159219] usbcore: registered new interface driver cdc_acm
[ 1591.159239] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
hassio host hardware
{
"serial": [
"/dev/ttyACM0"
],
"input": [],
"disk": [],
"audio": {
"0": {
"name": "bcm2835 - bcm2835 ALSA",
"type": "ALSA",
"devices": {
"0": "digital audio playback",
"1": "digital audio playback"
}
}
}
}
ls -la /dev/
drwxr-xr-x 5 root root 340 Sep 28 15:37 .
drwxr-xr-x 48 root root 4096 Sep 28 15:37 ..
lrwxrwxrwx 1 root root 13 Sep 28 15:37 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Sep 28 15:37 full
-rw-r--r-- 1 root root 580 Sep 28 15:49 kmsg
drwxrwxrwt 2 root root 40 Sep 28 15:37 mqueue
crw-rw-rw- 1 root root 1, 3 Sep 28 15:37 null
lrwxrwxrwx 1 root root 8 Sep 28 15:37 ptmx -> pts/ptmx
drwxr-xr-x 2 root root 0 Sep 28 15:37 pts
crw-rw-rw- 1 root root 1, 8 Sep 28 15:37 random
drwxrwxrwt 2 root root 40 Sep 28 15:37 shm
lrwxrwxrwx 1 root root 15 Sep 28 15:37 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Sep 28 15:37 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Sep 28 15:37 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root 5, 0 Sep 28 15:37 tty
crw-rw-rw- 1 root root 1, 9 Sep 28 15:37 urandom
crw-rw-rw- 1 root root 1, 5 Sep 28 15:37 zero