Replies: 3 comments 1 reply
-
It has been reported that some inverters don't respond to registers or stop responding to battery registers after a firmware update. |
Beta Was this translation helpful? Give feedback.
-
Thanks Seth, but I see the same thing happening with activating Power Control Options, without any battery selected. Same issue, different side? |
Beta Was this translation helpful? Give feedback.
-
Thank you again Seth @WillCodeForCats ! Appreciate all your hard work here for this amazing integration. I am going to try a complete shutdown (which I have not done in a while) tonight to see if this will fix the issue (slim hope, but why not). |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
System:
1x BUI (Backup Interface)
3 x SE7600H-US
3 x LG RESU 16
Thanks @WillCodeForCats Seth for creating this amazing integration. It's pretty amazing :) However, I've been struggling with getting it working. I have a 3 inverter system, each inverter has 1 battery (LG RESU16) connected for a total of 3 inv/3 bat.
All inverters are connected via Ethernet, on the same subnet (initially I had the inverters on a different subnet for IOT stuff but moved them to the same subnet as the HA VM).
All inverters have Modbus TCP on, initially port 1502, and Leader ID set to 1, next inverter Follower ID set to 2, and last inverter Follower set to ID 3.
Batteries were set to ID 15. I tried changing this to troubleshoot, using ID 16 and communication with the inverter failed so I had to restore ID to 15.
On the default settings, the modbus integration fails. I UNCHECKED "auto-detect additional entities" and this did not give a connection either.
The only way I can get an initial connection is to set everything OFF:
![image](https://private-user-images.githubusercontent.com/30779629/348225783-1f1295eb-1b60-4865-bc00-cbf0e8163bce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY5NDcsIm5iZiI6MTcyNjA1NjY0NywicGF0aCI6Ii8zMDc3OTYyOS8zNDgyMjU3ODMtMWYxMjk1ZWItMWI2MC00ODY1LWJjMDAtY2JmMGU4MTYzYmNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDEyMTA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjNzQyNDRmNTdiYzIzNTk1YzhmYzBmMGUzMTdlYWMwMWU4MzI4YzU0N2MyMDk3ZDdlZjFhZDI0MzFjZGM0NTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.e1P0bfz8PJYZD4F2-GcxfkgVs8CL0BhiJTUqcjdjt4Q)
This works to get all 3 inverters details. Then I can add "Auto-detect Meters" and this will grab the meters:
![image](https://private-user-images.githubusercontent.com/30779629/348226017-9e3fcf8f-1da9-40c2-aadf-72ab0812a356.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY5NDcsIm5iZiI6MTcyNjA1NjY0NywicGF0aCI6Ii8zMDc3OTYyOS8zNDgyMjYwMTctOWUzZmNmOGYtMWRhOS00MGMyLWFhZGYtNzJhYjA4MTJhMzU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDEyMTA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQwNWJkZWVhN2RjMzk2ZTIwZjI5MjcwZTgyMmIyZWY2YTQ2MDllOTYyZDUwMjUwNDg1ZDlkMzkwZWU5MzAzYmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.fradICBoJeRobe-AphSNRs9EK3jwEaYm4p8axqlAYxM)
However, I cannot get "Auto-detect batteries" or "Power Control" working to detect at all:
![image](https://private-user-images.githubusercontent.com/30779629/348227800-bc8f2fe0-ca34-4b91-bf4d-7657f3fff2c6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY5NDcsIm5iZiI6MTcyNjA1NjY0NywicGF0aCI6Ii8zMDc3OTYyOS8zNDgyMjc4MDAtYmM4ZjJmZTAtY2EzNC00YjkxLWJmNGQtNzY1N2YzZmZmMmM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDEyMTA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhYTRkYzg1NGQ5YjE4ZDQ4NWYyM2IxYzI5ZmQwNjcxMTZiY2NkY2I5MzlhZmNlYWVlY2YwNmE3ZTdhMThjYmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.XO5xaAgviqQkY2lcHds4HEB1jnnJPl-ekivaBE7dV5w)
In the log files for battery connection, it just fails at "Looking for battery I1B1". No "IllegalAddress" as per the known issue:
2024-07-12 05:31:40.042 DEBUG (MainThread) [custom_components.solaredge_modbus_multi.hub] Looking for battery I1B1
2024-07-12 05:31:52.049 DEBUG (MainThread) [custom_components.solaredge_modbus_multi] Finished fetching SolarEdge Coordinator data in 12.396 seconds (success: False)
2024-07-12 11:12:06.021 DEBUG (MainThread) [custom_components.solaredge_modbus_multi.hub] I1M3: C_Device_address 0x8000 <class 'int'>
2024-07-12 11:12:06.021 DEBUG (MainThread) [custom_components.solaredge_modbus_multi.hub] I1M3: Meter 3 ident incorrect or not installed.
2024-07-12 11:12:06.021 DEBUG (MainThread) [custom_components.solaredge_modbus_multi.hub] Looking for battery I1B1
2024-07-12 11:12:06.021 DEBUG (MainThread) [pymodbus.logging] Adding transaction 6
2024-07-12 11:12:06.021 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-07-12 11:12:06.021 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x6 0x0 0x0 0x0 0x6 0x1 0x3 0xe1 0x0 0x0 0x44
2024-07-12 11:12:09.022 DEBUG (MainThread) [pymodbus.logging] Adding transaction 6
2024-07-12 11:12:09.022 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-07-12 11:12:09.022 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x6 0x0 0x0 0x0 0x6 0x1 0x3 0xe1 0x0 0x0 0x44
2024-07-12 11:12:12.023 DEBUG (MainThread) [pymodbus.logging] Adding transaction 6
2024-07-12 11:12:12.023 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-07-12 11:12:12.023 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x6 0x0 0x0 0x0 0x6 0x1 0x3 0xe1 0x0 0x0 0x44
2024-07-12 11:12:15.025 DEBUG (MainThread) [pymodbus.logging] Adding transaction 6
2024-07-12 11:12:15.025 DEBUG (MainThread) [pymodbus.logging] Resetting frame - Current Frame in buffer -
2024-07-12 11:12:15.025 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x6 0x0 0x0 0x0 0x6 0x1 0x3 0xe1 0x0 0x0 0x44
2024-07-12 11:12:18.027 DEBUG (MainThread) [pymodbus.logging] Connection lost comm due to Server not responding
2024-07-12 11:12:18.027 DEBUG (MainThread) [pymodbus.logging] callback_disconnected called: Server not responding
2024-07-12 11:12:18.027 DEBUG (MainThread) [custom_components.solaredge_modbus_multi] Finished fetching SolarEdge Coordinator data in 12.297 seconds (success: False)
I tried deleting the integration, redownloading from HACS, and reinstalling, using the alternate modbus port 1503 - same results.
I am ALWAYS able to ping the inverter IP without any issues from the HA VM.
THANK YOU SETH @WillCodeForCats
Expected behavior
Connection to inverter and batteries with power control
Screenshots
![IMG_9715](https://private-user-images.githubusercontent.com/30779629/348224718-9d61c9a8-b300-48b2-a90f-a69403d2c8be.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY5NDcsIm5iZiI6MTcyNjA1NjY0NywicGF0aCI6Ii8zMDc3OTYyOS8zNDgyMjQ3MTgtOWQ2MWM5YTgtYjMwMC00OGIyLWE5MGYtYTY5NDAzZDJjOGJlLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDEyMTA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk0NmFmMzlmNDc5N2RlMzFhNWUwM2M5MmNkMTk1Yjk1ZjdmMTc1MmJmOTM5ODI5NjI4OGVjZTA1ZjVhMjI1NzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tBxV07tBIjUJLMkf01eJjOFOhBHcwAExd-dZ53FeKN8)
![IMG_9708](https://private-user-images.githubusercontent.com/30779629/348230479-a3ad3682-d6ed-4070-88ab-142b962a67a4.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY5NDcsIm5iZiI6MTcyNjA1NjY0NywicGF0aCI6Ii8zMDc3OTYyOS8zNDgyMzA0NzktYTNhZDM2ODItZDZlZC00MDcwLTg4YWItMTQyYjk2MmE2N2E0LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDEyMTA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkZGZjNmJiMTU5MGZiZGIzODdjNjI1NmM5ZDhkZTE1ODRmYzc5MTFkZTIyNTE4Nzg2MjU1YzJjNDBhODc0ZjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tnyQQVbCwYyZiSnr2eC3SiX7yFDjXCnkWY6M4PNziZo)
![IMG_9716](https://private-user-images.githubusercontent.com/30779629/348224779-b569d881-c19a-4794-96ef-f5f59c4dd7b5.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY5NDcsIm5iZiI6MTcyNjA1NjY0NywicGF0aCI6Ii8zMDc3OTYyOS8zNDgyMjQ3NzktYjU2OWQ4ODEtYzE5YS00Nzk0LTk2ZWY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hZDg3ZGY5NTg0ZmQwZTkxY2FmZDkxZDVkOTczMDM1NDliMWNjMWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xab2mZXq-fVWkag3foGrceaJiyuf0d_AqsvxUbsUMGA)
![IMG_9723](https://private-user-images.githubusercontent.com/30779629/348224994-7c200017-2725-40f0-906c-91bfdb56c68a.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY5NDcsIm5iZiI6MTcyNjA1NjY0NywicGF0aCI6Ii8zMDc3OTYyOS8zNDgyMjQ5OTQtN2MyMDAwMTctMjcyNS00MGYwLTkwNmMtOTFiZmRiNTZjNjhhLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDEyMTA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdhMjJhODY1NDQ1NmY5YTYxZWIyODE0ODhlZWEyMjg0ZGRhZjg4N2I0MWU0OGZkODI5ZDJmZDkzMWIxNDVjOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0PZ7ST9uOUJhdxvC0l7QYjx3CqWQVkgQX0OtuoNHV8o)
![IMG_9729](https://private-user-images.githubusercontent.com/30779629/348225035-e7df068d-5249-44f0-95b6-49a8aacc1a4b.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNTY5NDcsIm5iZiI6MTcyNjA1NjY0NywicGF0aCI6Ii8zMDc3OTYyOS8zNDgyMjUwMzUtZTdkZjA2OGQtNTI0OS00NGYwLTk1YjYtNDlhOGFhY2MxYTRiLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDEyMTA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAwOTk2Y2IxY2U3NDA3NGRkZGU5MTU4ZTcwOTNkYjA4ZmRmYTFlNDlhYjJjODQxODE3NTYzMGExZDZkNTI4MDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UE_dvnQeAJJPVq65-L9enjKLtkl1Y9Dk6HHA8ETM2Ho)
Diagnostic File
home-assistant_solaredge_modbus_multi_2024-07-12T09-33-53.189Z.log
home-assistant_solaredge_modbus_multi_2024-07-12T10-03-39.524Z.log
Full HA log with pymodbus:
home-assistant_2024-07-12T15-12-57.733Z.log
Debug logs
No response
Home Assistant Version
2024.7.2 - running on VM in TrueNAS Scale
solaredge-modbus-multi Version
current
Installation Type
HAOS on VM in TrueNAS Scale
Read the Instructions
I have read https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki
My configuration follows https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Configuration
This issue is not about a template error (template errors should not be reported as an issue, read https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Template-Design-Notes)
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions