SolarEdge production throttling from Domoticz

Moderator: leecollings

User avatar
jvdz
Posts: 2441
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: SolarEdge production throttling from Domoticz

Post by jvdz »

Just had a look, and we could add a test in that code section to avoid the hard error in the log, and only generate a log message for "Verbose" stating the device is missing in the table, but it will simply skip processing the device for this heartbeat.
I can't test the change since I don't have Meters/Batteries, so please PM/email me when you like to test the change for me before I commit it in github.
User avatar
jvdz
Posts: 2441
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: SolarEdge production throttling from Domoticz

Post by jvdz »

The additional tests to avoid the reported errors is committed to the MetersDev branch.
jannl
Posts: 823
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: SolarEdge production throttling from Domoticz

Post by jannl »

Testing with the meters dev branch, what does: status: Solaredge: Skip Sync as P1 not updated last (56603893) seconds and restore default update interval mean?

No updates now, switching back to Addies branch

Edit: I suppose P1 refers to smart meter data? In what format does it need to be? I use a youless for my smart meter, the data looks like this: 3406118;975140;496075;1460471;31;0
User avatar
jvdz
Posts: 2441
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: SolarEdge production throttling from Domoticz

Post by jvdz »

Guess you defined a p1 idx which the plugin tries to use to sync its updates to solaredge with? This message simply states that the supplied idx did update for that number of seconds so it will use the default defined update timer seconds. All should still work fine.
The only thing used of the p1 device is the lastupdatetime.
jannl
Posts: 823
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: SolarEdge production throttling from Domoticz

Post by jannl »

A ok, clear.

Hm, switched to my test docker, same image as production. This seems to work

Edit: there is no check (on ID) whether a device is already present? I have a lot of duplicate devices now
Edit2: I obviously have to do more tests/checks
Edit3: Not all device occur twice, I guess the check is only done for the first device. The double deviceID's could be a problem I suppose
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest