Skip to content

Mi Flora ​

This extension reads the Xiaomi Mi Flora plant sensor (model HHCCJCY01), also sold as Flower Care and under other labels. It decodes the readings the sensor broadcasts and never connects to it, so it needs no app, account or cloud service.

Supported Things ​

Thing Type IDDescription
hhccjcy01Mi Flora plant sensor (HHCCJCY01, product 0x0098)

The sensor broadcasts its readings in unencrypted Xiaomi "MiBeacon" service data (UUID 0xFE95). Only the BlueZ bridge passes service data on, so the thing works with a bluez bridge, or a roaming bridge over BlueZ adapters.

Discovery ​

Sensors are discovered by the name they advertise, Flower care.

Thing Configuration ​

ParameterTypeDefaultRequiredDescription
addresstextYesBluetooth address of the sensor, in XX:XX:XX:XX:XX:XX format
dataTimeoutinteger10NoMinutes without a reading before the thing goes offline

Channels ​

ChannelTypeDescription
temperatureNumber:TemperatureAmbient temperature in °C
illuminanceNumber:IlluminanceAmbient illuminance in lx
moistureNumber:DimensionlessSoil moisture in %
conductivityNumber:ElectricConductivitySoil conductivity in µS/cm (indicates fertility)
rssiNumber:PowerReceived signal strength in dBm

The sensor broadcasts one reading at a time and cycles through all four, so each channel updates about every 40 seconds. The battery level is not broadcast; reading it would need a connection, which this extension does not make.

Full Example ​

miflora.things:

dsl
Bridge bluetooth:bluez:hci0 [ address="00:11:22:33:44:55" ] {
    Thing hhccjcy01 basil "Basil" [ address="C4:7C:8D:12:34:56" ]
}

miflora.items:

dsl
Number:Temperature          Basil_Temperature  "Temperature [%.1f %unit%]"  { channel="bluetooth:hhccjcy01:hci0:basil:temperature" }
Number:Illuminance          Basil_Light        "Light [%.0f %unit%]"        { channel="bluetooth:hhccjcy01:hci0:basil:illuminance" }
Number:Dimensionless        Basil_Moisture     "Moisture [%.0f %unit%]"     { channel="bluetooth:hhccjcy01:hci0:basil:moisture", unit="%" }
Number:ElectricConductivity Basil_Conductivity "Conductivity [%.0f %unit%]" { channel="bluetooth:hhccjcy01:hci0:basil:conductivity", unit="µS/cm" }