Page 2 of 2

Re: Forecast of the yield of solar panels

Posted: Thursday 04 July 2019 13:46
by Toulon7559
@FireWizard

See the Addition at the bottom of this message

Summary: if the predicted Power-value for 1 hour is extrapolated over 1 hour, then the result is equivalent to the Energy over that hour, and reverse.

Therefore with the hourly input-data from forecast.solar, it does not really matter what unit you take for display, because the value in W or the value in Wh will the same.

Re: Forecast of the yield of solar panels

Posted: Thursday 04 July 2019 16:11
by FireWizard
Hi Toulon7559,

You are right, I fully agree,
The values for Estimated Power in Watts and Estimated Energy in Wh or kWh
are identical.

Thank you for the reply.

Regards

Re: Forecast of the yield of solar panels

Posted: Thursday 13 August 2020 14:08
by Toulon7559
Just puzzled, and therefore requesting your views ....

Since a year using the dzvents-script in this message.
After a system crash & restauration the script running without showing errors in the log.
However, one of the devices (3148) does not refresh anymore [but no problem with the other 3 devices of same type (3126, 3127 and 3136)]:
somebody having a pragmatic solution?

Re: Forecast of the yield of solar panels

Posted: Thursday 13 August 2020 14:40
by waaren
Toulon7559 wrote: Thursday 13 August 2020 14:08 Just puzzled, and therefore requesting your views ....
one of the devices (3148) does not refresh anymore
My first step in the process of finding the issue would be to look at the log for the line with "watt-hours_cum today: "
(assuming the script has still LOG_DEBUG active)

Re: Forecast of the yield of solar panels

Posted: Thursday 13 August 2020 15:43
by Toulon7559
Subject dzvents-script presently is only one at this machine.
With below lines would expect some input to the logging of Domoticz [?], but nothing appears

Code: Select all

        logging =   {
                        level       = domoticz.LOG_DEBUG,  -- switch to LOG_ERROR when all OK
                        marker      = webResponse
                    }

Re: Forecast of the yield of solar panels

Posted: Thursday 13 August 2020 17:14
by waaren
Toulon7559 wrote: Thursday 13 August 2020 15:43 Subject dzvents-script presently is only one at this machine.
With below lines would expect some input to the logging of Domoticz [?], but nothing appears

Code: Select all

        logging =   {
                        level       = domoticz.LOG_DEBUG,  -- switch to LOG_ERROR when all OK
                        marker      = webResponse
                    }
If you don't see anything in the log then your settings for event logging / dzVents logging do probably prevent that.

Re: Forecast of the yield of solar panels

Posted: Thursday 13 August 2020 19:14
by Toulon7559
@waaren,

Whatever the reason of the described error, stripping & tuning the mentioned script for serving device 3148 only was successful.
Now to remerge the 2 working scripts to return to 1 script (to save on calls to the website).
Or (as alternative approach) reduce the calling rate per script to stay within the allowance.
{in hindsight my experiments during restauration to get the scripts running again might have required more calls per time frame than allowed, causing a temporary blockade]

;-) And next have a look why no logging visible for DzVents, because at the Setup-page of Domoticz all settings seem OK .....