sde1000 / python-dali

Library for controlling DALI lighting systems
Other
150 stars 71 forks source link

RFC: Add support for Lunatone DALI-2 USB dongle #137

Closed plaes closed 2 weeks ago

plaes commented 3 months ago

New hardware with some updates to protocol.

LUBA protocol: https://www.lunatone.com/wp-content/uploads/2021/04/LUBA_Protocol_EN.pdf

DALI-2 USB device shows up as /dev/ttyACM0 instead of previous ttyUSB0.

In datasheet rev 1.1 they added USB device support which features switchable power supply. There's also small change in the 0x80 / 0x81 in rev 1.4...

As I don't have other devices, I'm unable to check for backwards compatibility, therefore this PR is marked as RFC...

sde1000 commented 3 months ago

I don't have any of the relevant hardware either, but it looks sensible to me! I'm happy to merge unless anyone who does have LUBA hardware drops in and says it causes problems.

sde1000 commented 2 weeks ago

Nobody has asked me not to, so I'm going to go ahead and merge this. Thank you!