RedMatic icon indicating copy to clipboard operation
RedMatic copied to clipboard

x86 virtual redmatic node-red-contrib-zigbee

Open StephanBieker opened this issue 3 years ago • 6 comments

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

StephanBieker avatar Oct 01 '20 16:10 StephanBieker

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

Sineos avatar Oct 01 '20 20:10 Sineos

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

Sineos [email protected] 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 .

StephanBieker avatar Oct 01 '20 20:10 StephanBieker

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

hobbyquaker avatar Oct 02 '20 19:10 hobbyquaker

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

Sineos avatar Oct 03 '20 08:10 Sineos

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.

StephanBieker avatar Oct 03 '20 15:10 StephanBieker