DTE Energy Bridge v2 Configuration issues

So I have been bashing my head against the wall on this all week on this subject.

The newer v2 version of the DTE Energy Gateway does not work with the DTE integration. Which I knew from reading the integration page that I would have to use MQTT instead. Fine, understood. Struggling through MANY forum posts scattered throughout the web (many of which contain instructions with now deprecated code & functions) I was able to cobble together enough config examples to get it working.

FOR 3 HOURS ONLY

After that, the energy page stopped updating. Digging into it further, it now complains with the following;

Unexpected device class
The following entities do not have the expected device class:

  • sensor.energy_daily

I don’t understand why it was working without issue for several hours, then all of the sudden has an issue.

Here is the configuration steps that I did;

Create file “share/mosquitto/dte.conf” with the following;

connection dte
address {bridge IP address}:2883
clientid homeassistant-1
try_private false
start_type automatic
topic event/metering/# in 0

In the main HA configuration.yaml file, add the following;

#DTE
mqtt:
  sensor:
    - name: "DTE Energy Bridge"
      state_topic: "event/metering/summation/minute"
      unit_of_measurement: 'kWh'
      value_template: "{{ value_json.value | round (0) }}"

sensor:
  - platform: integration
    source: sensor.dte_energy_bridge
    name: energy_spent
    unit_prefix: k
    round: 2
  
utility_meter:
  energy_daily:
    source: sensor.energy_spent
    cycle: daily

Did you ever get anything solid running? I used to have this running great and now I can’t get it to work at all. So annoying

Unfortunately no.

In fact my DTE Insight box stopped plain stopped reporting anything to MQTT. So either something got borked on my end, or DTE removed the MQTT access in an update.

Either way I got so frustrated with it I just got rid of it all together.

Was thinking about going with an ESP-Home flashed Emporia Vue 3 current clamp monitor that Digiblur DIY demoed over on his youtube channel.

https://www.youtube.com/watch?v=Z52y1Gm4VAg