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.

grp.checkwrite and supported datatypes
#1
Hi

I am updating my scripts to use grp.checkwrite instead of my own wrapper that simply wrote things in memory and then did a string compare to prevent unnecessary bus load

so far I have the following experience
- booleans it seems to work fine

- floats only works fine,  if I add the delta argument at the end for example grp.checkwrite(KNXGROUP, newValue, 1)
but why is this needed ? 
in my opinion it should have a default behaviour if there is a difference then write to the bus

- text does not work fine ? grp.checkwrite(KNXGROUP, newValue, 1)
It always writes the newValue to the bus ? How can I prevent this with grp.checkwrite ?
For now I use my own wrapper again for this

Thanks
Nicky
Reply


Messages In This Thread
grp.checkwrite and supported datatypes - by npinguin - 11.11.2017, 19:10

Forum Jump: