jpcornil-git / HA-sma

SMA Sunny Webbox integration for Home Assistant
10 stars 4 forks source link

Problem with the configuration of multiple webboxes #17

Open Jlauper opened 7 hours ago

Jlauper commented 7 hours ago

There are 3 webboxes in my network. However, only one box can be set up in HA at a time. There is an error message for the next box. I can configure one box each with two HA instances. Excerpt from the log file: 2024-09-16 22:33:53.567 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sma_webbox which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-09-16 22:33:53.569 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-09-16 22:42:02.637 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request timed out 2024-09-16 22:42:14.347 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request timed out 2024-09-16 23:03:55.464 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request timed out 2024-09-16 23:04:07.839 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request timed out 2024-09-16 23:04:42.533 INFO (MainThread) [custom_components.sma_webbox.sma_webbox] UDP protocol created 2024-09-16 23:04:42.534 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t D e v i c e s " , " f o r m a t " : " J S O N " , " i d " : " 1 " } 2024-09-16 23:04:47.535 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request timed out 2024-09-16 23:04:47.537 INFO (MainThread) [custom_components.sma_webbox.sma_webbox] UDP protocol closed 2024-09-16 23:04:54.580 INFO (MainThread) [custom_components.sma_webbox.sma_webbox] UDP protocol created 2024-09-16 23:04:54.580 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t D e v i c e s " , " f o r m a t " : " J S O N " , " i d " : " 1 " } 2024-09-16 23:04:54.659 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] {'result': {'devices': [{'key': '0080:7dc685aa', 'name': 'SN: 2110162346'}, {'key': '0080:7dc6a28f', 'name': 'SN: 2110169743'}, {'key': '0080:7dc71988', 'name': 'SN: 2110200200'}], 'totalDevicesReturned': 3}, 'format': 'JSON', 'proc': 'GetDevices', 'version': '1.0', 'id': '1'}

Greetings J.Lauper

jpcornil-git commented 6 hours ago

Could you run the following commands for your 3 webboxes and report the full log ?

# python3 custom_components/sma_webbox/sma_webbox.py <webbox ip_address_1>
# python3 custom_components/sma_webbox/sma_webbox.py <webbox ip_address_2>
# python3 custom_components/sma_webbox/sma_webbox.py <webbox ip_address_3>