Miflora moisture and fertility values are not present in the homeassistant device

Hi,
I have OMG on ESP32 connected to the Homeassistant.
I also have a single Miflora sensor.

The device in Homeassistant has 3 entities: “batt”, “lux” and “tempc”, but no moisture data.
Screenshot_20220115_192620

However I can see “fer” and “moi” values in the MQTT topic but they are not present in the device.

home/OpenMQTTGateway-2/BTtoMQTT/80EACA600505 {"id":"80:EA:CA:60:05:05","name":"Flower care","rssi":-90,"brand":"Xiaomi","model":"Miflora","model_id":"HHCCJCY01HHCC","fer":379}
home/OpenMQTTGateway-2/BTtoMQTT/80EACA600505 {"id":"80:EA:CA:60:05:05","name":"Flower care","rssi":-91,"brand":"Xiaomi","model":"Miflora","model_id":"HHCCJCY01HHCC","lux":4843}
home/OpenMQTTGateway-2/BTtoMQTT/80EACA600505 {"id":"80:EA:CA:60:05:05","name":"Flower care","rssi":-93,"brand":"Xiaomi","model":"Miflora","model_id":"HHCCJCY01HHCC","moi":35}
home/OpenMQTTGateway-2/BTtoMQTT/80EACA600505 {"id":"80:EA:CA:60:05:05","name":"Flower care","rssi":-91,"brand":"Xiaomi","model":"Miflora","model_id":"HHCCJCY01HHCC","tempc":25.8,"tempf":78.44}

I tried to remove the device, but after it was recreated it has the same entities.

Any suggestions?

Cheers.

Hi,

Is this with v0.9.9beta ?

development branch, commit 892cbc3

Oh, I see, you’ve fixed Mi Body Composition Scale2 discovery XMTZC05HM not working in 0.9.9beta · Issue #1123 · 1technophile/OpenMQTTGateway · GitHub
Maybe this is my problem. Let me update and try again.

Ok, the latest develop branch is working fine.

1 Like