No, the skin is not the problem. It involves only the database, not the
driver.

Somehow the packets are not passing the CRC test. I can think of only three
possible failure modes: (1) the wrong value is being calculated by the
logger, (2) the driver is reading the number incorrectly, or (3) the driver
is calculating the check incorrectly. I say it's #1.  What does he think
the failure mode is?

It is only natural that the manufacturer is trying to shift the blame, but
there are thousands of WeeWX installations around the world that are
running the code successfully. His is a new product. Why is he so confident
that the problem is not on his end?

If you are willing, I can send you an instrumented version of vantage.py
that would show us what is in the buffer. But, you have to be comfortable
with copying it into the correct position.

-tk



On Mon, Apr 26, 2021 at 8:31 AM Mauro De Lauretis <
[email protected]> wrote:

> Tom, it's me again.
>
> I've contacted the manufacturer of the data logger and he's pretty sure
> the errors could depend on the driver (vantage.py).
> My WeeWX runs on weather34-skin. Do you think the problem could be
> provided by this skin itself too?
>
> Would be grateful for a feedback.
>
> Thanks
> Mauro
>
> Il giorno lunedì 26 aprile 2021 alle 14:42:40 UTC+2 [email protected] ha
> scritto:
>
>> No, you said you had "a third part logger serial to usb". I assumed that
>> meant you had a third party serial to usb *converter*. However, no
>> serial port is involved.
>>
>> On Mon, Apr 26, 2021 at 5:27 AM Mauro De Lauretis <[email protected]>
>> wrote:
>>
>>>
>>> Yes, I mentioned that it's a 3rd party logger. Maybe you didn't see it
>>> :-)
>>>
>>> I get the error by reseating the logger too, but thank you anyway Tom!
>>> Il giorno lunedì 26 aprile 2021 alle 14:24:06 UTC+2 [email protected] ha
>>> scritto:
>>>
>>>> Now I understand. You have a 3rd party USB logger. I am not familiar
>>>> with it.
>>>>
>>>> You will have to ask the manufacturer about the problem.
>>>>
>>>> On Mon, Apr 26, 2021 at 5:08 AM Mauro De Lauretis <
>>>> [email protected]> wrote:
>>>>
>>>>> I think so, it's a converter like this:
>>>>>
>>>>>
>>>>> https://www.eurowebcamsite.com/it/e-shop/stazioni-di-rilevamento-meteo/datalogger-davis-usb-detail
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Il giorno lunedì 26 aprile 2021 alle 14:03:09 UTC+2 [email protected]
>>>>> ha scritto:
>>>>>
>>>>>> If I understand correctly, you have a serial port, which you connect
>>>>>> to your computer via a serial-to-usb converter. Is that correct?
>>>>>>
>>>>>> If so, serial-to-usb converters are notoriously unreliable. Try a
>>>>>> different one.
>>>>>>
>>>>>> On Mon, Apr 26, 2021 at 4:59 AM Mauro De Lauretis <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hello Tom,
>>>>>>> thank you for reply.
>>>>>>>
>>>>>>> It happens every 10 minutes interval, but I said in the post before
>>>>>>> LOOP data gets received anyway after one minute waiting.
>>>>>>> It's a third part logger serial to usb and I don't have installed
>>>>>>> ferrite coils on it.
>>>>>>>
>>>>>>> I will try reseating it.
>>>>>>>
>>>>>>> Mauro
>>>>>>>
>>>>>>>
>>>>>>> Il giorno lunedì 26 aprile 2021 alle 13:55:05 UTC+2 [email protected]
>>>>>>> ha scritto:
>>>>>>>
>>>>>>>> Your logger is probably fine.
>>>>>>>>
>>>>>>>> Does this happen often?
>>>>>>>>
>>>>>>>> What kind of logger? Serial or USB port?
>>>>>>>>
>>>>>>>> Have you installed ferrite coils
>>>>>>>> <https://en.wikipedia.org/wiki/Ferrite_bead>?
>>>>>>>>
>>>>>>>> Try reseating the logger. Just remove it, then reinstall it.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Apr 26, 2021 at 1:26 AM Mauro De Lauretis <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Good morning
>>>>>>>>>
>>>>>>>>> I'm running WeeWX 4.5.1 on a RPi connected to a Davis console.
>>>>>>>>> Everything works well, but I get this error messages every 10
>>>>>>>>> minutes:
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:09 raspberrypi weewx[15755] ERROR
>>>>>>>>> weewx.drivers.vantage: LOOP try #1; error: LOOP buffer failed CRC 
>>>>>>>>> check
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:09 raspberrypi weewx[15755] ERROR
>>>>>>>>> weewx.drivers.vantage: LOOP try #2; error: LOOP buffer failed CRC 
>>>>>>>>> check
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:09 raspberrypi weewx[15755] ERROR
>>>>>>>>> weewx.drivers.vantage: LOOP try #3; error: LOOP buffer failed CRC 
>>>>>>>>> check
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:09 raspberrypi weewx[15755] ERROR
>>>>>>>>> weewx.drivers.vantage: LOOP try #4; error: LOOP buffer failed CRC 
>>>>>>>>> check
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:09 raspberrypi weewx[15755] ERROR
>>>>>>>>> weewx.drivers.vantage: LOOP max tries (4) exceeded.
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:09 raspberrypi weewx[15755] INFO weewx.engine: Main
>>>>>>>>> loop exiting. Shutting engine down.
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:09 raspberrypi weewx[15755] INFO weewx.engine:
>>>>>>>>> Shutting down StdReport thread
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:29 raspberrypi weewx[15755] ERROR weewx.engine:
>>>>>>>>> Unable to shut down StdReport thread
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:29 raspberrypi weewx[15755] DEBUG weewx.restx: Shut
>>>>>>>>> down PWSWeather thread.
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:29 raspberrypi weewx[15755] DEBUG weewx.restx: Shut
>>>>>>>>> down Wunderground-PWS thread.
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:29 raspberrypi weewx[15755] DEBUG weewx.restx: Shut
>>>>>>>>> down StationRegistry thread.
>>>>>>>>>
>>>>>>>>> Apr 26 10:15:29 raspberrypi weewx[15755] CRITICAL __main__: Caught
>>>>>>>>> WeeWxIOError: Max tries exceeded while getting LOOP data.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> After getting that messages, the logger works fine and updates the
>>>>>>>>> LOOP Data.
>>>>>>>>>
>>>>>>>>> Is this a signal that the logger is going to damage?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thank you
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Mauro
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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/106a3989-3437-469f-a558-bb58572f0959n%40googlegroups.com
>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/106a3989-3437-469f-a558-bb58572f0959n%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/ad804c31-09f8-4fd6-8046-9e0bdb05dbcdn%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/ad804c31-09f8-4fd6-8046-9e0bdb05dbcdn%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/6fdfd09d-7042-4938-8ade-e1ae97a3961en%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/6fdfd09d-7042-4938-8ade-e1ae97a3961en%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/744cca77-3727-4015-9573-4937c5bf9150n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/744cca77-3727-4015-9573-4937c5bf9150n%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/86a284ea-ce1d-41d9-865b-b7e75078fa1fn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/86a284ea-ce1d-41d9-865b-b7e75078fa1fn%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/CAPq0zEA_CrvXbGgPRb1y4-fGRS2ePiR1NBoYNg%2BnsJ-QZj1c8w%40mail.gmail.com.

Reply via email to