home-assistant-solaredge-modbus icon indicating copy to clipboard operation
home-assistant-solaredge-modbus copied to clipboard

Allow changing of config from Integrations page

Open ryanm101 opened this issue 2 years ago • 7 comments

Once i set mine up i was on DHCP for my IP which fell within my automatic range. When i set a static reservation I had to delete and recreate the integration.

I'm currently waiting on batteries which have not arrived yet but I'm going to have to delete and readd the integration again when they arrive as well.

Allowing the full config to be changed without deleting and readding the integration

ryanm101 avatar Sep 06 '22 09:09 ryanm101

I would be also grateful to be able to change integration settings, instead of removing and adding back. I just need to change setting not to keep connection alive.

gferen avatar Sep 23 '22 10:09 gferen

yes, would be great. Right now, you need to define the amount of meters, batteries, and so on during the setup.

Else, the status of all sensors would be "unknown".

If something on your setup changes, it would be great to be able to change these type of things within the UI...

  • Inverters IP address
  • Connection Port
  • Amount of connected Meters, Batteries, etc.

ChristophCaina avatar Oct 20 '22 07:10 ChristophCaina

I think Amount of connected Meters, Batteries, etc should be 'detectable' based on values returned in the common block.

ryanm101 avatar Oct 20 '22 08:10 ryanm101

+1 on this fine suggestion. Having to recreate it to fiddle with the options is not fun.

bramvandenbussche avatar Feb 08 '23 14:02 bramvandenbussche

I would like this feature as well. I had to set up a new solaredge modbus device in homeassistant after changing the inverter to a new IP address, and it really complicated my Energy Dashboard history.

rehanson avatar Feb 21 '23 18:02 rehanson

you can change the IP Address of the inverter by just changing it within the /config/.storage/core.config_entries there, you should find the configuration for the solaredge_modbus component and there, you can change the ip address (host). That should help if it's only about a small change (like port, ip or to add / remove a battery / meter)

I know, it is a bit more complicated, but would allow you to edit the changes without removing the integration at all.

So maybe, to consider as a workaround :)

ChristophCaina avatar Feb 21 '23 18:02 ChristophCaina

My understanding was that messing with the core.config_entries file wasn't really recommended. I don't want to cause any problems by manually editing it.

rehanson avatar Feb 21 '23 20:02 rehanson