DTE Energy Bridge issue

tried installing a dte energy bridge, I have it working in dte app and can see data from there’re mobile app. I can not hover get it to work on home assistant
log
2017-06-02 02:42:27 WARNING (Thread-5) [homeassistant.components.sensor.dte_energy_bridge] Could not update status for DTE Energy Bridge (Current Energy Usage)
config.

  • platform: dte_energy_bridge
    ip: 192.168.1.53
    I did checkto see that I do have the correct ip address according to my router

This is most likely a result of the API changing for the local bridge. I also did notice there’s 2 versions of the DTE energy bridge. It’s possible the first one may only work with HA. I’ll try to Wireshark this at some point to get mine working (if possible) as I’m in the same boat.

cool, I had some automations in mind to use it with

The undocumented API is still accessible in the v2, it just moved to the following URL:

http://IP_ADDRESS:8888/zigbee/se/instantaneousdemand

The v1 sensor plugin can be tricked into using the new URL:

sensor:
  - platform: dte_energy_bridge
    ip: <IP_ADDRESS>:8888/zigbee/se
    scan_interval: 5

It’d be pretty easy to make the sensor automatically detect the energy bridge version, since the v1 listens on port 80 and the v2 listens on port 8888. I’ll try to make a pull request later.

1 Like

thank you worked well

Did you get the DTE meter to work…….I tried the above and I get the following

Invalid status_code from DTE Energy Bridge: 404 (DTE Energy Meter)
7:58 AM components/sensor/dte_energy_bridge.py (WARNING)

I have version 2 of the meter
my setup

sensor:
  - platform: dte_energy_bridge
    name: DTE Energy Meter
    version: 2
    ip: my ip:8888/zigbee/se/instantaneousdemand

no issues using it over here. My config looks like this:

- platform: dte_energy_bridge
  ip: xxx.xxx.xxx.xxx
  version: 2

this is mine and I don’t get anything but an item on my overview screen, no updates no values. I think I got everything right

sensor:
  - platform: dte_energy_bridge
    name: DTE Energy Meter
    ip: !secret DTE_Meter
    version: 2

This is what I get in my log, any ideas?

Invalid status_code from DTE Energy Bridge: 404 (DTE Energy Meter)
4:46 PM components/sensor/dte_energy_bridge.py (WARNING)