I'm trying to help to dev a Python Plugin for Zigate.
Zigate is a kind of RFLink but for Zigbee Devices, this can work with a lot of Zigbee Devices, You don't need to pair them to a External Gateway (Everything can stay in your home, no way to send it outside

http://zigate.fr/
A french Dev is already working a plugin : https://github.com/sasu-drooz/Domoticz-Zigate
We are facing a problem who can be solve by Python Plugin System creator : Updating Battery Level
The Main way that all Python Plugin Dev use is to creat a % device who show battery level information : ok, acceptable as we don't use to have 25 Mi Robot Vaccum Cleaner in one house
A lot of Zigbee Device send their Battery Level without sending any other information, Xiaomi Ones send this every 50 Minutes.
Actually Python PlugIn system set Battery as an Option, this mean that if a device send a Battery Level Infomation, we have to update the wol device :
Code: Select all
Devices[x].Update(nValue = int(CurrentnValue),sValue = str(CurrentsValue), BatteryLevel = BatteryLvl )
Code: Select all
2018-04-03 08:31:28 Right Click
2018-04-03 07:41:21 Right Click
2018-04-03 06:51:16 Right Click
2018-04-03 06:01:08 Right Click
2018-04-03 05:11:01 Right Click
2018-04-03 04:20:53 Right Click
2018-04-03 03:30:47 Right Click
2018-04-03 02:40:39 Right Click
2018-04-03 01:50:30 Right Click
2018-04-03 01:00:22 Right Click
2018-04-03 00:10:14 Right Click
2018-04-02 23:20:06 Right Click
2018-04-02 22:29:58 Right Click
2018-04-02 21:39:51 Right Click
2018-04-02 20:49:45 Right Click
Is there a way to update Battery information without Update Nvalue and Svalue ?, As this a full fonction of Domoticz this can be a Mandatory Fonction.