Hi all,
After trying the EmbeddedSystems LogicMachine DMX gateway code I found it to work, but have a few rough edges which I didn't like much:
So I've written something slightly different which solves the above points for me. Started off from the ES code, I first removed the 1-second loop that is implicit in it's transitions code, added KNX mapping and asymmetric timings. The setup is similar to theirs so it's easy to swap over. You can just install both and see which one you like more.
See https://github.com/defl/logicmachine_knxdmx if you're interested.
(And if you're good at Lua and the LogicMachine API, there are a few open ends in the TODO which might improve it even more but which I didn't bother to figure out yet.)
Regards,
Dennis
After trying the EmbeddedSystems LogicMachine DMX gateway code I found it to work, but have a few rough edges which I didn't like much:
- It has a delay of up to a second which makes it feel unresponsive
- It does not feed back to KNX between brightness and state
- Requires KNX addressing to match DMX addressing
- It does not support asymmetric on/off timings
- Lacks in documentation on how some of the internal LM Lua magic works
So I've written something slightly different which solves the above points for me. Started off from the ES code, I first removed the 1-second loop that is implicit in it's transitions code, added KNX mapping and asymmetric timings. The setup is similar to theirs so it's easy to swap over. You can just install both and see which one you like more.
See https://github.com/defl/logicmachine_knxdmx if you're interested.
(And if you're good at Lua and the LogicMachine API, there are a few open ends in the TODO which might improve it even more but which I didn't bother to figure out yet.)
Regards,
Dennis