CJNE / ha-myenergi

Home Assistant integration for MyEnergi devices
MIT License
143 stars 32 forks source link

Harvi deleted from myenergi account #446

Open gilsonbeckman opened 10 months ago

gilsonbeckman commented 10 months ago

Version 0.0.24

Configuration

Standard configuration, no customisation or changes. Just using my credentials from MYenergi to connect to Cloud.

Describe the bug

Every time I restart my home assistant my Harvi product is deleted from myenergi.com product list. I also find other Harvi's linked to my account that I am not the owner. the list of Products in myenergi.com is getting messed since I updated ha-myenergi to version 0.0.24

Just after the update, few entities were duplicated so I removed the integration and added it again. The entities were fixed but I started to notice some mess with my products in myenergi.com

Debug log

myenergi Version: 0.0.24 This is a custom integration! If you have any issues with this you need to open an issue here: https://github.com/CJNE/ha-myenergi/issues

2023-11-08 13:31:50.897 DEBUG (MainThread) [custom_components.myenergi] Refresh histoy local start of day in UTC 2023-11-08 00:00:00+00:00 UTC 2023-11-08 13:31:53.195 DEBUG (MainThread) [custom_components.myenergi] Finished fetching myenergi data in 2.298 seconds (success: True) 2023-11-08 13:32:52.791 DEBUG (MainThread) [custom_components.myenergi] Refresh histoy local start of day in UTC 2023-11-08 00:00:00+00:00 UTC 2023-11-08 13:32:53.022 DEBUG (MainThread) [custom_components.myenergi] Finished fetching myenergi data in 0.231 seconds (success: True) 2023-11-08 13:33:52.791 DEBUG (MainThread) [custom_components.myenergi] Refresh histoy local start of day in UTC 2023-11-08 00:00:00+00:00 UTC 2023-11-08 13:33:53.085 DEBUG (MainThread) [custom_components.myenergi] Finished fetching myenergi data in 0.294 seconds (success: True)

gilsonbeckman commented 10 months ago

Removed the integration for few hours and when I reinstalled it I had my Eddi and Harvi deleted from my account (myenergi). Myenergi support confirmed the issue on their portal related to phantom devices and deleted devices.. I am not sure if this is being caused by the integration or not. It is very strange to have the devices deleted (and create) when I reinstall the integration or reboot HA

gilsonbeckman commented 10 months ago

Trying to get more evidences of the issue, I re-installed again the integration and now I had my Eddi and my Harve deleted from my account. I needed to reconnect both and I lost the history of my generation/import/export from myenergi portal.

G6EJD commented 10 months ago

The integration is read-only, it’s impossible to write back to the ME servers with say phantom serial numbers.

gilsonbeckman commented 10 months ago

Hi G6EJD, thank you for the update. Is there any possibility of it be moving the Products to Deleted list? or causing it by any reason? It was a coincidence to have products deleted when reboot HA or re-install the integration :( Thanks

G6EJD commented 4 months ago

This issue is nothing to do with this integration or software and needs to be deleted

G6EJD commented 3 months ago

This issue needs to be closed by the instigator.