This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Another KNX-DMX library
#1
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:
  • 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
Reply


Messages In This Thread
Another KNX-DMX library - by DennisF - 14.10.2021, 07:18
RE: Another KNX-DMX library - by DennisF - 18.10.2021, 20:05
RE: Another KNX-DMX library - by alexgleyzer - 03.11.2021, 10:26
RE: Another KNX-DMX library - by admin - 03.11.2021, 10:27

Forum Jump: