Sequential update of properties linked to Broadlink device properties failed if these properties are updated with single method.
This could be demonstrated with properties updated via call to HYSEN.set_advanced(...).
How to reproduce:
MD is installed on Windows, Broadlink module is configured as PHP module.
Scan and register Hysen thermostat.
Bind new device properties 'svh' and 'svl' to any MD device properties. Let's assume
svh is bound to therm1.svh
and
svl is bound to therm1.svl
Create any method updating properties with php code:
This code will not store svh value due to second call to set_advanced() will use unchanged 'svh' property value.
Issue may be workarounded with 0.1s delay between calls (if your system is fast enough ;) :
Sequential update of properties linked to Broadlink device properties failed if these properties are updated with single method. This could be demonstrated with properties updated via call to HYSEN.set_advanced(...).
How to reproduce:
MD is installed on Windows, Broadlink module is configured as PHP module.
Scan and register Hysen thermostat.
Bind new device properties 'svh' and 'svl' to any MD device properties. Let's assume svh is bound to therm1.svh and svl is bound to therm1.svl
Create any method updating properties with php code:
setGlobal('therm1.svh', 10); usleep(500000); setGlobal('therm1.svl', 30);