New version of Zigbee Contact Mc
I have modified the driver to have the option to view and control the battery levels of all devices paired with the driver.
-
I have added a preference to be able to create a virtual device that will show the battery levels of all the devices paired to the driver and that the user selects with this same preference by setting the value to True.
-
This device with false value in preference will not show on virtual device
-
Only one virtual device will be created, from the first device in which sets the value of the preference to True.
-
The values will be updated every 1 hour or every time the virtual device is refreshed with the App.
-
It will show the GMT time, known to the driver, of the last information update.
-
What the driver does is read the last value emitted, which the hub firmware saves every time a new value is emitted. Therefore, it consumes few resources and does not create traffic on the network. It’s like having another device installed.
-
The Battery level value will be shown in:
- Green color if it is >= 70%
- Blue color if it is >=50% and <70%
- Orange color if it is >=35% and <50%
- Red color if it is <35% or battery status is not emitted or saved in the hub
I will implement it in other drivers that use battery powered devices.
The new version of the driver will be updated automatically in 12 hours maximum
───────────────────────────────────────────────────
Name Zigbee Contact Mc
Version 2024-01-23T20:08:51.567914786
───────────────────────────────────────────────────