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.

[OLD] LogicMachine firmware 2017.06
#5
Thank you

I have been thinking about this further. We implement KNX organizing the structure of the group address to a certain schema.

1/0/* Switching
1/1/* Dimming
1/2/* Absolute Values
1/3/* Switching Feedback (Status)
1/4/* Absolute Value Feedback (Status)

Would it be possible to add a new parameter to the checkwrite\response\update, so that the function compares the requested value against another object (group address)

For example, I have a light that I want to set to 50%

grp.checkwrite('1/2/1', 50, '1/4/1')

which effectively does,

if(grp.getvalue('1/4/1')~=50)then
grp.write('1/2/1',50,dt.scale)
end

when this object is not specified then the comparison is made against the original object.

Thanks,


Roger


Messages In This Thread
RE: LogicMachine firmware 2017.06 RC4 - by rocfusion - 02.07.2017, 19:06

Forum Jump: