12.06.2023, 07:24
You need to use event.getvalue(). grp.read() sends read request but does not return the actual value.
Code:
value = event.getvalue()
value = 20 + value * 1.2
grp.checkwrite('0/3/68', value)