May be that: Belchertown Issue #685 
<https://github.com/poblabs/weewx-belchertown/issues/685>

Quote from weewx/restx.py line 326ff.:
if 'dayRain' not in _datadict: 
    # NB: The WU considers the archive with time stamp 00:00 
    # (midnight) as (wrongly) belonging to the current day 
    # (instead of the previous day). But, it's their site, 
    # so we'll do it their way. That means the SELECT statement 
    # is inclusive on both time ends: 
    _result = dbmanager.getSql( 
        "SELECT SUM(rain), MIN(usUnits), MAX(usUnits) FROM %s " 
        "WHERE dateTime>=? AND dateTime<=?" 
        % dbmanager.table_name, (_sod_ts, _time_ts)) 

Some connection?

Geni schrieb am Sonntag, 3. April 2022 um 08:39:51 UTC+2:

> I use the template Belchertown (Version: 1.3b1), and without the feature 
> MQTT the values 1 and 2 are always the same it is then displayed with both 
> the daysumm of weewx.
> If now MQTT is active under 1 the value of the daysumm of the Vantage Pro2 
> console is displayed and this is larger also visible in the console. 
> (Observation phase the last 3 days with much precipitation).
> My opinion is that not all rain values are correctly transmitted to weewx 
> or received by weewx.
> Do others also have this error one must compare the daily rain values of 
> the console display with weewx?
>
>
> [email protected] schrieb am Samstag, 2. April 2022 um 18:24:03 UTC+2:
>
>> It will be in one of the skin's templates, but I can't say which or 
>> where, because you are not using a WeeWX skin. You will either have to ask 
>> the skin's author, or look through its templates yourself (which generally 
>> end with ".tmpl") and find what tag is being used.
>>
>> I will say that it's possible that #1 is a tag like $day.rain.sum, while 
>> #2 is some integration over an unknown time that the skin author is using. 
>> Again, you'll have to ask the author.
>>
>> I apologize for that unsatisfying answer, but I simply cannot debug every 
>> 3rd party skin. There's just too many of them.
>>
>> On Sat, Apr 2, 2022 at 8:56 AM Geni <[email protected]> wrote:
>>
>>> Where should this $day.rain.sum entry be?
>>>
>>> [email protected] schrieb am Samstag, 2. April 2022 um 14:31:11 UTC+2:
>>>
>>>> What tag did you use for the two values? Check to make sure they are 
>>>> both $day.rain.sum.
>>>>
>>>> On Sat, Apr 2, 2022 at 5:02 AM Geni <[email protected]> wrote:
>>>>
>>>>> Weewx 4.7.0 runs on a Raspberry 3B+ the database is MariaDB on 
>>>>> Synology as well as the webserver
>>>>>
>>>>> Geni schrieb am Samstag, 2. April 2022 um 13:58:58 UTC+2:
>>>>>
>>>>>> I noticed the error only now since my MQTT at least works locally.
>>>>>> The value 1 is the same as is displayed in the Vantage Console and 2 
>>>>>> is the daily sum which in my opinion should always be the same as 1 
>>>>>> after 
>>>>>> the generation of the graphics (for me every 10').
>>>>>> This morning this value was still identical and during the day the 
>>>>>> difference is getting bigger and bigger. Yesterday it was 0.8 mm.
>>>>>> Is the Vantage Console calculating incorrectly or why are not all 
>>>>>> values correctly transferred to weewx?
>>>>>> Geni
>>>>>> [image: weewx01.jpg]
>>>>>> [email protected] schrieb am Freitag, 1. April 2022 um 15:11:04 UTC+2:
>>>>>>
>>>>>>> How about a little more information? What are you comparing? 
>>>>>>>
>>>>>>> On Fri, Apr 1, 2022 at 1:19 AM Geni <[email protected]> wrote:
>>>>>>>
>>>>>>>> The Vantage Pro2 does not show the same daily rain amount as weewx.
>>>>>>>> How can this be corrected?
>>>>>>>> Geni
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "weewx-user" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>> send an email to [email protected].
>>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/weewx-user/071710fd-4118-45fe-bde7-1a13159829d2n%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/071710fd-4118-45fe-bde7-1a13159829d2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "weewx-user" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>>
>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/a14142fc-0df9-4469-ad8b-3fd2d1ef5669n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/a14142fc-0df9-4469-ad8b-3fd2d1ef5669n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/52f81647-394b-4771-8f51-36fab39914cdn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/52f81647-394b-4771-8f51-36fab39914cdn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8bf0673e-82a5-4731-8011-85bbe793ccfcn%40googlegroups.com.

Reply via email to