Replies: 3 comments
-
A few comments embedded in you log below 2025-01-18 14:53:24.202 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
2025-01-18 14:54:54.359 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
2025-01-18 14:56:24.747 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
2025-01-18 14:57:54.906 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
=> Strange that you get above requests before the webbox is created (below); could it be that there is already one running somehow and you try to instantiate a second one ?
2025-01-18 14:59:15.284 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " 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 " }
2025-01-18 14:59:15.752 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'totalDevicesReturned': 3, 'devices': [{'key': 'SENS0700:11978', 'name': 'SENS0700:11978'}, {'key': 'WRTL0UCD:2100169822', 'name': 'WRTL0UCD:2100169822'}, {'key': 'WRTL14BA:2100261529', 'name': 'WRTL14BA:2100261529'}]}, 'proc': 'GetDevices', 'version': '1.0', 'id': '1'}
2025-01-18 14:59:16.285 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a C h a n n e l s " , " f o r m a t " : " J S O N " , " i d " : " 2 " , " p a r a m s " : { " d e v i c e " : " S E N S 0 7 0 0 : 1 1 9 7 8 " } }
2025-01-18 14:59:16.322 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'SENS0700:11978': ['ExlSolIrr', 'IntSolIrr', 'SMA-h-On', 'TmpAmb C', 'TmpMdul C', 'WindVel m/s']}, 'proc': 'GetProcessDataChannels', 'version': '1.0', 'id': '2'}
2025-01-18 14:59:17.286 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a C h a n n e l s " , " f o r m a t " : " J S O N " , " i d " : " 3 " , " p a r a m s " : { " d e v i c e " : " W R T L 0 U C D : 2 1 0 0 1 6 9 8 2 2 " } }
2025-01-18 14:59:17.342 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'WRTL0UCD:2100169822': ['A.Ms.Amp', 'A.Ms.Vol', 'A.Ms.Watt', 'Error', 'E-Total', 'GridMs.Hz', 'GridMs.PhV.phsA', 'GridMs.PhV.phsB', 'GridMs.PhV.phsC', 'Inv.TmpLimStt', 'MainModel', 'Mode', 'Mt.TotOpTmh', 'Mt.TotTmh', 'Op.EvtCntUsr', 'Op.EvtNo', 'Op.GriSwStt', 'Op.TmsRmg', 'Pac', 'Serial Number']}, 'proc': 'GetProcessDataChannels', 'version': '1.0', 'id': '3'}
2025-01-18 14:59:18.287 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a C h a n n e l s " , " f o r m a t " : " J S O N " , " i d " : " 4 " , " p a r a m s " : { " d e v i c e " : " W R T L 1 4 B A : 2 1 0 0 2 6 1 5 2 9 " } }
2025-01-18 14:59:18.343 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'WRTL14BA:2100261529': ['A.Ms.Amp', 'A.Ms.Vol', 'A.Ms.Watt', 'B.Ms.Amp', 'B.Ms.Vol', 'B.Ms.Watt', 'Error', 'E-Total', 'GridMs.Hz', 'GridMs.PhV.phsA', 'GridMs.PhV.phsB', 'GridMs.PhV.phsC', 'Inv.TmpLimStt', 'Mode', 'Mt.TotOpTmh', 'Mt.TotTmh', 'Op.EvtCntUsr', 'Op.EvtNo', 'Op.GriSwStt', 'Op.TmsRmg', 'Pac', 'Serial Number']}, 'proc': 'GetProcessDataChannels', 'version': '1.0', 'id': '4'}
=> Above request/reply messages are related to the creation of the webbox object (take place when you start HA or install the integration).
4 requests are issued (GetDevices and 3x GetProcessDataChannels), they are all replied and 3 devices are detected (SENS0700, WRTL0UCD and WRTL14BA), i.e. all OK
2025-01-18 14:59:19.289 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P l a n t O v e r v i e w " , " f o r m a t " : " J S O N " , " i d " : " 5 " }
2025-01-18 14:59:19.667 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'overview': [{'unit': 'W', 'meta': 'GriPwr', 'name': 'GriPwr', 'value': '317'}, {'unit': 'kWh', 'meta': 'GriEgyTdy', 'name': 'GriEgyTdy', 'value': '2.633'}, {'unit': 'kWh', 'meta': 'GriEgyTot', 'name': 'GriEgyTot', 'value': '104069.932'}, {'unit': '', 'meta': 'OpStt', 'name': 'OpStt', 'value': ''}, {'unit': '', 'meta': 'Msg', 'name': 'Msg', 'value': ''}]}, 'proc': 'GetPlantOverview', 'version': '1.0', 'id': '5'}
=> GetPlantOverview to collect overview data/all OK
2025-01-18 14:59:20.290 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a " , " f o r m a t " : " J S O N " , " i d " : " 6 " , " p a r a m s " : { " d e v i c e s " : [ { " k e y " : " S E N S 0 7 0 0 : 1 1 9 7 8 " , " c h a n n e l s " : [ " E x l S o l I r r " , " I n t S o l I r r " , " S M A - h - O n " , " T m p A m b C " , " T m p M d u l C " , " W i n d V e l m / s " ] } ] } }
2025-01-18 14:59:20.362 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'devices': [{'key': 'SENS0700:11978', 'channels': [{'unit': 'W/m^2', 'meta': 'ExlSolIrr', 'name': 'ExlSolIrr', 'value': ''}, {'unit': 'W/m^2', 'meta': 'IntSolIrr', 'name': 'IntSolIrr', 'value': ''}, {'unit': 'h', 'meta': 'SMA-h-On', 'name': 'SMA-h-On', 'value': ''}, {'unit': '°C', 'meta': 'TmpAmb C', 'name': 'TmpAmb C', 'value': ''}, {'unit': '°C', 'meta': 'TmpMdul C', 'name': 'TmpMdul C', 'value': ''}, {'unit': 'm/s', 'meta': 'WindVel m/s', 'name': 'WindVel m/s', 'value': ''}]}]}, 'proc': 'GetProcessData', 'version': '1.0', 'id': '6'}
=> GetProcessData for device SENS0700; reply OK but all values are empty ?
2025-01-18 14:59:21.291 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a " , " f o r m a t " : " J S O N " , " i d " : " 7 " , " p a r a m s " : { " d e v i c e s " : [ { " k e y " : " W R T L 0 U C D : 2 1 0 0 1 6 9 8 2 2 " , " c h a n n e l s " : [ " A . M s . A m p " , " A . M s . V o l " , " A . M s . W a t t " , " E r r o r " , " E - T o t a l " , " G r i d M s . H z " , " G r i d M s . P h V . p h s A " , " G r i d M s . P h V . p h s B " , " G r i d M s . P h V . p h s C " , " I n v . T m p L i m S t t " , " M a i n M o d e l " , " M o d e " , " M t . T o t O p T m h " , " M t . T o t T m h " , " O p . E v t C n t U s r " , " O p . E v t N o " , " O p . G r i S w S t t " , " O p . T m s R m g " , " P a c " , " S e r i a l N u m b e r " ] } ] } }
2025-01-18 14:59:26.292 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
=> GetProcessData for device WRTL0UCD that is not answered apparently (timeout is 5s)
2025-01-18 14:59:26.292 DEBUG (MainThread) [custom_components.sma_webbox] Finished fetching sma_webbox_coordinator data in 7.949 seconds (success: False)
=> Not sure why you have this one, no previous request ??? Could you check that there is not another instance running for the same webbox (from a previous test/setup attelp/...) ? Could you also describe your configuration (supply your configuration.yaml or config flow parameters) ? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick response! I think I have solved the problem! 2 additional things:
|
Beta Was this translation helpful? Give feedback.
-
Great to hear this. Not sure I understand you last two bullets :-) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to integrate the box, but I always get an RPC request time out
In the debug log you can see that the box responds - but I think it's too slow?
2025-01-18 14:53:24.202 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
2025-01-18 14:54:54.359 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
2025-01-18 14:56:24.747 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
2025-01-18 14:57:54.906 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
2025-01-18 14:59:15.284 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " 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 " }
2025-01-18 14:59:15.752 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'totalDevicesReturned': 3, 'devices': [{'key': 'SENS0700:11978', 'name': 'SENS0700:11978'}, {'key': 'WRTL0UCD:2100169822', 'name': 'WRTL0UCD:2100169822'}, {'key': 'WRTL14BA:2100261529', 'name': 'WRTL14BA:2100261529'}]}, 'proc': 'GetDevices', 'version': '1.0', 'id': '1'}
2025-01-18 14:59:16.285 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a C h a n n e l s " , " f o r m a t " : " J S O N " , " i d " : " 2 " , " p a r a m s " : { " d e v i c e " : " S E N S 0 7 0 0 : 1 1 9 7 8 " } }
2025-01-18 14:59:16.322 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'SENS0700:11978': ['ExlSolIrr', 'IntSolIrr', 'SMA-h-On', 'TmpAmb C', 'TmpMdul C', 'WindVel m/s']}, 'proc': 'GetProcessDataChannels', 'version': '1.0', 'id': '2'}
2025-01-18 14:59:17.286 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a C h a n n e l s " , " f o r m a t " : " J S O N " , " i d " : " 3 " , " p a r a m s " : { " d e v i c e " : " W R T L 0 U C D : 2 1 0 0 1 6 9 8 2 2 " } }
2025-01-18 14:59:17.342 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'WRTL0UCD:2100169822': ['A.Ms.Amp', 'A.Ms.Vol', 'A.Ms.Watt', 'Error', 'E-Total', 'GridMs.Hz', 'GridMs.PhV.phsA', 'GridMs.PhV.phsB', 'GridMs.PhV.phsC', 'Inv.TmpLimStt', 'MainModel', 'Mode', 'Mt.TotOpTmh', 'Mt.TotTmh', 'Op.EvtCntUsr', 'Op.EvtNo', 'Op.GriSwStt', 'Op.TmsRmg', 'Pac', 'Serial Number']}, 'proc': 'GetProcessDataChannels', 'version': '1.0', 'id': '3'}
2025-01-18 14:59:18.287 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a C h a n n e l s " , " f o r m a t " : " J S O N " , " i d " : " 4 " , " p a r a m s " : { " d e v i c e " : " W R T L 1 4 B A : 2 1 0 0 2 6 1 5 2 9 " } }
2025-01-18 14:59:18.343 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'WRTL14BA:2100261529': ['A.Ms.Amp', 'A.Ms.Vol', 'A.Ms.Watt', 'B.Ms.Amp', 'B.Ms.Vol', 'B.Ms.Watt', 'Error', 'E-Total', 'GridMs.Hz', 'GridMs.PhV.phsA', 'GridMs.PhV.phsB', 'GridMs.PhV.phsC', 'Inv.TmpLimStt', 'Mode', 'Mt.TotOpTmh', 'Mt.TotTmh', 'Op.EvtCntUsr', 'Op.EvtNo', 'Op.GriSwStt', 'Op.TmsRmg', 'Pac', 'Serial Number']}, 'proc': 'GetProcessDataChannels', 'version': '1.0', 'id': '4'}
2025-01-18 14:59:19.289 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P l a n t O v e r v i e w " , " f o r m a t " : " J S O N " , " i d " : " 5 " }
2025-01-18 14:59:19.667 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'overview': [{'unit': 'W', 'meta': 'GriPwr', 'name': 'GriPwr', 'value': '317'}, {'unit': 'kWh', 'meta': 'GriEgyTdy', 'name': 'GriEgyTdy', 'value': '2.633'}, {'unit': 'kWh', 'meta': 'GriEgyTot', 'name': 'GriEgyTot', 'value': '104069.932'}, {'unit': '', 'meta': 'OpStt', 'name': 'OpStt', 'value': ''}, {'unit': '', 'meta': 'Msg', 'name': 'Msg', 'value': ''}]}, 'proc': 'GetPlantOverview', 'version': '1.0', 'id': '5'}
2025-01-18 14:59:20.290 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a " , " f o r m a t " : " J S O N " , " i d " : " 6 " , " p a r a m s " : { " d e v i c e s " : [ { " k e y " : " S E N S 0 7 0 0 : 1 1 9 7 8 " , " c h a n n e l s " : [ " E x l S o l I r r " , " I n t S o l I r r " , " S M A - h - O n " , " T m p A m b C " , " T m p M d u l C " , " W i n d V e l m / s " ] } ] } }
2025-01-18 14:59:20.362 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 reply: {'format': 'JSON', 'result': {'devices': [{'key': 'SENS0700:11978', 'channels': [{'unit': 'W/m^2', 'meta': 'ExlSolIrr', 'name': 'ExlSolIrr', 'value': ''}, {'unit': 'W/m^2', 'meta': 'IntSolIrr', 'name': 'IntSolIrr', 'value': ''}, {'unit': 'h', 'meta': 'SMA-h-On', 'name': 'SMA-h-On', 'value': ''}, {'unit': '°C', 'meta': 'TmpAmb C', 'name': 'TmpAmb C', 'value': ''}, {'unit': '°C', 'meta': 'TmpMdul C', 'name': 'TmpMdul C', 'value': ''}, {'unit': 'm/s', 'meta': 'WindVel m/s', 'name': 'WindVel m/s', 'value': ''}]}]}, 'proc': 'GetProcessData', 'version': '1.0', 'id': '6'}
2025-01-18 14:59:21.291 DEBUG (MainThread) [custom_components.sma_webbox.sma_webbox] 192.168.212.5:34268 request { " v e r s i o n " : " 1 . 0 " , " p r o c " : " G e t P r o c e s s D a t a " , " f o r m a t " : " J S O N " , " i d " : " 7 " , " p a r a m s " : { " d e v i c e s " : [ { " k e y " : " W R T L 0 U C D : 2 1 0 0 1 6 9 8 2 2 " , " c h a n n e l s " : [ " A . M s . A m p " , " A . M s . V o l " , " A . M s . W a t t " , " E r r o r " , " E - T o t a l " , " G r i d M s . H z " , " G r i d M s . P h V . p h s A " , " G r i d M s . P h V . p h s B " , " G r i d M s . P h V . p h s C " , " I n v . T m p L i m S t t " , " M a i n M o d e l " , " M o d e " , " M t . T o t O p T m h " , " M t . T o t T m h " , " O p . E v t C n t U s r " , " O p . E v t N o " , " O p . G r i S w S t t " , " O p . T m s R m g " , " P a c " , " S e r i a l N u m b e r " ] } ] } }
2025-01-18 14:59:26.292 WARNING (MainThread) [custom_components.sma_webbox.sma_webbox] RPC request to 192.168.212.5 timed out
2025-01-18 14:59:26.292 DEBUG (MainThread) [custom_components.sma_webbox] Finished fetching sma_webbox_coordinator data in 7.949 seconds (success: False)
Beta Was this translation helpful? Give feedback.
All reactions