Page 15 of 16

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Saturday 26 September 2026 12:06
by RNEE
@jan-jaap : update runs now ! Thank you !

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Saturday 26 September 2026 13:41
by Jeweettoch13
Awesome Work Jan-jaap!

It seems though that the data is coming trough is not what Domoticz expect it to be:
Error.jpg
Error.jpg (88.18 KiB) Viewed 346 times
I've reset the value but am not sure if im missing 3 days of generated power. Ill investigate further.

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Saturday 26 September 2026 14:23
by Jeweettoch13
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.
Error.jpg
Error.jpg (231.36 KiB) Viewed 338 times

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Saturday 26 September 2026 16:39
by RNEE
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.

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Saturday 26 September 2026 21:03
by Jeweettoch13
Fair enough :).

In the fixed script no output current comes with the data. Could this be addressed?

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Sunday 27 September 2026 10:02
by Jeweettoch13
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.
*update:

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?
Error.jpg
Error.jpg (31.14 KiB) Viewed 268 times

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Sunday 27 September 2026 12:45
by RNEE
Very strange; one moment it shows the correct daily value, and the next, the total quantity produced appears as a negative figure.

Image

Image

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Sunday 27 September 2026 12:52
by RNEE
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?
My dzVents script (seen here) only is capable of retrieving total and temperature, i can't find detail info on the api.
Anybody more info about the new Goodwe API?

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Sunday 27 September 2026 13:07
by waltervl
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
Screenshot_20260927-130102_Chrome.jpg (164.28 KiB) Viewed 243 times

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Sunday 27 September 2026 15:26
by RNEE
@waltervl : 8-) Nice earrnings

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Monday 28 September 2026 13:54
by RNEE
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

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Monday 28 September 2026 19:36
by waltervl
waltervl 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
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/38

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Monday 28 September 2026 20:10
by JanJaap
For those interested : i completed a dzVents script with fills all data i had before for 2 strings.
Plugin also support reading individual strings? What do you miss in the plugin that you prefer the DzVents script?

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Monday 28 September 2026 20:11
by Jeweettoch13
waltervl wrote: Monday 28 September 2026 19:36
waltervl 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
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/38
Cant wait to try it out, unfortunately the sun is letting us down lol.

Is this fix so that the total generated output will no longer comes trough on the daily value?
error1.jpg
error1.jpg (97.84 KiB) Viewed 121 times
Is this fix also to get the PV AC output back? Cant get this one to work since..
error2.jpg
error2.jpg (269.65 KiB) Viewed 121 times

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Monday 28 September 2026 20:59
by RNEE
JanJaap wrote: Monday 28 September 2026 20:10
For those interested : i completed a dzVents script with fills all data i had before for 2 strings.
Plugin also support reading individual strings? What do you miss in the plugin that you prefer the DzVents script?
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.

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.

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Monday 28 September 2026 22:06
by JanJaap
Jeweettoch13 wrote: Monday 28 September 2026 20:11
waltervl wrote: Monday 28 September 2026 19:36
waltervl 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
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/38
Cant wait to try it out, unfortunately the sun is letting us down lol.

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
Yes it fixes the spikes in the generated energy

I did not check all the devices. Which one is now missing? The output current?

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Monday 28 September 2026 22:13
by JanJaap
So the spikes in daily energy generation should be gone. You'd need to clean up the data manually though. The UI should allow you by <shift> click on th egraph to remove the bvalue, but for me it doesn't clean up the data so I'll go for the more 'you need to know what you're doing' route of manually altering the database.....

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Tuesday 29 September 2026 10:58
by RNEE
JanJaap wrote: Monday 28 September 2026 22:13 So the spikes in daily energy generation should be gone. You'd need to clean up the data manually though. The UI should allow you by <shift> click on th egraph to remove the bvalue, but for me it doesn't clean up the data so I'll go for the more 'you need to know what you're doing' route of manually altering the database.....
I cleaned up some data and updated the plugin, disabled my dzVent-script , restarted Domoticz.

But i still have new large data spikes in history, any body else same problems ?

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Tuesday 29 September 2026 11:45
by JanJaap
For me energy data for today looks as expected, no spikes:
Screenshot 2026-09-29 114336.png
Screenshot 2026-09-29 114336.png (72.75 KiB) Viewed 42 times

Whereas earlier it was spikes all over (did not clean up yet):
Screenshot 2026-09-29 114525.png
Screenshot 2026-09-29 114525.png (62.4 KiB) Viewed 42 times

Re: Python Plugin: GoodWe solar inverter via SEMS API

Posted: Tuesday 29 September 2026 13:15
by RNEE
i manually cleaned up domoticz.db , it seems that the rolling total according tot the SEMS website is lower than the older total value in domoticz.db.

This gives negative values.

Very strange.

Today's value look good now and i will investigate further, maybe enter history data manualy.