Open CoreDi opened 5 months ago
Don´t know if this is still maintained here but i found some change in the Becker USB Stick.
My USB Device ordered 01 / 2024 has now lower case letters and so the Script is running into an error:
./centronic-stick.py -l Traceback (most recent call last): File "/home/iobroker/script/centronic-py/./centronic-stick.py", line 466, in <module> main(sys.argv[1:]) File "/home/iobroker/script/centronic-py/./centronic-stick.py", line 441, in main stick = USBStick(db, device) File "/home/iobroker/script/centronic-py/./centronic-stick.py", line 184, in __init__ raise FileExistsError(devname + " don't exists") FileExistsError: /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 don't exists
Device Name (Intel NUC, Proxmox, Ubuntu LTS) is now:
ls /dev/serial/by-id/ usb-Becker-Antriebe_GmbH_CDC_RS232_v125_Centronic-if00
So i changed in centronic-stick.py:
#DEFAULT_DEVICE_NAME = '/dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00' DEFAULT_DEVICE_NAME = '/dev/serial/by-id/usb-Becker-Antriebe_GmbH_CDC_RS232_v125_Centronic-if00' LOCK_FILE_NAME = '/tmp/centronic-stick.lock'
Working now.
Update, because already discussed here but no solution: https://github.com/ole1986/centronic-py/discussions/14
For now, it´s also not working on my side.
Don´t know if this is still maintained here but i found some change in the Becker USB Stick.
My USB Device ordered 01 / 2024 has now lower case letters and so the Script is running into an error:
Device Name (Intel NUC, Proxmox, Ubuntu LTS) is now:
So i changed in centronic-stick.py:
Working now.