python-dali
python-dali copied to clipboard
Tridonic Connection in Windows
Hi,
I am currently in my initial steps to setup connection with the Tridonic DALI USB device. However, I am running into this /dev/dali/daliusb-* not found issue while trying to run the async-buswatch.py example. My setup is fairly simply: Windows 10 PC with python-dali installed to Tridonic via USB to LED Driver. So far I have been using DALI Cockpit to send command without issue and I was able to detect the device with its serial number using this software. My goal now is to write customized python code to adjust the dimming profile of the driver for testing purposes. I would really appreciate any feedback and/or guidance.
Best regards,
That particular driver is not written for use on Windows — it uses the Linux-only 'hidraw' API to access the device.
You may have more luck trying the code in dali/driver/tridonic.py
which uses a more generic USB API to access the device. That code isn't async though.
@sde1000 Possibly one could use https://github.com/apmorton/pyhidapi as an additional backend for HID based devices. It seems to be fairly cross-platform.