Hello
I'm looking for a function which sends read request to KNX bus and waits for the result. The reason is I have two inputs which I need to be sure their values are actual.
This works but it's ugly because I don't check if the readings of both values were successful:
grp.read('6/4/28')
grp.read('6/4/45')
os.sleep(5)
val_a=grp.getvalue('6/4/28')
val_b=grp.getvalue('6/4/45')
Is there such
err,val_a=grp.readAndWait('6/4/28')
?
I'm looking for a function which sends read request to KNX bus and waits for the result. The reason is I have two inputs which I need to be sure their values are actual.
This works but it's ugly because I don't check if the readings of both values were successful:
grp.read('6/4/28')
grp.read('6/4/45')
os.sleep(5)
val_a=grp.getvalue('6/4/28')
val_b=grp.getvalue('6/4/45')
Is there such
err,val_a=grp.readAndWait('6/4/28')
?
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259