Posts: 8
Threads: 3
Joined: Apr 2018
Reputation:
0
A KNX object can be connected to multiple -same type Group addresses. One of them has sending property. In many cases this is essential. How can we achieve the same goal with logic machine? A feedback group address is not always possible. One solution is to write some short of LUA for each object but this will make the project complicated and unreadable. A direct input of listening only addresses for an object would be very helpful.
Thanks
Posts: 4646
Threads: 24
Joined: Aug 2017
Reputation:
207
Hi
In what case do you need this?
Script only. Use tags to make it simpler.
BR
------------------------------
Ctrl+F5
Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
I think this post can be helpful for you and it will be the most efficient way.
https://forum.logicmachine.net/showthrea...45#pid2945
Done is better than perfect
Posts: 4646
Threads: 24
Joined: Aug 2017
Reputation:
207
I would do it like that.
Add tag to listening address and then create event script triggered from this tag and use this.
Code:
grp.update('1/1/1', event.getvalue())
Where the 1/1/1 is the group you want to update. Last sent telegram will be updated to this group.
BR
------------------------------
Ctrl+F5
Posts: 8
Threads: 3
Joined: Apr 2018
Reputation:
0
16.04.2018, 13:55
(This post was last modified: 16.04.2018, 14:00 by ncgnick.)
Thank you all
All that was the obvious reaction from my side.
It would be easier if there was a straight forward procedure. This would keep the project more readable
Just think of a project with 5000 GAs and a central function switching off everything. I wouldn't even think of such a solution and I wouldn't dare to let all the feedbacks pass through all the line couplers and routers just for the visualization
Developers, please consider this functionality in future firmware releases
Posts: 4646
Threads: 24
Joined: Aug 2017
Reputation:
207
(16.04.2018, 13:55)ncgnick Wrote: Thank you all
All that was the obvious reaction from my side.
It would be easier if there was a straight forward procedure. This would keep the project more readable
Just think of a project with 5000 GAs and a central function switching off everything. I wouldn't even think of such a solution and I wouldn't dare to let all the feedbacks pass through all the line couplers and routers just for the visualization
Developers, please consider this functionality in future firmware releases
In that case you need other way around.
Tag all your local status objects.
Create event based script on your central group and paste this code
Code:
value = event.getvalue()
myobjects = grp.tag('YourTag')
myobjects:update(value)
Change 'YourTag' to your tag.
BR
------------------------------
Ctrl+F5