Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB Cul Stick wird nicht ins Raspberrymatic addon eingebunden #1745

Closed
turrican944 opened this issue Mar 4, 2022 · 7 comments
Closed

USB Cul Stick wird nicht ins Raspberrymatic addon eingebunden #1745

turrican944 opened this issue Mar 4, 2022 · 7 comments
Labels
🐛 bug-report Something isn't working 💻 hardware support This issue refs tickets/issue introducing/fixing some hardware support platform/ha-addon Home Assistant Add-on platform

Comments

@turrican944
Copy link

turrican944 commented Mar 4, 2022

Describe the issue you are experiencing

USB Culstick funktioniert nicht im CUXD. Der Stick wird im CUXD angezeigt verbindet sich aber nicht mehr mit CUXD. In früheren Versionen des Raspberrymatic Addons war das möglich, wenn der Sicherheitsmodus abgeschaltet wurde. Den gibt es nicht mehr. Eine möglichkeit ein USB Gerät ins Addon einzubinden, ist auf der Konfigurationsseite nicht gegeben.
Auch eine Komplette Neuinstallation des Addons und auch vom Homeassistant OS haben nichts verändert.

Describe the behavior you expected

USB Culstick muss wohl in den Dockercontainer explizit eigebunden werden

Steps to reproduce the issue

  1. Raspberrymatic Addon im Homeassistant starten
  2. Im CUXD UI wird Kein TTY Device Connected angezeigt

...

What is the version this bug report is based on?

3.61.7.20220226

Which base platform are you running?

ha-addon (HomeAssistant Add-on)

Which HomeMatic/homematicIP radio module are you using?

n/a

Anything in the logs that might be useful for us?

-

Additional information

Hardware: Odroid N2+ , eigenbau Nanocul Stick. Funkmodul steckt auf HB RF ETH.

@turrican944 turrican944 added the 🐛 bug-report Something isn't working label Mar 4, 2022
@jens-maus
Copy link
Owner

Welches /dev/tty* device wurde denn von den CUL Sticks genau genutzt als es noch mit abschalten des protected modes funktionierte?

@jens-maus jens-maus added platform/ha-addon Home Assistant Add-on platform 💻 hardware support This issue refs tickets/issue introducing/fixing some hardware support labels Mar 4, 2022
@turrican944
Copy link
Author

Es ist /dec/ttyUSB0 zumindest zeigt das Cux an.
Vielleicht habe ich auch etwas schlecht ausgedrückt es geht nur in der alten Version mit abgeschaltetem Sicherheitsmodus. In der neuen war der nach dem Update noch aus, ging aber schon nicht. Ich muss jetzt erstmal weg kann da, später nochmal weiter schauen.

@jens-maus
Copy link
Owner

dann bitte mal innerhalb des neuen Add-on folgende Befehle mal ausführen und die Ausgaben hier zeigen:

ls -la /dev/ttyUSB*
lsusb

@turrican944
Copy link
Author

turrican944 commented Mar 4, 2022

root@de838cd8-raspberrymatic:~# ls -la /dev/ttyUSB*

crw-rw---- 1 root dialout 188, 0 Mar 4 13:04 /dev/ttyUSB0

root@de838cd8-raspberrymatic:~# lsusb

Bus 001 Device 005: ID 0403:6001
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0424:2514
Bus 001 Device 002: ID 0424:2514
Bus 001 Device 004: ID 0424:7800

root@de838cd8-raspberrymatic:~#

es ist nur der CUL Stick am USB, ich habe das auf meinem Testsystem (Raspberry 3b+ mit Homeassistant OS) gemacht, sonst gibts ärger mit der Frau wenn ich am Odroid jetzt rumspiele, auf dem Raspberry aber das gleich, es wird im CUX nicht erkannt.

Screenshot 2022-03-04 13 21 21

Zum vergleich so sieht es auf dem Odroid mit der alten Raspberrymatic addon Version aus

oot@de838cd8-raspberrymatic:~# ls -la /dev/ttyUSB*

crw-rw---- 1 root dialout 188, 0 Mar 4 11:39 /dev/ttyUSB0

root@de838cd8-raspberrymatic:~# lsusb

Bus 002 Device 002: ID 05e3:0620
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 005: ID 0bda:2838
Bus 001 Device 003: ID 0403:6001
Bus 001 Device 002: ID 05e3:0610
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 006: ID 1cf1:0030
root@de838cd8-raspberrymatic:~#

Screenshot 2022-03-04 13 24 44

jens-maus added a commit that referenced this issue Mar 4, 2022
@jens-maus
Copy link
Owner

Thanks for the info. I now added uart: true to the addon snapshot version.

So please @turrican944, try the following:

  1. Go to HomeAssistant and perform a "Check for Updates".
  2. Install the current snapshot version of the RaspberryMatic Add-on and stop the normal non-snapshot version.
  3. Install CUxD in the snapshot version and see if using the nanoCUL with CUxD works now in the snapshot version of the Add-on.

@turrican944
Copy link
Author

I Test the snapshot in my testsystem (Raspberry 3b+) and it works with the Cul Stick in Cuxd.
I check this evening ob my Odroid too.
Thanks

@jens-maus
Copy link
Owner

Perfect! Then I can also add this minor change to the addon config of the stable version of the addon as well so that others will benefit from this fix immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug-report Something isn't working 💻 hardware support This issue refs tickets/issue introducing/fixing some hardware support platform/ha-addon Home Assistant Add-on platform
Projects
None yet
Development

No branches or pull requests

2 participants