I installed using pip, and l am using a venv environment.

I have tried following the instructions
https://github.com/weewx/weewx/wiki/logging but l can't work out how to get
it to write logs.

Gordon

On Tue, 27 May 2025, 16:52 vince, <[email protected]> wrote:

> What in particular are you struggling with?
>
> On Tuesday, May 27, 2025 at 2:17:50 AM UTC-7 GordonT wrote:
>
>> Just a note to say the system has been performing perfectly since adding
>> the rtc to the Pi.
>>
>> I have struggled to get any logs working
>>
>> On Sunday, 25 May 2025 at 12:49:56 UTC+1 Tom Keffer wrote:
>>
>>> Totally forgot that package installs include a udev rule.
>>>
>>> For how to read the log, see section *Log messages
>>> <https://www.weewx.com/docs/5.1/usersguide/monitoring/#log-messages>* in
>>> the documentation.
>>>
>>> On Sun, May 25, 2025 at 2:25 AM GordonT <[email protected]> wrote:
>>>
>>>> Thanks for the help.
>>>>
>>>> 1) l found a udev rule, 60-weewx.rules. l didn't write it so assume the
>>>> installation did. I don't know why it didn't show up as /dev/vantage
>>>> earlier but working now.
>>>>
>>>> 2) The Pi having incorrect time and date at boot seems to be the issue,
>>>> l have seen no issues so far after installing an rtc.
>>>> It appears to corrupt the vantage pro2 logger which l can only solve by
>>>> clearing the memory, which results in lost data.
>>>>
>>>> Where do l find the log ? I found a reference to /var/log/syslog but
>>>> can't find any relevant log. I have set debug=1 in the conf.
>>>>
>>>> Overall l find weewx very good and hopefully can get rid of my old PC
>>>> with weatherlink.
>>>>
>>>> Thanks
>>>> On Saturday, 24 May 2025 at 19:33:45 UTC+1 Tom Keffer wrote:
>>>>
>>>>> 1. If the Vantage is showing up as /dev/vantage, you added a udev
>>>>> rule. Perhaps you forgot about it? See *Installing a udev script
>>>>> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#installing-a-udev-script>*
>>>>>
>>>>> 2. If you did not have an RTC, then the Pi uses the last recorded
>>>>> time, which as you noted, could be the previous day. See the *Time
>>>>> <https://github.com/weewx/weewx/wiki/Raspberry-Pi#time>* section in
>>>>> the article about RPis.
>>>>>
>>>>> If you have any additional problems, be sure to include a log.
>>>>>
>>>>> -tk
>>>>>
>>>>> On Sat, May 24, 2025 at 11:15 AM GordonT <[email protected]> wrote:
>>>>>
>>>>>> Firstly when l installed it the vantage showed up as /dev/ttyUSB0 but
>>>>>> now its /dev/vantage, has something changed ?
>>>>>>
>>>>>> I also had an issue where after a period it would stop downloading
>>>>>> any data from the vantage, normally after a boot of the pi. I noticed 
>>>>>> when
>>>>>> the pi was booted, connected to the Internet but no rtc, the pi time 
>>>>>> would
>>>>>> be the same as when it was shutdown until it got the current time from 
>>>>>> the
>>>>>> Internet. In this period the vantage would show the time from the pi, 
>>>>>> which
>>>>>> could be from the previous day. Could this be the issue ?
>>>>>>
>>>>>> I have now fitted an rtc to the Pi and so far so good, but will see
>>>>>> how it goes.
>>>>>>
>>>>>> --
>>>>>> 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 visit
>>>>>> https://groups.google.com/d/msgid/weewx-user/7e203cc8-6e23-4f48-b793-112d785a3a02n%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/weewx-user/7e203cc8-6e23-4f48-b793-112d785a3a02n%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 visit
>>>> https://groups.google.com/d/msgid/weewx-user/0da64b7f-85f8-4c05-bb36-a933fdbe468en%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/weewx-user/0da64b7f-85f8-4c05-bb36-a933fdbe468en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/ITmmDT1Q0Xs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/weewx-user/8c8cb5a2-8e51-4866-b350-723d2d4e2d03n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/8c8cb5a2-8e51-4866-b350-723d2d4e2d03n%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 visit 
https://groups.google.com/d/msgid/weewx-user/CAHCbo%3D5RTAvZSt0PeUk63qi_%2B3_LiR4qNjy9Qj-6XTV2yc5K8Q%40mail.gmail.com.

Reply via email to