rdmtc / RedMatic

Node-RED packaged as Addon for the Homematic CCU3 and RaspberryMatic 🤹‍♂️
Apache License 2.0
535 stars 47 forks source link

x86 virtual redmatic node-red-contrib-zigbee #406

Open StephanBieker opened 3 years ago

StephanBieker commented 3 years ago

node-red-contrib-zigbee cannot lock serial port


"Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'" 1.10.2020, 18:40:58node: zigbee herdsman 1 msg : string[95] "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"

root@homematic-raspi:~# ls -l /dev/serial/by-id total 0 lrwxrwxrwx 1 root root 13 Oct 1 18:27 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E25155-if00 -> ../../ttyACM0 root@homematic-raspi:~#

path /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E25155-if00

doesn't work with ttyACM0 too

Sineos commented 3 years ago

Did you change your zigbee adapter? If yes, set a new panID

StephanBieker commented 3 years ago

No. It's a clean fresh install of latest 5x redmatic.

Sineos notifications@github.com schrieb am Do., 1. Okt. 2020, 22:41:

Did you change your zigbee adapter? If yes, set a new panID

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rdmtc/RedMatic/issues/406#issuecomment-702385511, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWXBCLN7EWKPIE22JCLTETSITSPLANCNFSM4SAVKLOA .

hobbyquaker commented 3 years ago

Could you pls show a log on level debug that includes all messages from Node-RED start until the serial port error occurs?

StephanBieker commented 3 years ago

redmatic.2020-10-03T05_41_22.832Z.log

Sineos commented 3 years ago

Wenn ich den Titel richtig interpretiere: Betreibst du das Ganze in einer virtuellen Umgebung? Wenn ja, es gibt viele Berichte, dass die Controller da ziemlich zickig sind. /dev/ttyACM0 funktioniert auch nicht? Generell funktionieren die TI Launchpads. Hab selber einen LAUNCHXL-CC1352P in Betrieb (auf /dev/ttyACM0). Ggf. auch mal schauen, ob /dev/ttyACM0 der Richtige ist. Die Dinger legen zwei ttyACM an

StephanBieker commented 3 years ago

habe ich oben geschrieben, dass /dev/ttyACM0 auch nicht geht. Ja, ist eine virtuelle Umgebung. Habe diese Controller aber in der gleichen Umgebung mit zigbee2mqtt am laufen. In der gleichen virtuellen Maschine geht ein HM-CFG-USB-2 aber einwandfrei.

ttyACM0 ist der richtige, habe ich ja oben geposted.