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.

LogicMachine as Home Assistant integration
#1
Hi, 
any plans to integrate LM into HA ecosystem? Would be nice to have in HA local LM variables. Thanks for the answer!
Reply
#2
LM and HA supports MQTT.
------------------------------
Ctrl+F5
Reply
#3
Thanks. I still think a separate integration into HomeAssistant would boost LM sales Smile

I have LogicMachine 4 (SW: 20240xxx) acting as KNX IP gateway. Home Assistant KNX integration sends GroupValueRead on startup (sync_state: true) but most entities remain unavailable.
I noticed that LM only responds to read requests if I manually add a Group Event script for each address:
Code:
grp.response(event.dst, grp.getvalue(event.dst))

Some objects respond without a script, some don't – I haven't found a pattern yet.

Questions:

Does LM4 automatically respond to GroupValueRead?
Is there a global setting or single script to respond to ALL read requests without creating per-address scripts?
Is there a wildcard option for Group Event script address field?

I have ~100 addresses that HA needs to read on startup.

Thanks
Reply
#4
LM does not answer to read requests automatically. Most likely you are seeing responses from devices on the KNX/TP bus.

You can use a single event script attached to a tag instead of a group address.
Reply
#5
Basically I will need manually add tag to all addresses which values I want to be read in HA and then attach a script to this tag?

Thanks!
Reply
#6
Create a tag to all groups you want the response to work and create one event script triggered by this tag.
------------------------------
Ctrl+F5
Reply
#7
Thank you!

(20.02.2026, 13:32)Daniel Wrote: Create a tag to all groups you want the response to work and create one event script triggered by this tag.

Well, I tagged my some DST with tag like 'haSync', added a script to haSync with checked "Execute on group read" 
Code:
grp.response(event.dst, grp.getvalue(event.dst))

and still have no values in HA.

Any advise?

Thanks!
Reply
#8
Your script creates a loop. Use this: https://forum.logicmachine.net/showthrea...&pid=36631
Reply


Forum Jump: