Utility Meter not reporting

I have configured a couple of Utility Meters but they are not reporting correctly, and i can’t figure out what’s the problem.

What i’m using:

  • Software
    • HassIO version 0.114.2 on a Raspberry PI
    • Mosquitto MQTT add-on (latest version)
    • Zigbee2MQTT add-on (dev version)
  • Hardware
    • CC2531 USB dongle
    • Blitzwolf BW-SHP13 smart plug (Tuya TS0121)

Configurations

MQTT sensor

sensor:
  - platform: "mqtt"
    name: "Power Socket 1 Energy" 
    state_topic: "zigbee2mqtt/0x842e14fffe51c452"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "kWh"
    icon: "mdi:power-socket-de"
    value_template: "{{ value_json.energy }}"

Which reports nicely

Utility Meters (hourly/daily/weekly/monthly) based on the MQTT energy sensor

utility_meter:
  power_socket_1_hourly:
    source: sensor.power_socket_1_engery
    cycle: hourly

same for daily/weekly/monthly

Presenting sensors on my dashboard

    # Utility meter sensors
      - type: vertical-stack
        cards:
          - type: entities
            entities:
              - sensor.power_socket_1_hourly
              - sensor.power_socket_1_daily
              - sensor.power_socket_1_weekly
              - sensor.power_socket_1_monthly

Sensors are visible in my entities (state: collecting, last_reset: correct) but reporting 0 values?

And the meters on my dashboard also stay 0?
image

you have a typo in your “source”:

“engery”

1 Like

Damn, what an idiot am I. Have been staring at this problem all night, last night. Thanks for helping me out!

Please mark the post that helped as solved.