07.10.2021, 06:15
Volume status problem!
volume = status.volume / status.max_volume * 100
grp.checkupdate('1/1/3', volume) -- current volume (1 byte scale)
The volume volume status is 100 but received volume value is 61
Therefore, the script is constantly updating the value.
volume = status.volume / status.max_volume * 100
grp.checkupdate('1/1/3', volume) -- current volume (1 byte scale)
The volume volume status is 100 but received volume value is 61
Therefore, the script is constantly updating the value.