XMWSDJ04MMC - No battery level
cvjensen opened this issue · 8 comments
Hi there , I have added this device in my esp config:
- platform: miot_thermogigro
mac_address: AA:BB:CC:DD:EE:FF
bindkey: "1234567...."
name: "E-ink Test Temperatur"
humidity:
name: "E-ink Test Fugtighed"
battery_level:
name: "E-ink Test Batteri"
- platform: ble_rssi
mac_address: AA:BB:CC:DD:EE:FF
name: "E-ink Test signalstyrke"
id: test_rssi
Everything seems fine except the battery data:
How can that be ?
Hi @cvjensen! Sometimes it may take several hours before the battery status changes.
Also if you have “Unhandled object attribute” in the log, please let me take a look at it.
It has now been running for 3 days and battery still shows as unknown .
Which log should I look in ? just the system log? Cause there are no “Unhandled object attribute”
I currently support two types of battery charge attributes, standard and XMWSDJ04MMC-specific. In your case, for some reason, the device does not send data or sends something completely different, which is why the message "Unhandled object attribute" is interesting for me. We are also interested in messages related to the sensor "E-ink Test Batteri", there may be an error in the code.
I had some troubles with my esp suddenly starting to reboot all the time so I had to remove the new XMWSDJ04MMC and your code . I dont know if its a lack of processing power, errors in the code or just too many BT devices connected .
I have ordered a new stronger ESP32 and will test it later on . Then we can take a look at your code and my BT device together.
Hi @cvjensen yes, my integration is passive, it could update data only when it sent by device.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.