home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.56k stars 30.35k forks source link

DTE Energy Bridge integration is obsolete. Should be removed. #98290

Closed dualtronic closed 4 months ago

dualtronic commented 1 year ago

The problem

DTE Energy Bridge integration had not worked since 2020. No new users can apply this integration because it required having a bridge in 2020 then isolating from the internet so it couldn't update its software. Even once opening the port would be enough to shut it off from HA. Currently there are 7 possible users (per documentation). That is a dead integration. Furthermore, leaving it in the documentation and including the DTE logo is misleading to those considering a new HA system as it cannot function for them. I recommend it be deprecated or removed.

What version of Home Assistant Core has the issue?

2023.8

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

dte_energy_bridge

Link to integration documentation on our website

https://www.home-assistant.io/integrations/dte_energy_bridge

Diagnostics information

N/A

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

It is possible to use MQTT to get the energy information from the DTE energy bridge, but that would require a completely different integration than what currently exists.

home-assistant[bot] commented 1 year ago

dte_energy_bridge documentation dte_energy_bridge source

dbpage commented 1 year ago

I am currently using the DTE Energy Bridge v1. I prefer the integration to remain available should I have to rebuild my Home Assistant.

TimTechToo commented 1 year ago

I am also currently using the DTE Energy Bridge v1. I prefer the integration to remain available should I have to rebuild my Home Assistant.

dualtronic commented 1 year ago

@dbpage @TimTechToo No V1 bridges should be out in the wild. DTE required that all v1 bridge hardware be returned to DTE unless stollen/destroyed and then pay a fine. It is a dead product and is misleading to leave the integration in Core. However, the new hardware version of the Energy bridge supports MQTT, so you would not lose access to your energy data automatons. Also, even if you do have an unauthorized V1, you can copy the source code and rebuild it as a user integration.

dbpage commented 1 year ago

I did not receive instructions to return my V1 bridge when DTE sent out the vew bridge.  I was never asked if the new bridge had been stolen/destroyed or to pay a fine.  When DTE started charging for the new bridge I followed instructions to return it to avoid paying a monthly charge.Yes, I can copy the source code and rebuild it as a user integration, if I knew how.Home Assistant has many little-used integrations that make it very useful for a wide variety of users.  I don't think removing the integration makes Home Assistant more useful.Please keep the integration.Thanks! -------- Original message --------From: Joe @.> Date: 9/1/23 11:23 PM (GMT-05:00) To: home-assistant/core @.> Cc: Dennis Page @.>, Mention @.> Subject: Re: [home-assistant/core] DTE Energy Bridge integration is obsolete. Should be removed. (Issue #98290) @dbpage @TimTechToo No V1 bridges should be out in the wild. DTE required that all v1 bridge hardware be returned to DTE unless stollen/destroyed and then pay a fine. It is a dead product and is misleading to leave the integration in Core. However, the new hardware version of the Energy bridge supports MQTT, so you would not lose access to your energy data automatons. Also, even if you do have an unauthorized V1, you can copy the source code and rebuild it as a user integration.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

TimTechToo commented 1 year ago

Ditto with dbpage. I had the exact same scenario. I was never asked to return V1. I promptly returned the subscription V2 product. V1 is currently blocked from the internet via my firewall.

dualtronic commented 1 year ago

Returns notwithstanding, V1 was deprecated over 5 years ago. That said, I have no problem leaving the integration in the main core. But it should be upgraded to communicate via MQTT so the vast majority of subscribers who would have the new hardware could use this integration as well. If not possible, then at the very least remove the DTE logo that is featured on the HA website. It was one of the reasons I switched to HA from Hubitat and I was very disappointed when I found it only supported hardware that is no longer available.

dbpage commented 1 year ago

As far as I know, unlike V2, V1 can't be accessed via MQTT.DTE uses oPower, but has not authorized third party access.  I have requested that DTE allow access.Until then, the V1 energy bridge is the only way for me to directly access meter readings and avoid a monthly charge. -------- Original message --------From: Joe @.> Date: 9/8/23 1:54 PM (GMT-05:00) To: home-assistant/core @.> Cc: Dennis Page @.>, Mention @.> Subject: Re: [home-assistant/core] DTE Energy Bridge integration is obsolete. Should be removed. (Issue #98290) Returns notwithstanding, V1 was deprecated over 5 years ago. That said, I have no problem leaving the integration in the main core. But it should be upgraded to communicate via MQTT so the vast majority of subscribers who would have the new hardware could use this integration as well. If not possible, then at the very least remove the DTE logo that is featured on the HA website. It was one of the reasons I switched to HA from Hubitat and I was very disappointed when I found it only supported hardware that is no longer available.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

dualtronic commented 1 year ago

An updated integration could easily accommodate both V1 and V2 by switching between endpoint and MQTT for the appropriate bridge unit.

As far as I know, unlike V2, V1 can't be accessed via MQTT.DTE uses oPower, but has not authorized third party access.  I have requested that DTE allow access.Until then, the V1 energy bridge is the only way for me to directly access meter readings and avoid a monthly charge. -

pookieman commented 1 year ago

Hiya .. I was hoping to use this integration with my v2 and HA .. so based on me reading the above this isn't possible at the moment?

dualtronic commented 11 months ago

Hiya .. I was hoping to use this integration with my v2 and HA .. so based on me reading the above this isn't possible at the moment?

@pookieman It is not possible via the native integration, but you can create your own MQTT link to the energybridge. It's not as simple as the native integration and requires some searching through the community website, but it can be done without too much work.

pookieman commented 11 months ago

@jlabataille thanks I figured it out and am happily consuming the MQTT events

appreciate the response

issue-triage-workflows[bot] commented 8 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

dualtronic commented 8 months ago

I'd like to see this integration rewritten for MQTT instead of using the deprecated endpoint as nobody except very old hardware can use it. However, I don't know if any developer is available for this effort.

joostlek commented 8 months ago

That sounds like a feature request to me and they should be on the forum. I think the docs should point out that this only works with V1 bridges and then we can close this issue as we don't want issues open for feature requests

dbpage commented 8 months ago

The DTE Energy Bridge Integration for V1 still doesn't work with the Utility Meter Integration. Energy Usage correctly displays Current Energy Usage and what I call Raw kW Monthly kW (resets monthly) that has no tariffs.

utility_meter:
  energy:
    name: Raw kW Monthly
    source: sensor.current_energy_usage
    cycle: monthly
    periodically_resetting: false
    unique_id: 2df070cc-2b4d-4984-b070-8c113002a244

There are no System Log errors except an occasional "Could not update status for DTE Energy Bridge (Current Energy Usage)" that is likely not an integration issue.

Logger: homeassistant.components.dte_energy_bridge.sensor
Source: components/dte_energy_bridge/sensor.py:78
Integration: dte_energy_bridge (documentation, issues)
First occurred: 12:54:18 PM (110 occurrences)
Last logged: 3:30:48 PM

Could not update status for DTE Energy Bridge (Current Energy Usage)
dualtronic commented 8 months ago

This integration works only for a few remaining beta hardware that were not returned or destroyed when the beta program ended over 5 years ago. DTE instructed those testers to return or destroy this hardware. Currently the total using this integration is less than 12 and will never increase. It's a dead integration that only works for experimental hardware for a beta program which instructed their users to stop using it over 5 years ago. The integration as it exists should NOT be a CORE integration and should be REMOVED from CORE.

For the handful with deprecated hardware, they can use the existing code as a custom integration. Even better, they can get new hardware from DTE Energy, which was the expectation when the beta program ended.

The current energy bridge hardware uses MQTT and has been available since the beta ended. If there is a DTE Energy Bridge integration, it should be the current production hardware. A core integration should not exist only for a handful of beta testers who didn't follow their beta testing agreement.

TimTechToo commented 8 months ago

Is there an echo in here?

dbpage commented 8 months ago

"DTE instructed those testers to return or destroy this hardware"--no such instruction was given to me as a user of V1 hardware. This instruction was given for V2 to avoid monthly charges, and I returned mine.

5 users are those who agreed to be tracked. There may be more. The alternatives to obtain data from DTE are to pay a subscription for current hardware, or install third party equipment at extra cost.

I am surprised by the harsh tone of this message. This is not the first time I received a harsh message. All this seems contrary to the original intent and devalues Home Assistant.

The magic of Home Assistant is fading...

I hope there is a change in tone and the V1 integration remains available and is made compatible with Utility Meter tariffs

dualtronic commented 8 months ago

I don't mind leaving it in core, but let's not mislead all the DTE energy bridge users who have the non-beta (production) hardware. Perhaps change the integration name/title and remove the DTE logo. It could be changed to something obscure like PrototypeEnergyBridge and remove the DTE logo.

joostlek commented 8 months ago

I don't see a reason why this integration should leave core. It works well for the people who use it. And removing the logo or name doesn't make sense, since it makes it undiscoverable for new home assistant users. Like also said before, the amount of users is way higher than 12.

Instead of trying to win this discussion, I would open a PR to the documentation repository where you could explain the working models.

joostlek commented 8 months ago

@dbpage that issue you're describing is a separate issue. Please open another one

TimTechToo commented 8 months ago

@joostlek dbpage is responding to the original post and subsequent comments. No need for opening a new issue.

joostlek commented 8 months ago

He is in https://github.com/home-assistant/core/issues/98290#issuecomment-1902759150

TimTechToo commented 7 months ago

I should have the book thrown at me. DTE gave me a V1 bridge and never asked for it back. I utilized it. Man, I should rot in jail.

dbpage commented 7 months ago

Noone is supposed to have a dte bridge for free. Its a fairness thing. Why do you get it for free and I dont? Its fraud. This integration abbets the fraud.

DTE did not require return of the V1 bridge. You can obtain one from eBay. V2 bridges required return or a subscription. https://www.ebay.com/itm/126162776333?mkcid=16&mkevt=1&mkrid=711-127632-2357-0&ssspo=j1p4zemaq8i&sssrc=4429486&ssuid=AjHSvxADS8C&var=&widget_ver=artemis&media=COPY

joostlek commented 7 months ago

Life isn't fair.

That's an issue you have to take up with DTE. This integration has nothing to do with it.

issue-triage-workflows[bot] commented 4 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.