Select Add-On (place a lowercase x for the relevant add-on)
[ x] Xiaomi Mi Scale
Describe the bug
In #85 you answered that this component is probably not compatible with ESPhome bluetooth proxies.
I found that it in fact works. At least partially.
The entities for the last scale measurement are correctly received using a BT proxy (Mass, Mass non stabilized, Impedance, Signal Strength). The only part that does not work is the following MQTT transmission. This only works when the scale is used without a proxy. Using the proxy the MQTT transmittion is never triggered. So all person specific entities are never updated when the proxy is in the chain.
Is it possible that you are using two different ways to get the BT information here?
To Reproduce
Steps to reproduce the behaviour, including error message if any.
Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Scale (please complete the following information):
Name
Mi Body Composition Scale 2
Model #
XMTZC05HM
Device running Home Assistant (please complete the following information):
Device used to run the Script/Container [e.g. Raspberry Pi, NUC]
Raspberry Pi 5b
Bluetooth device used [e.g. Built-in, USB Dongle]
Built-in hci0 (with and without ESPhome BT proxy)
Home Assistant Version:
2024.04.3
Additional context
HA log of a typical measurement using the BT proxy:
As said this measurement IS received by your component and its entities but it does not send out an MQTT transmission to update the data of the person specific entities.
Select Add-On (place a lowercase
x
for the relevant add-on)Describe the bug In #85 you answered that this component is probably not compatible with ESPhome bluetooth proxies. I found that it in fact works. At least partially. The entities for the last scale measurement are correctly received using a BT proxy (Mass, Mass non stabilized, Impedance, Signal Strength). The only part that does not work is the following MQTT transmission. This only works when the scale is used without a proxy. Using the proxy the MQTT transmittion is never triggered. So all person specific entities are never updated when the proxy is in the chain. Is it possible that you are using two different ways to get the BT information here?
To Reproduce Steps to reproduce the behaviour, including error message if any.
Expected behaviour A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Scale (please complete the following information):
Device running Home Assistant (please complete the following information):
Home Assistant Version: 2024.04.3
Additional context HA log of a typical measurement using the BT proxy:
As said this measurement IS received by your component and its entities but it does not send out an MQTT transmission to update the data of the person specific entities.