-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for non-sequential inverter device-ids #526
Comments
You say your configuration follows https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Configuration But there it says: Important: If you have more than one inverter, the inverters must have sequential unit IDs (i.e. 1, 2, 3, ...). Edit: typo |
If you don't want to use a compatible config for right now, then you'll need to wait then until some future version allows non-sequential inverter IDs. |
@WillCodeForCats non-sequential device ids is a valid Solaredge configuration. As long as my installation is under warranty, I cannot make changes to the setup w/o the risk of loosing warranty coverage from my installer. I hope you can understand this and I would really appreciate if this can be fixed. Thx. |
Non sequential ID support is already on the project idea list, but there is no timeline for it. |
Appreciated 👍 |
A quick and dirty hack to support inverters with non-sequential IDs as interim fix in the file hub.py line 205ff.
|
Yes I already have a solution, it's just not uploaded. |
It will be part of #460 but there are other enhancements I want to get released first. Changing how it handles inverter IDs is is not backwards compatible, so once existing users upgrade it will force a config schema migration internally where they won't be able to downgrade to a previous version. This will be in the 2.5.x releases, it won't be part of the current 2.4.x line. |
Has this been implemented? I have 2 inverters and I could never get this to find my second inverter so I was thinking it may not be a sequential id? |
does this still work? i think i am having the same issue... i have 2 inverters and it fails whenever i set the integration to 2 |
@WillCodeForCats Hello... i was just curious if this is still on your radar to do? |
Yes, I've made a few iterations but wasn't happy with them or how the code looked. Progress is in #604 and the branch. |
Release v3.0.0-pre.1 is now available for testing. |
i grabbed it and installed it and at least for me its not working. i set it for 2 inverters and errored retried 3 times and failed. oh well... i guess i have something else wrong. |
I need details. Log messages, screenshot. It works fine for me on my system. |
i attached the debug log and let me clarify that i am not 100% sure its not something on my system. the integration works fine when i set it for 1 inverter, but will not work when i set it for 2 and i have 2 inverters. so perhaps something in the 2nd one is still not right? home-assistant_solaredge_modbus_multi_2024-08-23T20-23-35.039Z.log |
You should also remove the |
so i need to know the inverter ID numbers? well i do not know them and will probably have to jump through hoops to find them from my service providers :( |
so i set it up like in your pics and still fails :( home-assistant_solaredge_modbus_multi_2024-08-23T20-51-44.508Z.log |
For now, yes, you need to know the inverter IDs. If the first one always worked then we already know the first ID is You can try updating the ID list to find it, such as Sometimes installers might leave follower inverters set to Unit ID 1. You're supposed to change it but it still works this way with the monitoring platform, but will not work for modbus. My inverters were like this after first install and I had to go in and change my second ID. |
@WillCodeForCats thank you! The new non sequential device id feature works perfectly fine for me.
|
so i was able to get into my follower inverter and it was set to 1 so i changed it to 2. i do not know why, but i could not get into my main inverter. i used the same steps but my phone would connect to the wifi but the page would not open. i remember the tech who turned on the modbus said he followed the guide i gave him so, that and this integration worked with "1" i just assumed it was setup correctly. I guess it was as i changed this integration to "1,2" and now i see 2 inverters in HA without errors. thank you for all the help |
Awesome, glad to hear you got it working. |
Describe the bug
I do have a setup of 2 inverters, a SE battery and the SE Backup interface. The primary inverter, a SE-10K-RWB48 has the device id 1. The second inverter, a SE-5K, which is connected as as a slave, has the device id 9. I tried all possible configuration entries, but this integration only finds the RWB48 inverter along with the battery and the meter, but not the slave inverter. The device ids were set by the installer company and I dont want to change them. Is there a way how I can run all inverters with this integration?
Expected behavior
When entering the number of inverters and starting device id in the config menu, all connected devices should be found.
Screenshots
No response
Diagnostic File
--
Debug logs
No response
Home Assistant Version
2024.1.6
solaredge-modbus-multi Version
2.4.9
Installation Type
Core
Read the Instructions
Additional Context
No response
The text was updated successfully, but these errors were encountered: