23.11.2020, 08:35
You should use checkwrite and also send false when there's no error. This will send true when delta is more than 4 minutes, false otherwise:
Status is not updated because there's a response from the gateway. "Illegal data address" is not a connection error. There's a special error code 11 (Gateway Target Device Failed to Respond) that should have been used for this.
Code:
grp.checkwrite('1/1/1', delta1 > 240)
Status is not updated because there's a response from the gateway. "Illegal data address" is not a connection error. There's a special error code 11 (Gateway Target Device Failed to Respond) that should have been used for this.