Posts: 167
Threads: 20
Joined: Apr 2017
Reputation:
2
I had the idea grp.checkwrite / grp.checkupdate don't work always.
Are there limitation about when I can use it and when not?
Maybe not all datatype?
It looks like it doesn't always update the new value or do I look wrong?
I understand grp.checkwrite is when it has to write to the KNX bus
and grp.checkupdate if it is just local for the LM.
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
grp.checkwrite is sending to TP and IP but on change of value. grp.checkupdate is sending only to IP but also on change of value.
------------------------------
Ctrl+F5
Posts: 167
Threads: 20
Joined: Apr 2017
Reputation:
2
Oké thanks.
I think my problem was also not the right data type.
Posts: 74
Threads: 21
Joined: Sep 2016
Reputation:
0
and grp.write always send the value on TP and IP, even if the value inside LM is up to date?
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
For floating point values default delta is 0.1. The difference between values is lower in your case.
Posts: 167
Threads: 20
Joined: Apr 2017
Reputation:
2
Oké thanks, does it means I need to take another data type for solving this problem?
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
The value will update when the difference is large enough. You can also specify delta manually as the third argument. Try 0.01 or 0.001
Posts: 167
Threads: 20
Joined: Apr 2017
Reputation:
2
Sounds interesting, do you have an example of this?
Posts: 167
Threads: 20
Joined: Apr 2017
Reputation:
2
Great tanks, that was what I was looking for ?