To contribute to this page, edit the following file

DIYRuZ DIYRuZ_Flower #

Model DIYRuZ_Flower
Vendor DIYRuZ
Description Flower sensor
Exposes soil_moisture, battery, illuminance, humidity, pressure, temperature, linkquality
Picture DIYRuZ DIYRuZ_Flower

Notes #

Device type specific configuration #

How to use device type specific configuration

Exposes #

Soil_moisture (numeric) #

Measured soil moisture value. Value can be found in the published state on the soil_moisture property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is %.

Battery (numeric) #

Remaining battery in %. Value can be found in the published state on the battery property. It’s not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 100. The unit of this value is %.

Illuminance (numeric) #

Raw measured illuminance. Value can be found in the published state on the illuminance property. It’s not possible to read (/get) or write (/set) this value.

Humidity (numeric) #

Measured relative humidity. Value can be found in the published state on the humidity property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is %.

Pressure (numeric) #

The measured atmospheric pressure. Value can be found in the published state on the pressure property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is hPa.

Temperature (numeric, ds endpoint) #

Measured temperature value. Value can be found in the published state on the temperature_ds property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is °C.

Temperature (numeric, bme endpoint) #

Measured temperature value. Value can be found in the published state on the temperature_bme property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is °C.

Linkquality (numeric) #

Link quality (signal strength). Value can be found in the published state on the linkquality property. It’s not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 255. The unit of this value is lqi.

Manual Home Assistant configuration #

Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.soil_moisture }}"
    unit_of_measurement: "%"
    icon: "mdi:water-percent"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.battery }}"
    unit_of_measurement: "%"
    device_class: "battery"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.illuminance }}"
    device_class: "illuminance"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.humidity }}"
    unit_of_measurement: "%"
    device_class: "humidity"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.pressure }}"
    unit_of_measurement: "hPa"
    device_class: "pressure"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.temperature_ds }}"
    unit_of_measurement: "°C"
    device_class: "temperature"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.temperature_bme }}"
    unit_of_measurement: "°C"
    device_class: "temperature"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.linkquality }}"
    unit_of_measurement: "lqi"
    icon: "mdi:signal"