Python Plugin: GoodWe solar inverter via SEMS API
Moderator: leecollings
-
RNEE
- Posts: 73
- Joined: Sunday 05 August 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1
- Location: NL/Eindhoven area
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
@jan-jaap : update runs now ! Thank you !
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee + deCONZ Conbee II|Marstek Homebattery 5,12Kwh via Modbus on Pusr-dr134|MQTTMapper|Quatt v2|
-
Jeweettoch13
- Posts: 34
- Joined: Saturday 23 July 2022 16:42
- Target OS: NAS (Synology & others)
- Domoticz version: 2026.2
- Location: Netherlands
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
Awesome Work Jan-jaap!
It seems though that the data is coming trough is not what Domoticz expect it to be:
I've reset the value but am not sure if im missing 3 days of generated power. Ill investigate further.
It seems though that the data is coming trough is not what Domoticz expect it to be:
I've reset the value but am not sure if im missing 3 days of generated power. Ill investigate further.
-
Jeweettoch13
- Posts: 34
- Joined: Saturday 23 July 2022 16:42
- Target OS: NAS (Synology & others)
- Domoticz version: 2026.2
- Location: Netherlands
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
Also:
1 of 2 MPP-trackers is going to zero occasionally but they are working both as well in domoticz. Current output value is also none.
1 of 2 MPP-trackers is going to zero occasionally but they are working both as well in domoticz. Current output value is also none.
-
RNEE
- Posts: 73
- Joined: Sunday 05 August 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1
- Location: NL/Eindhoven area
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
I have the same problem in my dzVents script.
i think Goodwe now delivers sometimes nil- values, so domoticz calculaties te difference.
i think we need an otter variable witch always holds the cummelative total values.
Regarding time-out errors : the token has a live of 60 minuten, so it does not have to be renewed every time. Goodwe says renew every 50 minuts.
i think Goodwe now delivers sometimes nil- values, so domoticz calculaties te difference.
i think we need an otter variable witch always holds the cummelative total values.
Regarding time-out errors : the token has a live of 60 minuten, so it does not have to be renewed every time. Goodwe says renew every 50 minuts.
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee + deCONZ Conbee II|Marstek Homebattery 5,12Kwh via Modbus on Pusr-dr134|MQTTMapper|Quatt v2|
-
Jeweettoch13
- Posts: 34
- Joined: Saturday 23 July 2022 16:42
- Target OS: NAS (Synology & others)
- Domoticz version: 2026.2
- Location: Netherlands
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
Fair enough
.
In the fixed script no output current comes with the data. Could this be addressed?
In the fixed script no output current comes with the data. Could this be addressed?
-
Jeweettoch13
- Posts: 34
- Joined: Saturday 23 July 2022 16:42
- Target OS: NAS (Synology & others)
- Domoticz version: 2026.2
- Location: Netherlands
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
*update:Jeweettoch13 wrote: Saturday 26 September 2026 13:41 Awesome Work Jan-jaap!
It seems though that the data is coming trough is not what Domoticz expect it to be:
Error.jpg
I've reset the value but am not sure if im missing 3 days of generated power. Ill investigate further.
The total generated values as of 2020 comes with the total generated daily output (even after resetting the graphs from yesterday. Could this be a bug?
-
RNEE
- Posts: 73
- Joined: Sunday 05 August 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1
- Location: NL/Eindhoven area
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
Very strange; one moment it shows the correct daily value, and the next, the total quantity produced appears as a negative figure.




Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee + deCONZ Conbee II|Marstek Homebattery 5,12Kwh via Modbus on Pusr-dr134|MQTTMapper|Quatt v2|
-
RNEE
- Posts: 73
- Joined: Sunday 05 August 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1
- Location: NL/Eindhoven area
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
My dzVents script (seen here) only is capable of retrieving total and temperature, i can't find detail info on the api.Jeweettoch13 wrote: Saturday 26 September 2026 21:03 Fair enough.
In the fixed script no output current comes with the data. Could this be addressed?
Anybody more info about the new Goodwe API?
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee + deCONZ Conbee II|Marstek Homebattery 5,12Kwh via Modbus on Pusr-dr134|MQTTMapper|Quatt v2|
- waltervl
- Posts: 7008
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
It works now again but it has some strange results.
It seems it sometimes sends values with factor 1000 (Wh -KWh) too much.
The totals for the day are correct so not sure what is going on here. The red bar is because of the few days of errors and not counting.
It seems it sometimes sends values with factor 1000 (Wh -KWh) too much.
The totals for the day are correct so not sure what is going on here. The red bar is because of the few days of errors and not counting.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
RNEE
- Posts: 73
- Joined: Sunday 05 August 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1
- Location: NL/Eindhoven area
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
@waltervl :
Nice earrnings
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee + deCONZ Conbee II|Marstek Homebattery 5,12Kwh via Modbus on Pusr-dr134|MQTTMapper|Quatt v2|
-
RNEE
- Posts: 73
- Joined: Sunday 05 August 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1
- Location: NL/Eindhoven area
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
For those interested : i completed a dzVents script with fills all data i had before for 2 strings.
This is not an easy to use tool like the python plug-in from Jan-jaap. You have to set up some things manually.
It is still a work in progress but now it suits my needs.
You can find my script here : https://github.com/RneeJ/Domoticz-Goodwe-SEMSPLUS
This is not an easy to use tool like the python plug-in from Jan-jaap. You have to set up some things manually.
It is still a work in progress but now it suits my needs.
You can find my script here : https://github.com/RneeJ/Domoticz-Goodwe-SEMSPLUS
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee + deCONZ Conbee II|Marstek Homebattery 5,12Kwh via Modbus on Pusr-dr134|MQTTMapper|Quatt v2|
- waltervl
- Posts: 7008
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
I made a github issue for this as the plugin resets the counter due to receiving partial values from the portal. https://github.com/JanJaapKo/domoticz-G ... /issues/38waltervl wrote: Sunday 27 September 2026 13:07 It works now again but it has some strange results.
It seems it sometimes sends values with factor 1000 (Wh -KWh) too much.
The totals for the day are correct so not sure what is going on here. The red bar is because of the few days of errors and not counting.
Screenshot_20260927-130102_Chrome.jpg
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
JanJaap
- Posts: 239
- Joined: Thursday 12 October 2017 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Dev
- Location: the Netherlands
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
Plugin also support reading individual strings? What do you miss in the plugin that you prefer the DzVents script?For those interested : i completed a dzVents script with fills all data i had before for 2 strings.
RPi 3, Domoticz dev version, Aeon ZWave stick (with a whole bunch of slaves), Zigbee using Zigbee2MQTT, Nest thermo, P1 smart meter on RPi Zero
-
Jeweettoch13
- Posts: 34
- Joined: Saturday 23 July 2022 16:42
- Target OS: NAS (Synology & others)
- Domoticz version: 2026.2
- Location: Netherlands
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
Cant wait to try it out, unfortunately the sun is letting us down lol.waltervl wrote: Monday 28 September 2026 19:36I made a github issue for this as the plugin resets the counter due to receiving partial values from the portal. https://github.com/JanJaapKo/domoticz-G ... /issues/38waltervl wrote: Sunday 27 September 2026 13:07 It works now again but it has some strange results.
It seems it sometimes sends values with factor 1000 (Wh -KWh) too much.
The totals for the day are correct so not sure what is going on here. The red bar is because of the few days of errors and not counting.
Screenshot_20260927-130102_Chrome.jpg
Is this fix so that the total generated output will no longer comes trough on the daily value?
Is this fix also to get the PV AC output back? Cant get this one to work since..
-
RNEE
- Posts: 73
- Joined: Sunday 05 August 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1
- Location: NL/Eindhoven area
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
Your plugin is great, please keep up the good work. I miss nothing in it and i will use it again if the data come in nicely.JanJaap wrote: Monday 28 September 2026 20:10Plugin also support reading individual strings? What do you miss in the plugin that you prefer the DzVents script?For those interested : i completed a dzVents script with fills all data i had before for 2 strings.
And yes the script scans for different strings within the inverter and gets its individual data !
This dzVents script was a learning process for me. I had an life error and testing situation on hand and some time available.
I want to be able to make more scripts in dzVents but lack knowledge and experience.
I used several AI but ended up with Claude witch worked very very well.
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee + deCONZ Conbee II|Marstek Homebattery 5,12Kwh via Modbus on Pusr-dr134|MQTTMapper|Quatt v2|
-
JanJaap
- Posts: 239
- Joined: Thursday 12 October 2017 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Dev
- Location: the Netherlands
- Contact:
Re: Python Plugin: GoodWe solar inverter via SEMS API
Yes it fixes the spikes in the generated energyJeweettoch13 wrote: Monday 28 September 2026 20:11Cant wait to try it out, unfortunately the sun is letting us down lol.waltervl wrote: Monday 28 September 2026 19:36I made a github issue for this as the plugin resets the counter due to receiving partial values from the portal. https://github.com/JanJaapKo/domoticz-G ... /issues/38waltervl wrote: Sunday 27 September 2026 13:07 It works now again but it has some strange results.
It seems it sometimes sends values with factor 1000 (Wh -KWh) too much.
The totals for the day are correct so not sure what is going on here. The red bar is because of the few days of errors and not counting.
Screenshot_20260927-130102_Chrome.jpg
Is this fix so that the total generated output will no longer comes trough on the daily value?
error1.jpg
Is this fix also to get the PV AC output back? Cant get this one to work since..
error2.jpg
I did not check all the devices. Which one is now missing? The output current?
RPi 3, Domoticz dev version, Aeon ZWave stick (with a whole bunch of slaves), Zigbee using Zigbee2MQTT, Nest thermo, P1 smart meter on RPi Zero