Page 1 of 1

SOLVED: SMA Sunny Boy solar inverter plugin failure

Posted: Thursday 14 August 2025 10:49
by Bospieper
Hello,
After a reinstall of domoticz and installing the SMA Sunny Boy plugin I get the following error. I think the key problem is the last line 'Keyerror".
I don't know what this error is refuring to.
Grz Piet
Error: SMA Sunny Boy inverter dak: Call to function 'onHeartbeat' failed, exception details:
2025-08-14 10:33:41.338 Error: SMA Sunny Boy inverter dak: Traceback (most recent call last):
2025-08-14 10:33:41.338 Error: SMA Sunny Boy inverter dak: File "/home/Ruroba/domoticz/plugins/Domoticz-SMA-SunnyBoy/plugin.py", line 170, in onHeartbeat
2025-08-14 10:33:41.338 Error: SMA Sunny Boy inverter dak: _plugin.onHeartbeat()
2025-08-14 10:33:41.338 Error: SMA Sunny Boy inverter dak: File "/home/Ruroba/domoticz/plugins/Domoticz-SMA-SunnyBoy/plugin.py", line 122, in onHeartbeat
2025-08-14 10:33:41.338 Error: SMA Sunny Boy inverter dak: sma_pv_watt = j['result']['012F-730B00E6']['6100_40263F00']['1'][0]['val']
2025-08-14 10:33:41.339 Error: SMA Sunny Boy inverter dak: ~~~~~~~~~~~^^^^^^^^^^^^^^^^^
2025-08-14 10:33:41.339 Error: SMA Sunny Boy inverter dak: KeyError: '012F-730B00E6'

Re: SMA Sunny Boy solar inverter plugin failure

Posted: Thursday 14 August 2025 13:02
by waltervl
Is there an existing topic about the sunny boy solar inverter plugin? Perhaps ask there. People will hopefully get a notification somebody wants to ask something. Else your question could get unnoticed. You can also raise a question/issue on the github repository of the plugin.

SOLVED: SMA Sunny Boy solar inverter plugin failure

Posted: Friday 15 August 2025 18:44
by Bospieper
Hello waltervl,
I've managed to solve the problem by reinstalling the plugin but then the version from rklomp.
No errors so far.
Grz Piet