Open yunnanpl opened 1 year ago
As disscussed in the other topic, adding of other devices was requested (like Qingping CGH1). At the moment it is tricky, as it is focused on EQ3. Changing the whole to objects would push it forward.
Firstly, it does support EQ3 and MJ_HT_V1 Xiaomi bluetooth thermometers. Secondly, I changed the HASS integration, that there is a real device integration in HASS (also for temperature). So, slowly it moves forward ;)
The main aim for this project is clearly support EQ3. Still, I do have the MJ_HT_V1 Xiaomi bluetooth thermometers which the system supports right now.
I do have other smaller Xiaomi thermometers with "improved" firmware, which I want to add to in the future.
In addition, there is a plan to do presence tracking based on passive BLE signals (for BLE beacons etc.). This partially works already.
Anyway, in order to cleanly do the above, it would be reasonable to rewrite the code to be more object oriented. Still, I have not done this until now, as I am worried it the amount of RAM will be enough to support it.
In order to add passive devices, the BLE packet needs to be understood. In addition the Home Assistant discovery mqtt needs to be created. This is usually not hard for most passive devices.