ZyAura CO2 & Temperature & Humidity Sensor

The ZyAura CO2 & Temperature & Humidity sensor allows you to use your ZGm05(3)(U) (MT8057, MT8057S), ZG1683R(U) (MT8060), ZG1583RUD monitors with ESPHome.

../../_images/zgm053-full.jpg

ZyAura ZGm053U CO2 & Temperature Monitor.

../../_images/zgm053-connection.jpg

ZyAura ZGm053U connection diagram (1 - empty, 2 - clock, 3 - data, 4 - GND).

# Example configuration entry
sensor:
  - platform: zyaura
    clock_pin: D1
    data_pin: D2
    co2:
      name: "ZyAura CO2"
    temperature:
      name: "ZyAura Temperature"
    humidity:
      name: "ZyAura Humidity"

Configuration variables:

  • clock_pin (Required, Pin): The pin where the clock bus is connected.
  • data_pin (Required, Pin): The pin where the data bus is connected.
  • co2 (Optional): The information for the CO2 sensor.
    • name (Required, string): The name for the CO2 sensor.
    • id (Optional, ID): Set the ID of this sensor for use in lambdas.
    • All other options from Sensor.
  • temperature (Optional): The information for the temperature sensor.
    • name (Required, string): The name for the temperature sensor.
    • id (Optional, ID): Set the ID of this sensor for use in lambdas.
    • All other options from Sensor.
  • humidity (Optional): The information for the humidity sensor
    • name (Required, string): The name for the humidity sensor.
    • id (Optional, ID): Set the ID of this sensor for use in lambdas.
    • All other options from Sensor.
  • update_interval (Optional, Time): The interval to check the sensor. Defaults to 60s.

Note

ZGm05 monitor (and maybe others) needs some initial time to get correct data when powered on. Only after this timespan will the sensor report correct values. It’s not recommended to set update_interval lower than 20s.