I might need a little help from you guys:
I got a new (and first) Xiaomi Flower Care sensor yesterday. To connect this to HA, without adding more hardware (ESP etc.), I use my Android Dashboard tablet with the Theengs app.
This app sends the data via MQTT to HA, which also does receive it.
The problem is, the MQTT-telegrams might not be properly interpreted.
I can only see temperature and light-intensity, but none of the really interesting values, such as fertility and moisture.
See here:
I’m really a MQTT novice, but I’ve already seen that the telegrams do contain the data-points, here is the data from the integration:
Payload for LUX (same exists for temperature)
{
"device": {
"connections": [
[
"mac",
"5C857E135A0D"
]
],
"identifiers": [
"5C857E135A0D"
],
"manufacturer": "Xiaomi/VegTrug",
"model": "HHCCJCY01HHCC",
"via_device": "020000000000",
"name": "Flower care"
},
"device_class": "illuminance",
"state_class": "measurement",
"state_topic": "+/+/BTtoMQTT/5C857E135A0D",
"unique_id": "5C857E135A0D-lux",
"unit_of_measurement": "lx",
"value_template": "{{ value_json.lux | is_defined }}",
"name": "HHCCJCY01HHCC-lux"
}
Here are the telegrams, clearly containing the moisture and fertility apart from lux:
Received 14:51:23
Topic: homeassistant//BTtoMQTT/5C857E135A0D
QoS: 0
Payload: {"id":"5C:85:7E:13:5A:0D","name":"Flower care","rssi":-81,"brand":"Xiaomi/VegTrug","model":"MiFlora","model_id":"HHCCJCY01HHCC","type":"PLANT","lux":329,"mac":"5C:85:7E:13:5A:0D"}
Received 14:51:40
Topic: homeassistant//BTtoMQTT/5C857E135A0D
QoS: 0
Payload: {"id":"5C:85:7E:13:5A:0D","name":"Flower care","rssi":-82,"brand":"Xiaomi/VegTrug","model":"MiFlora","model_id":"HHCCJCY01HHCC","type":"PLANT","moi":21,"mac":"5C:85:7E:13:5A:0D"}
Received 14:51:43
Topic: homeassistant//BTtoMQTT/5C857E135A0D
QoS: 0
Payload: {"id":"5C:85:7E:13:5A:0D","name":"Flower care","rssi":-89,"brand":"Xiaomi/VegTrug","model":"MiFlora","model_id":"HHCCJCY01HHCC","type":"PLANT","fer":134,"mac":"5C:85:7E:13:5A:0D"}
Can you help me, how to get the fertility and the moisture into HA? These are the main measurements for which I’ve bough the sensor (and I want to get more if it is working!)