SOLVED: SMA Sunny Boy solar inverter plugin failure

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
Bospieper
Posts: 174
Joined: Thursday 07 November 2019 10:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: NL
Contact:

SOLVED: SMA Sunny Boy solar inverter plugin failure

Post 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'
Last edited by Bospieper on Friday 15 August 2025 18:46, edited 1 time in total.
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: SMA Sunny Boy solar inverter plugin failure

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
Bospieper
Posts: 174
Joined: Thursday 07 November 2019 10:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: NL
Contact:

SOLVED: SMA Sunny Boy solar inverter plugin failure

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest