Re: [weewx-user] change locale for html.tmpl with weewx 5.0.2

2024-04-11 Thread Juan Antonio Mosquera Casais
Hi,

Perfect, this works:
*TMP=$current.outTemp.format(localize=False, add_label=False)

Thanks Tom and Karen for your support and patience

El viernes, 12 de abril de 2024 a las 7:21:33 UTC+2, Karen K escribió:

> Juan Antonio Mosquera Casais schrieb am Freitag, 12. April 2024 um 
> 07:03:31 UTC+2:
>
> Oh... works... but, show units, i can delete units??
>
>
> Replace .formatted by .format(add_label=False)
>  
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6b57a302-ca8d-4a4b-acb0-829c89fa8a83n%40googlegroups.com.


Re: [weewx-user] change locale for html.tmpl with weewx 5.0.2

2024-04-11 Thread Karen K
Juan Antonio Mosquera Casais schrieb am Freitag, 12. April 2024 um 07:03:31 
UTC+2:

Oh... works... but, show units, i can delete units??


Replace .formatted by .format(add_label=False)
 

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1e3eda68-4d8b-4da3-adb7-71ae06351c89n%40googlegroups.com.


Re: [weewx-user] change locale for html.tmpl with weewx 5.0.2

2024-04-11 Thread Juan Antonio Mosquera Casais
Oh... works... but, show units, i can delete units??

Before:
*TMP=9,1
*WND=0
*AZI=   N/A
*BAR=1030,8

After:
*TMP=9.0 C
*WND=0 km/h
*AZI=   N/A
*BAR=1030.8 mbar


El jueves, 11 de abril de 2024 a las 21:56:29 UTC+2, Tom Keffer escribió:

> I'm not sure whether it would work, but you could try not localizing the 
> results. For example,
>
> *$monthoutTemp.max.format(localize=False)*
>
> See if that works.
>
>
>
>
> On Thu, Apr 11, 2024 at 10:37 AM Juan Antonio Mosquera Casais <
> juan.antonio.m...@gmail.com> wrote:
>
>> I read doc but i dont know this>
>>
>> I use Belchertown skin, and in skin.conf i generate a 
>> meteoclimatic.html.tmpl >
>>
>> *UPD=$current.dateTime.format("%d-%m-%Y %H:%M")
>> *TMP=$current.outTemp.formatted
>> *WND=$current.windSpeed.formatted
>> *AZI=$current.windDir.formatted
>> *BAR=$current.barometer.formatted
>> *HUM=$current.outHumidity.formatted
>> *SUN=$current.radiation.formatted
>> *UVI=$current.UV.formatted
>> *DHTM=$day.outTemp.max.formatted
>> *DLTM=$day.outTemp.min.formatted
>> *DHHM=$day.outHumidity.max.formatted
>> *DLHM=$day.outHumidity.min.formatted
>> *DHBR=$day.barometer.max.formatted
>> *DLBR=$day.barometer.min.formatted
>> *DGST=$day.windGust.max.formatted
>> *DSUN=$day.radiation.max.formatted
>> *DHUV=$day.UV.max.formatted
>> *DPCP=$day.rain.sum.formatted
>> *WRUN=
>> *MHTM=$month.outTemp.max.formatted
>> *MLTM=$month.outTemp.min.formatted
>> *MHHM=$month.outHumidity.max.formatted
>> *MLHM=$month.outHumidity.min.formatted
>> *MHBR=$month.barometer.max.formatted
>> *MLBR=$month.barometer.min.formatted
>> *MGST=$month.windGust.max.formatted
>> *MSUN=$month.radiation.max.formatted
>> *MHUV=$month.UV.max.formatted
>> *MPCP=$month.rain.sum.formatted
>> *YHTM=$year.outTemp.max.formatted
>> *YLTM=$year.outTemp.min.formatted
>> *YHHM=$year.outHumidity.max.formatted
>> *YLHM=$year.outHumidity.min.formatted
>> *YHBR=$year.barometer.max.formatted
>> *YLBR=$year.barometer.min.formatted
>> *YGST=$year.windGust.max.formatted
>> *YSUN=$year.radiation.max.formatted
>> *YHUV=$year.UV.max.formatted
>> *YPCP=$year.rain.sum.formatted
>> *EOT* 
>>
>> My locale is es_ES but, this meteoclimatic.html.tmpl i want en_US, is 
>> posible?
>>
>> -- 
>> 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 weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/7c828d07-e48f-42e2-a34e-9c21636d3051n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b0f39e00-dd09-42ca-8b06-ea26a1039338n%40googlegroups.com.


Re: [weewx-user] Updates from Davis Envoy have stopped

2024-04-11 Thread Peter Tuft
Fixed!!  Thanks so much.  I'm delighted.

This exercise has prompted one other query:  despite my "ain't broke, don't 
fix it" approach perhaps it's time I updated to a more recent version of 
WeeWX.  The upgrade page cautions strongly that I should use the same 
method as the original installation, but that was over 3 years ago and I 
don't remember.  Is there a way of identifying the original install method?

Thanks again,
Peter T.


On Friday, April 12, 2024 at 11:05:18 AM UTC+10 Tom Keffer wrote:

> You can accomplish the same thing by using the old v4 utilities 
> . 
>
> wee_device --dump
> wee_device --clear-memory
>
> On Thu, Apr 11, 2024 at 6:01 PM Peter Tuft  wrote:
>
>> Tom,
>>
>> Many thanks - I've done as you suggested, log attached.  It does show 
>> discrepancies in the times.  I tried the  weectl device commands to dump 
>> and clear the memory but my Pi says "command not found".  Where do I find 
>> that?
>>
>> Because I believe in "ain't broke, don't fix it" I'm running old software 
>> - Weewx 4.5.1 under Raspbian 10.  But maybe it's "broke" - do I need to 
>> update to access weectl device?
>>
>> Thanks,
>> Peter T.
>>
>> On Friday, April 12, 2024 at 1:35:19 AM UTC+10 Tom Keffer wrote:
>>
>>> Odds are it's a problem with corrupted memory 
>>> ,
>>>  
>>> but this time, just to be sure, could you set debug=1, restart, then post 
>>> the log through the first reporting cycle.
>>>
>>>
>>>
>>> On Thu, Apr 11, 2024 at 6:41 AM Peter Tuft  wrote:
>>>
 A couple of days ago I disconnected/reconnected the USB power and 
 serial data cables between my Raspberry Pi and Davis Envoy.  Since then 
 weewx seems to have stopped receiving updates from the Envoy - it just 
 reports old data.  I've tested the connection using minicom as described 
 here: 
 https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station.
   
 That seemed to work OK.  That page also suggested powering down the Envoy 
 for a few minutes then restarting which didn't help either.  

 So I'm at a loss.  Attached is a log of events since my most recent 
 restart of weewx.  The system updates every 10 minutes and you can see two 
 cycles of that at the end of the log.  That same pattern continues 
 indefinitely, but the FTP upload is always of the same old data from a 
 couple of days ago.

 I'll be most grateful for any advice.

 Thanks,
 Peter T.

 -- 
 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 weewx-user+...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/091560c7-e85f-46d0-b8eb-6e9201d7ab5bn%40googlegroups.com
  
 
 .

>>> -- 
>> 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 weewx-user+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/4b24d477-3e5b-496b-95b8-5b29360678e2n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ee3af9b5-88c4-4065-b5e2-89b124478e2an%40googlegroups.com.


Re: [weewx-user] Updates from Davis Envoy have stopped

2024-04-11 Thread Tom Keffer
You can accomplish the same thing by using the old v4 utilities
.

wee_device --dump
wee_device --clear-memory

On Thu, Apr 11, 2024 at 6:01 PM Peter Tuft  wrote:

> Tom,
>
> Many thanks - I've done as you suggested, log attached.  It does show
> discrepancies in the times.  I tried the  weectl device commands to dump
> and clear the memory but my Pi says "command not found".  Where do I find
> that?
>
> Because I believe in "ain't broke, don't fix it" I'm running old software
> - Weewx 4.5.1 under Raspbian 10.  But maybe it's "broke" - do I need to
> update to access weectl device?
>
> Thanks,
> Peter T.
>
> On Friday, April 12, 2024 at 1:35:19 AM UTC+10 Tom Keffer wrote:
>
>> Odds are it's a problem with corrupted memory
>> ,
>> but this time, just to be sure, could you set debug=1, restart, then post
>> the log through the first reporting cycle.
>>
>>
>>
>> On Thu, Apr 11, 2024 at 6:41 AM Peter Tuft  wrote:
>>
>>> A couple of days ago I disconnected/reconnected the USB power and serial
>>> data cables between my Raspberry Pi and Davis Envoy.  Since then weewx
>>> seems to have stopped receiving updates from the Envoy - it just reports
>>> old data.  I've tested the connection using minicom as described here:
>>> https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station.
>>> That seemed to work OK.  That page also suggested powering down the Envoy
>>> for a few minutes then restarting which didn't help either.
>>>
>>> So I'm at a loss.  Attached is a log of events since my most recent
>>> restart of weewx.  The system updates every 10 minutes and you can see two
>>> cycles of that at the end of the log.  That same pattern continues
>>> indefinitely, but the FTP upload is always of the same old data from a
>>> couple of days ago.
>>>
>>> I'll be most grateful for any advice.
>>>
>>> Thanks,
>>> Peter T.
>>>
>>> --
>>> 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 weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/091560c7-e85f-46d0-b8eb-6e9201d7ab5bn%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/4b24d477-3e5b-496b-95b8-5b29360678e2n%40googlegroups.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDLGxr%2B4vX29%2B_5BuDX-PRyijFhqXnXEiJM60BoMjcztQ%40mail.gmail.com.


Re: [weewx-user] Updates from Davis Envoy have stopped

2024-04-11 Thread Peter Tuft
Tom,

Many thanks - I've done as you suggested, log attached.  It does show 
discrepancies in the times.  I tried the  weectl device commands to dump 
and clear the memory but my Pi says "command not found".  Where do I find 
that?

Because I believe in "ain't broke, don't fix it" I'm running old software - 
Weewx 4.5.1 under Raspbian 10.  But maybe it's "broke" - do I need to 
update to access weectl device?

Thanks,
Peter T.

On Friday, April 12, 2024 at 1:35:19 AM UTC+10 Tom Keffer wrote:

> Odds are it's a problem with corrupted memory 
> ,
>  
> but this time, just to be sure, could you set debug=1, restart, then post 
> the log through the first reporting cycle.
>
>
>
> On Thu, Apr 11, 2024 at 6:41 AM Peter Tuft  wrote:
>
>> A couple of days ago I disconnected/reconnected the USB power and serial 
>> data cables between my Raspberry Pi and Davis Envoy.  Since then weewx 
>> seems to have stopped receiving updates from the Envoy - it just reports 
>> old data.  I've tested the connection using minicom as described here: 
>> https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station.
>>   
>> That seemed to work OK.  That page also suggested powering down the Envoy 
>> for a few minutes then restarting which didn't help either.  
>>
>> So I'm at a loss.  Attached is a log of events since my most recent 
>> restart of weewx.  The system updates every 10 minutes and you can see two 
>> cycles of that at the end of the log.  That same pattern continues 
>> indefinitely, but the FTP upload is always of the same old data from a 
>> couple of days ago.
>>
>> I'll be most grateful for any advice.
>>
>> Thanks,
>> Peter T.
>>
>> -- 
>> 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 weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/091560c7-e85f-46d0-b8eb-6e9201d7ab5bn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4b24d477-3e5b-496b-95b8-5b29360678e2n%40googlegroups.com.
Apr 12 10:02:54 raspberrypi systemd[1]: Stopping LSB: weewx weather system...
Apr 12 10:02:54 raspberrypi weewx[3886] INFO __main__: Received signal TERM 
(15).
Apr 12 10:02:54 raspberrypi weewx[3886] INFO weewx.engine: Main loop exiting. 
Shutting engine down.
Apr 12 10:02:54 raspberrypi weewx[3886] INFO weewx.engine: Shutting down 
StdReport thread
Apr 12 10:02:54 raspberrypi weewx[3886] INFO __main__: Terminating weewx 
version 4.5.1
Apr 12 10:02:54 raspberrypi weewx[5280]: Stopping weewx weather system: weewx.
Apr 12 10:02:54 raspberrypi systemd[1]: weewx.service: Succeeded.
Apr 12 10:02:54 raspberrypi systemd[1]: Stopped LSB: weewx weather system.
Apr 12 10:02:54 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Apr 12 10:02:55 raspberrypi weewx[5312] INFO __main__: Initializing weewx 
version 4.5.1
Apr 12 10:02:55 raspberrypi weewx[5312] INFO __main__: Using Python 3.7.3 
(default, Jan 22 2021, 20:04:44) #012[GCC 8.3.0]
Apr 12 10:02:55 raspberrypi weewx[5312] INFO __main__: Platform 
Linux-5.10.63-v7+-armv7l-with-debian-10.11
Apr 12 10:02:55 raspberrypi weewx[5312] INFO __main__: Locale is 'en_AU.UTF-8'
Apr 12 10:02:55 raspberrypi weewx[5312] INFO __main__: PID file is 
/var/run/weewx.pid
Apr 12 10:02:55 raspberrypi weewx[5317] INFO __main__: Using configuration file 
/etc/weewx/weewx.conf
Apr 12 10:02:55 raspberrypi weewx[5317] INFO __main__: Debug is 1
Apr 12 10:02:55 raspberrypi weewx[5317] DEBUG __main__: Initializing engine
Apr 12 10:02:55 raspberrypi weewx[5317] INFO weewx.engine: Loading station type 
Vantage (weewx.drivers.vantage)
Apr 12 10:02:55 raspberrypi weewx[5317] DEBUG weewx.drivers.vantage: Driver 
version is 3.2.2
Apr 12 10:02:55 raspberrypi weewx[5317] DEBUG weewx.drivers.vantage: Option 
loop_request=1
Apr 12 10:02:55 raspberrypi weewx[5317] DEBUG weewx.drivers.vantage: Opened up 
serial port /dev/ttyUSB0; baud 19200; timeout 4.00
Apr 12 10:02:55 raspberrypi weewx[5317] DEBUG weewx.drivers.vantage: Gentle 
wake up of console successful
Apr 12 10:02:55 raspberrypi weewx[5300]: Starting weewx weather system: weewx.
Apr 12 10:02:55 raspberrypi systemd[1]: Started LSB: weewx weather system.
Apr 12 10:02:55 raspberrypi weewx[5317] DEBUG weewx.drivers.vantage: Hardware 
type is 16
Apr 12 10:02:55 raspberrypi weewx[5317] DEBUG weewx.drivers.vantage: 

[weewx-user] Re: rtgd dont auto update after lost contact from sensor to console

2024-04-11 Thread gjr80
Did you work through the How to view the log 
 link in my first post? 
Depending on your system your logs may or may not appear in /var/log; if 
your system uses systemd (eg Debian bookworm) you will need to use 
journalctl to view the log.

Gary

On Thursday 11 April 2024 at 20:20:55 UTC+10 hobbyl...@gmail.com wrote:

> i use both latest versions of weewx and rtgd. with debian distro. i was 
> allrady debug=1  but i cant see the log in var/log 
>
> Στις Πέμπτη 11 Απριλίου 2024 στις 1:55:25 π.μ. UTC+3, ο χρήστης gjr80 
> έγραψε:
>
>> Impossible to say anything without more detail. What station do you have? 
>> What WeeWX version? What rtgd version? What does the log show? Please post 
>> a log extract showing the full WeeWX startup, this will give us a clear 
>> picture of your setup. Refer to the Help! Posting to weewx user wiki page 
>> . Note 
>> the How to view the log  
>> link if you are having difficulties viewing the log. Note also the need to 
>> set debug = 1 in weewx.conf. 
>>
>> How often does this occur? What was in the log when it last occurred? 
>> Please post a log extract from shortly (say 1-2 archive intervals in time) 
>> before the event through to shortly after the event (say 2-3 archive 
>> intervals in time). If relatively frequently it's worth leaving debug = 1 
>> and when it next occurs post a log extract from shortly (say 1-2 archive 
>> intervals in time) before the event through to shortly after the event (say 
>> 2-3 archive intervals in time). 
>>
>> Gary
>> On Wednesday 10 April 2024 at 16:29:14 UTC+10 hobbyl...@gmail.com wrote:
>>
>>> i notice that, every time who i have lost contact the sensor with the 
>>> console, after the connection back again, weewx  (the seasons skin )  
>>> updates data again , but rtgd (the gauge-data.txt )  no. 
>>> only with weewx restarting rtgd works again. 
>>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8b71b83b-a044-4dc3-9f60-0ca8a4ee66d5n%40googlegroups.com.


Re: [weewx-user] Generate temp gauge image

2024-04-11 Thread Jimi Lawson
I have the Steel Series gauges on my website if you want to see how they 
look https://jlawson.co.uk/index.php/weather 
Jimi

On Thursday 11 April 2024 at 20:58:45 UTC+1 p q wrote:

> https://github.com/gjr80/weewx-steelseries
>
> On Thu, Apr 11, 2024 at 10:34 AM awe  wrote:
>
>> Hello 
>> Does anybody know an easy way to make WeeWX generate a gauge image (that 
>> updates every X minute) of current temperature and wind that can be used in 
>> another .html page? 
>> Like this?
>> [image: Capture.JPG]
>> For the trends I see that WeeWX generate images like this: 
>> https://hpi3.hemmestad.com/weewx/Bootstrap/daytemp-Bootstrap.png 
>> But I cannot seem to get any gauges generated.. 
>> Live data not required... 
>>
>> -- 
>> 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 weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/3e8892b0-663d-4736-93ea-0a66c8097ab3n%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Peter Quinn
> (415)794-2264 <(415)%20794-2264>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5a50e802-67c9-490e-abc8-45c2726d8f43n%40googlegroups.com.


Re: [weewx-user] Generate temp gauge image

2024-04-11 Thread p q
https://github.com/gjr80/weewx-steelseries

On Thu, Apr 11, 2024 at 10:34 AM awe  wrote:

> Hello
> Does anybody know an easy way to make WeeWX generate a gauge image (that
> updates every X minute) of current temperature and wind that can be used in
> another .html page?
> Like this?
> [image: Capture.JPG]
> For the trends I see that WeeWX generate images like this:
> https://hpi3.hemmestad.com/weewx/Bootstrap/daytemp-Bootstrap.png
> But I cannot seem to get any gauges generated..
> Live data not required...
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/3e8892b0-663d-4736-93ea-0a66c8097ab3n%40googlegroups.com
> 
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAA1SM21YV9vYbC02kEVB%2BAe4g94LTQY7NFO37MYPcTwVb0xryw%40mail.gmail.com.


Re: [weewx-user] change locale for html.tmpl with weewx 5.0.2

2024-04-11 Thread Tom Keffer
I'm not sure whether it would work, but you could try not localizing the
results. For example,

*$monthoutTemp.max.format(localize=False)*

See if that works.




On Thu, Apr 11, 2024 at 10:37 AM Juan Antonio Mosquera Casais <
juan.antonio.mosquera.cas...@gmail.com> wrote:

> I read doc but i dont know this>
>
> I use Belchertown skin, and in skin.conf i generate a
> meteoclimatic.html.tmpl >
>
> *UPD=$current.dateTime.format("%d-%m-%Y %H:%M")
> *TMP=$current.outTemp.formatted
> *WND=$current.windSpeed.formatted
> *AZI=$current.windDir.formatted
> *BAR=$current.barometer.formatted
> *HUM=$current.outHumidity.formatted
> *SUN=$current.radiation.formatted
> *UVI=$current.UV.formatted
> *DHTM=$day.outTemp.max.formatted
> *DLTM=$day.outTemp.min.formatted
> *DHHM=$day.outHumidity.max.formatted
> *DLHM=$day.outHumidity.min.formatted
> *DHBR=$day.barometer.max.formatted
> *DLBR=$day.barometer.min.formatted
> *DGST=$day.windGust.max.formatted
> *DSUN=$day.radiation.max.formatted
> *DHUV=$day.UV.max.formatted
> *DPCP=$day.rain.sum.formatted
> *WRUN=
> *MHTM=$month.outTemp.max.formatted
> *MLTM=$month.outTemp.min.formatted
> *MHHM=$month.outHumidity.max.formatted
> *MLHM=$month.outHumidity.min.formatted
> *MHBR=$month.barometer.max.formatted
> *MLBR=$month.barometer.min.formatted
> *MGST=$month.windGust.max.formatted
> *MSUN=$month.radiation.max.formatted
> *MHUV=$month.UV.max.formatted
> *MPCP=$month.rain.sum.formatted
> *YHTM=$year.outTemp.max.formatted
> *YLTM=$year.outTemp.min.formatted
> *YHHM=$year.outHumidity.max.formatted
> *YLHM=$year.outHumidity.min.formatted
> *YHBR=$year.barometer.max.formatted
> *YLBR=$year.barometer.min.formatted
> *YGST=$year.windGust.max.formatted
> *YSUN=$year.radiation.max.formatted
> *YHUV=$year.UV.max.formatted
> *YPCP=$year.rain.sum.formatted
> *EOT*
>
> My locale is es_ES but, this meteoclimatic.html.tmpl i want en_US, is
> posible?
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/7c828d07-e48f-42e2-a34e-9c21636d3051n%40googlegroups.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECdN2mp%3Df1sqa53Rz1JThrUsYRTC2OgWyBSOi0vk15c%3DA%40mail.gmail.com.


[weewx-user] change locale for html.tmpl with weewx 5.0.2

2024-04-11 Thread Juan Antonio Mosquera Casais
I read doc but i dont know this>

I use Belchertown skin, and in skin.conf i generate a 
meteoclimatic.html.tmpl >

*UPD=$current.dateTime.format("%d-%m-%Y %H:%M")
*TMP=$current.outTemp.formatted
*WND=$current.windSpeed.formatted
*AZI=$current.windDir.formatted
*BAR=$current.barometer.formatted
*HUM=$current.outHumidity.formatted
*SUN=$current.radiation.formatted
*UVI=$current.UV.formatted
*DHTM=$day.outTemp.max.formatted
*DLTM=$day.outTemp.min.formatted
*DHHM=$day.outHumidity.max.formatted
*DLHM=$day.outHumidity.min.formatted
*DHBR=$day.barometer.max.formatted
*DLBR=$day.barometer.min.formatted
*DGST=$day.windGust.max.formatted
*DSUN=$day.radiation.max.formatted
*DHUV=$day.UV.max.formatted
*DPCP=$day.rain.sum.formatted
*WRUN=
*MHTM=$month.outTemp.max.formatted
*MLTM=$month.outTemp.min.formatted
*MHHM=$month.outHumidity.max.formatted
*MLHM=$month.outHumidity.min.formatted
*MHBR=$month.barometer.max.formatted
*MLBR=$month.barometer.min.formatted
*MGST=$month.windGust.max.formatted
*MSUN=$month.radiation.max.formatted
*MHUV=$month.UV.max.formatted
*MPCP=$month.rain.sum.formatted
*YHTM=$year.outTemp.max.formatted
*YLTM=$year.outTemp.min.formatted
*YHHM=$year.outHumidity.max.formatted
*YLHM=$year.outHumidity.min.formatted
*YHBR=$year.barometer.max.formatted
*YLBR=$year.barometer.min.formatted
*YGST=$year.windGust.max.formatted
*YSUN=$year.radiation.max.formatted
*YHUV=$year.UV.max.formatted
*YPCP=$year.rain.sum.formatted
*EOT* 

My locale is es_ES but, this meteoclimatic.html.tmpl i want en_US, is 
posible?

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7c828d07-e48f-42e2-a34e-9c21636d3051n%40googlegroups.com.


[weewx-user] Generate temp gauge image

2024-04-11 Thread awe
Hello 
Does anybody know an easy way to make WeeWX generate a gauge image (that 
updates every X minute) of current temperature and wind that can be used in 
another .html page? 
Like this?
[image: Capture.JPG]
For the trends I see that WeeWX generate images like this: 
https://hpi3.hemmestad.com/weewx/Bootstrap/daytemp-Bootstrap.png 
But I cannot seem to get any gauges generated.. 
Live data not required... 

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3e8892b0-663d-4736-93ea-0a66c8097ab3n%40googlegroups.com.


Re: [weewx-user] Updates from Davis Envoy have stopped

2024-04-11 Thread Tom Keffer
Odds are it's a problem with corrupted memory
,
but this time, just to be sure, could you set debug=1, restart, then post
the log through the first reporting cycle.



On Thu, Apr 11, 2024 at 6:41 AM Peter Tuft  wrote:

> A couple of days ago I disconnected/reconnected the USB power and serial
> data cables between my Raspberry Pi and Davis Envoy.  Since then weewx
> seems to have stopped receiving updates from the Envoy - it just reports
> old data.  I've tested the connection using minicom as described here:
> https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station.
> That seemed to work OK.  That page also suggested powering down the Envoy
> for a few minutes then restarting which didn't help either.
>
> So I'm at a loss.  Attached is a log of events since my most recent
> restart of weewx.  The system updates every 10 minutes and you can see two
> cycles of that at the end of the log.  That same pattern continues
> indefinitely, but the FTP upload is always of the same old data from a
> couple of days ago.
>
> I'll be most grateful for any advice.
>
> Thanks,
> Peter T.
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/091560c7-e85f-46d0-b8eb-6e9201d7ab5bn%40googlegroups.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDqm6tGNjtEDRZ6JS%3DdaG9%3DxbJiNdry9zkXUbnfWQQ64g%40mail.gmail.com.


Re: [weewx-user] Failed to update 4.10.2 to 5.0.2 with setup.py old installation

2024-04-11 Thread Juan Antonio Mosquera Casais
Yes, i found, thanks

El jueves, 11 de abril de 2024 a las 15:45:43 UTC+2, Juan Antonio Mosquera 
Casais escribió:

> Ok Tom, this is de problem, thanks...
>
> I updated to 5.0.2... but other question, i need modify rsyncupdaload.py, 
> where is now?
>
> Thanks!
>
> El jueves, 11 de abril de 2024 a las 14:20:31 UTC+2, Tom Keffer escribió:
>
>> I suspect this may be a permissions issue. What do you get for the 
>> following commands?
>>
>> *ls -l /home/weewx*
>> *ls -l /home/weewx/examples*
>>
>>
>> Make sure everything in the directory "/home/weewx" is writable by user 
>> "pi". Usually, it's easiest just to have everything under /home/weewx owned 
>> by user "pi":
>>
>> *sudo chown -R pi:pi /home/weewx*
>>
>>
>>
>> On Wed, Apr 10, 2024 at 9:49 PM Juan Antonio Mosquera Casais <
>> juan.antonio.m...@gmail.com> wrote:
>>
>>> Ok, thanks, sorry, this step i reply N, if i reply Y>
>>>
>>> pi@raspberrypi:/home/weewx $  source ~/weewx-venv/bin/activate
>>> (weewx-venv) pi@raspberrypi:/home/weewx $  weectl station upgrade 
>>> --config=/home/weewx/weewx.conf
>>> Using configuration file /home/weewx/weewx.conf
>>>
>>> Upgrade examples, utility files in /home/weewx (Y/n)? 
>>> Removing example directory /home/weewx/examples
>>> Copying examples into /home/weewx/examples
>>> Traceback (most recent call last):
>>>   File "/home/pi/weewx-venv/bin/weectl", line 8, in 
>>> sys.exit(main())
>>>   File "/home/pi/weewx-venv/lib/python3.9/site-packages/weectl.py", line 
>>> 66, in main
>>> namespace.func(namespace)
>>>   File 
>>> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/__init__.py", 
>>> line 121, in dispatch
>>> namespace.action_func(config_dict, namespace)
>>>   File 
>>> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/station_cmd.py", 
>>> line 333, in upgrade_station
>>> weectllib.station_actions.station_upgrade(config_dict=config_dict,
>>>   File 
>>> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/station_actions.py",
>>>  
>>> line 802, in station_upgrade
>>> examples_dir = copy_examples(config_dict, 
>>> examples_root=examples_root,
>>>   File 
>>> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/station_actions.py",
>>>  
>>> line 618, in copy_examples
>>> shutil.copytree(examples_resources, examples_dir)
>>>   File "/usr/lib/python3.9/shutil.py", line 557, in copytree
>>> return _copytree(entries=entries, src=src, dst=dst, 
>>> symlinks=symlinks,
>>>   File "/usr/lib/python3.9/shutil.py", line 458, in _copytree
>>> os.makedirs(dst, exist_ok=dirs_exist_ok)
>>>   File "/usr/lib/python3.9/os.py", line 225, in makedirs
>>> mkdir(name, mode)
>>> FileExistsError: [Errno 17] File exists: '/home/weewx/examples'
>>>
>>> Thanks.
>>>
>>> El jueves, 11 de abril de 2024 a las 0:12:37 UTC+2, Tom Keffer escribió:
>>>
 Juan, your service file, weewx.service, looks like the old V4.10 
 service file. The new V5.0 file has a few more entries.

 Double check that you did step #2: upgrade the old examples and utility 
 files. 

 On Wed, Apr 10, 2024 at 12:27 PM Juan Antonio Mosquera Casais <
 juan.antonio.m...@gmail.com> wrote:

> pi@raspberrypi:/etc $ cat /etc/systemd/system/weewx.service
> # systemd unit configuration file for WeeWX
> #
> # For information about running WeeWX under systemd,
> # be sure to read https://github.com/weewx/weewx/wiki/systemd
> #
> [Unit]
> Description=WeeWX weather system
> Documentation=https://weewx.com/docs
>
> Requires=time-sync.target
> After=time-sync.target
> RequiresMountsFor=/home
>
> [Service]
> ExecStart=/home/weewx/bin/weewxd /home/weewx/weewx.conf
> StandardOutput=null
> # To run as a non-root user, uncomment and set username and group here:
> #User=weewx
> #Group=weewx
>
> [Install]
> WantedBy=multi-user.target
>
>
> El miércoles, 10 de abril de 2024 a las 19:46:01 UTC+2, vince escribió:
>
>> Check to see if you have multiple weewx.service files on your 
>> system.  It's possible you have one under /etc and a different one under 
>> /usr and systemd is using the old one.
>>
>> If that is not the case, post your /etc/systemd/system/weewx.service 
>> file please.
>>
>> On Wednesday, April 10, 2024 at 10:42:39 AM UTC-7 Juan Antonio 
>> Mosquera Casais wrote:
>>
>>> Thanks... but... step 4 done> 
>>>
>>> history
>>>
>>>  1323  sudo cp /home/weewx/util/systemd/weewx.service 
>>> /etc/systemd/system
>>>  1324  sudo systemctl daemon-reload
>>>  1325  sudo systemctl enable weewx
>>>  1326  sudo systemctl start weewx
>>>
>>>
>>>
>>>
>>>
>>> El miércoles, 10 de abril de 2024 a las 13:16:55 UTC+2, Tom Keffer 
>>> escribió:
>>>
 You did not update your weewx service file, 
 /etc/systemd/system/weewx.service. This is step #4 in the 
 

Re: [weewx-user] Failed to update 4.10.2 to 5.0.2 with setup.py old installation

2024-04-11 Thread Juan Antonio Mosquera Casais
Ok Tom, this is de problem, thanks...

I updated to 5.0.2... but other question, i need modify rsyncupdaload.py, 
where is now?

Thanks!

El jueves, 11 de abril de 2024 a las 14:20:31 UTC+2, Tom Keffer escribió:

> I suspect this may be a permissions issue. What do you get for the 
> following commands?
>
> *ls -l /home/weewx*
> *ls -l /home/weewx/examples*
>
>
> Make sure everything in the directory "/home/weewx" is writable by user 
> "pi". Usually, it's easiest just to have everything under /home/weewx owned 
> by user "pi":
>
> *sudo chown -R pi:pi /home/weewx*
>
>
>
> On Wed, Apr 10, 2024 at 9:49 PM Juan Antonio Mosquera Casais <
> juan.antonio.m...@gmail.com> wrote:
>
>> Ok, thanks, sorry, this step i reply N, if i reply Y>
>>
>> pi@raspberrypi:/home/weewx $  source ~/weewx-venv/bin/activate
>> (weewx-venv) pi@raspberrypi:/home/weewx $  weectl station upgrade 
>> --config=/home/weewx/weewx.conf
>> Using configuration file /home/weewx/weewx.conf
>>
>> Upgrade examples, utility files in /home/weewx (Y/n)? 
>> Removing example directory /home/weewx/examples
>> Copying examples into /home/weewx/examples
>> Traceback (most recent call last):
>>   File "/home/pi/weewx-venv/bin/weectl", line 8, in 
>> sys.exit(main())
>>   File "/home/pi/weewx-venv/lib/python3.9/site-packages/weectl.py", line 
>> 66, in main
>> namespace.func(namespace)
>>   File 
>> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/__init__.py", 
>> line 121, in dispatch
>> namespace.action_func(config_dict, namespace)
>>   File 
>> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/station_cmd.py", 
>> line 333, in upgrade_station
>> weectllib.station_actions.station_upgrade(config_dict=config_dict,
>>   File 
>> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/station_actions.py",
>>  
>> line 802, in station_upgrade
>> examples_dir = copy_examples(config_dict, examples_root=examples_root,
>>   File 
>> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/station_actions.py",
>>  
>> line 618, in copy_examples
>> shutil.copytree(examples_resources, examples_dir)
>>   File "/usr/lib/python3.9/shutil.py", line 557, in copytree
>> return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
>>   File "/usr/lib/python3.9/shutil.py", line 458, in _copytree
>> os.makedirs(dst, exist_ok=dirs_exist_ok)
>>   File "/usr/lib/python3.9/os.py", line 225, in makedirs
>> mkdir(name, mode)
>> FileExistsError: [Errno 17] File exists: '/home/weewx/examples'
>>
>> Thanks.
>>
>> El jueves, 11 de abril de 2024 a las 0:12:37 UTC+2, Tom Keffer escribió:
>>
>>> Juan, your service file, weewx.service, looks like the old V4.10 service 
>>> file. The new V5.0 file has a few more entries.
>>>
>>> Double check that you did step #2: upgrade the old examples and utility 
>>> files. 
>>>
>>> On Wed, Apr 10, 2024 at 12:27 PM Juan Antonio Mosquera Casais <
>>> juan.antonio.m...@gmail.com> wrote:
>>>
 pi@raspberrypi:/etc $ cat /etc/systemd/system/weewx.service
 # systemd unit configuration file for WeeWX
 #
 # For information about running WeeWX under systemd,
 # be sure to read https://github.com/weewx/weewx/wiki/systemd
 #
 [Unit]
 Description=WeeWX weather system
 Documentation=https://weewx.com/docs

 Requires=time-sync.target
 After=time-sync.target
 RequiresMountsFor=/home

 [Service]
 ExecStart=/home/weewx/bin/weewxd /home/weewx/weewx.conf
 StandardOutput=null
 # To run as a non-root user, uncomment and set username and group here:
 #User=weewx
 #Group=weewx

 [Install]
 WantedBy=multi-user.target


 El miércoles, 10 de abril de 2024 a las 19:46:01 UTC+2, vince escribió:

> Check to see if you have multiple weewx.service files on your system.  
> It's possible you have one under /etc and a different one under /usr and 
> systemd is using the old one.
>
> If that is not the case, post your /etc/systemd/system/weewx.service 
> file please.
>
> On Wednesday, April 10, 2024 at 10:42:39 AM UTC-7 Juan Antonio 
> Mosquera Casais wrote:
>
>> Thanks... but... step 4 done> 
>>
>> history
>>
>>  1323  sudo cp /home/weewx/util/systemd/weewx.service 
>> /etc/systemd/system
>>  1324  sudo systemctl daemon-reload
>>  1325  sudo systemctl enable weewx
>>  1326  sudo systemctl start weewx
>>
>>
>>
>>
>>
>> El miércoles, 10 de abril de 2024 a las 13:16:55 UTC+2, Tom Keffer 
>> escribió:
>>
>>> You did not update your weewx service file, 
>>> /etc/systemd/system/weewx.service. This is step #4 in the instructions. 
>>>
>>>
>>>
>>> On Wed, Apr 10, 2024 at 1:05 AM Juan Antonio Mosquera Casais <
>>> juan.antonio.m...@gmail.com> wrote:
>>>
 Hello, I have weewx 4.10.2 installed via setup.py, and I followed 
 the instructions at 

[weewx-user] Updates from Davis Envoy have stopped

2024-04-11 Thread Peter Tuft
A couple of days ago I disconnected/reconnected the USB power and serial 
data cables between my Raspberry Pi and Davis Envoy.  Since then weewx 
seems to have stopped receiving updates from the Envoy - it just reports 
old data.  I've tested the connection using minicom as described 
here: 
https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station. 
 That seemed to work OK.  That page also suggested powering down the Envoy 
for a few minutes then restarting which didn't help either.  

So I'm at a loss.  Attached is a log of events since my most recent restart 
of weewx.  The system updates every 10 minutes and you can see two cycles 
of that at the end of the log.  That same pattern continues indefinitely, 
but the FTP upload is always of the same old data from a couple of days ago.

I'll be most grateful for any advice.

Thanks,
Peter T.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/091560c7-e85f-46d0-b8eb-6e9201d7ab5bn%40googlegroups.com.
Apr 11 22:26:25 raspberrypi systemd[1]: Stopping LSB: weewx weather system...
Apr 11 22:26:25 raspberrypi weewx[3858]: Stopping weewx weather system: weewx 
not running
Apr 11 22:26:25 raspberrypi systemd[1]: weewx.service: Succeeded.
Apr 11 22:26:25 raspberrypi systemd[1]: Stopped LSB: weewx weather system.
Apr 11 22:26:25 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Apr 11 22:26:26 raspberrypi weewx[3881] INFO __main__: Initializing weewx 
version 4.5.1
Apr 11 22:26:26 raspberrypi weewx[3881] INFO __main__: Using Python 3.7.3 
(default, Jan 22 2021, 20:04:44) #012[GCC 8.3.0]
Apr 11 22:26:26 raspberrypi weewx[3881] INFO __main__: Platform 
Linux-5.10.63-v7+-armv7l-with-debian-10.11
Apr 11 22:26:26 raspberrypi weewx[3881] INFO __main__: Locale is 'en_AU.UTF-8'
Apr 11 22:26:26 raspberrypi weewx[3881] INFO __main__: PID file is 
/var/run/weewx.pid
Apr 11 22:26:26 raspberrypi weewx[3886] INFO __main__: Using configuration file 
/etc/weewx/weewx.conf
Apr 11 22:26:26 raspberrypi weewx[3886] INFO __main__: Debug is 0
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.engine: Loading station type 
Vantage (weewx.drivers.vantage)
Apr 11 22:26:26 raspberrypi weewx[3869]: Starting weewx weather system: weewx.
Apr 11 22:26:26 raspberrypi systemd[1]: Started LSB: weewx weather system.
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.engine: StdConvert target 
unit is 0x1
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.engine: Archive will use 
data binding wx_binding
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.engine: Record generation 
will be attempted in 'hardware'
Apr 11 22:26:26 raspberrypi weewx[3886] ERROR weewx.engine: The archive 
interval in the configuration file (300) does not match the station hardware 
interval (600).
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.engine: Using archive 
interval of 600 seconds (specified by hardware)
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.restx: StationRegistry: 
Registration not requested.
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.restx: Wunderground: Posting 
not enabled.
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.restx: PWSweather: Posting 
not enabled.
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.restx: CWOP: Posting not 
enabled.
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.restx: WOW: Posting not 
enabled.
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.restx: AWEKAS: Posting not 
enabled.
Apr 11 22:26:26 raspberrypi weewx[3886] INFO __main__: Starting up weewx 
version 4.5.1
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.engine: Clock error is 
1934.11 seconds (positive is fast)
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.drivers.vantage: Clock set 
to 2024-04-11 22:26:27 AEST (1712838387)
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.manager: Starting backfill 
of daily summaries
Apr 11 22:26:26 raspberrypi weewx[3886] INFO weewx.manager: Daily summaries up 
to date
Apr 11 22:26:30 raspberrypi weewx[3886] INFO weewx.engine: Starting main packet 
loop.
Apr 11 22:26:34 raspberrypi weewx[3886] ERROR weewx.drivers.vantage: LOOP try 
#1; error: Expected to read 99 chars; got 0 instead
Apr 11 22:26:38 raspberrypi weewx[3886] ERROR weewx.drivers.vantage: LOOP try 
#2; error: Expected to read 99 chars; got 0 instead
Apr 11 22:26:42 raspberrypi weewx[3886] ERROR weewx.drivers.vantage: LOOP try 
#3; error: Expected to read 99 chars; got 0 instead
Apr 11 22:26:46 raspberrypi systemd[1]: Started Session 33 of user pi.
Apr 11 22:26:46 raspberrypi systemd[1]: session-33.scope: Succeeded.
Apr 11 22:27:07 raspberrypi vncserver-x11[515,root]: 

Re: [weewx-user] Failed to update 4.10.2 to 5.0.2 with setup.py old installation

2024-04-11 Thread Tom Keffer
I suspect this may be a permissions issue. What do you get for the
following commands?

*ls -l /home/weewx*
*ls -l /home/weewx/examples*


Make sure everything in the directory "/home/weewx" is writable by user
"pi". Usually, it's easiest just to have everything under /home/weewx owned
by user "pi":

*sudo chown -R pi:pi /home/weewx*



On Wed, Apr 10, 2024 at 9:49 PM Juan Antonio Mosquera Casais <
juan.antonio.mosquera.cas...@gmail.com> wrote:

> Ok, thanks, sorry, this step i reply N, if i reply Y>
>
> pi@raspberrypi:/home/weewx $  source ~/weewx-venv/bin/activate
> (weewx-venv) pi@raspberrypi:/home/weewx $  weectl station upgrade
> --config=/home/weewx/weewx.conf
> Using configuration file /home/weewx/weewx.conf
>
> Upgrade examples, utility files in /home/weewx (Y/n)?
> Removing example directory /home/weewx/examples
> Copying examples into /home/weewx/examples
> Traceback (most recent call last):
>   File "/home/pi/weewx-venv/bin/weectl", line 8, in 
> sys.exit(main())
>   File "/home/pi/weewx-venv/lib/python3.9/site-packages/weectl.py", line
> 66, in main
> namespace.func(namespace)
>   File
> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/__init__.py",
> line 121, in dispatch
> namespace.action_func(config_dict, namespace)
>   File
> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/station_cmd.py",
> line 333, in upgrade_station
> weectllib.station_actions.station_upgrade(config_dict=config_dict,
>   File
> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/station_actions.py",
> line 802, in station_upgrade
> examples_dir = copy_examples(config_dict, examples_root=examples_root,
>   File
> "/home/pi/weewx-venv/lib/python3.9/site-packages/weectllib/station_actions.py",
> line 618, in copy_examples
> shutil.copytree(examples_resources, examples_dir)
>   File "/usr/lib/python3.9/shutil.py", line 557, in copytree
> return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
>   File "/usr/lib/python3.9/shutil.py", line 458, in _copytree
> os.makedirs(dst, exist_ok=dirs_exist_ok)
>   File "/usr/lib/python3.9/os.py", line 225, in makedirs
> mkdir(name, mode)
> FileExistsError: [Errno 17] File exists: '/home/weewx/examples'
>
> Thanks.
>
> El jueves, 11 de abril de 2024 a las 0:12:37 UTC+2, Tom Keffer escribió:
>
>> Juan, your service file, weewx.service, looks like the old V4.10 service
>> file. The new V5.0 file has a few more entries.
>>
>> Double check that you did step #2: upgrade the old examples and utility
>> files.
>>
>> On Wed, Apr 10, 2024 at 12:27 PM Juan Antonio Mosquera Casais <
>> juan.antonio.m...@gmail.com> wrote:
>>
>>> pi@raspberrypi:/etc $ cat /etc/systemd/system/weewx.service
>>> # systemd unit configuration file for WeeWX
>>> #
>>> # For information about running WeeWX under systemd,
>>> # be sure to read https://github.com/weewx/weewx/wiki/systemd
>>> #
>>> [Unit]
>>> Description=WeeWX weather system
>>> Documentation=https://weewx.com/docs
>>>
>>> Requires=time-sync.target
>>> After=time-sync.target
>>> RequiresMountsFor=/home
>>>
>>> [Service]
>>> ExecStart=/home/weewx/bin/weewxd /home/weewx/weewx.conf
>>> StandardOutput=null
>>> # To run as a non-root user, uncomment and set username and group here:
>>> #User=weewx
>>> #Group=weewx
>>>
>>> [Install]
>>> WantedBy=multi-user.target
>>>
>>>
>>> El miércoles, 10 de abril de 2024 a las 19:46:01 UTC+2, vince escribió:
>>>
 Check to see if you have multiple weewx.service files on your system.
 It's possible you have one under /etc and a different one under /usr and
 systemd is using the old one.

 If that is not the case, post your /etc/systemd/system/weewx.service
 file please.

 On Wednesday, April 10, 2024 at 10:42:39 AM UTC-7 Juan Antonio Mosquera
 Casais wrote:

> Thanks... but... step 4 done>
>
> history
>
>  1323  sudo cp /home/weewx/util/systemd/weewx.service
> /etc/systemd/system
>  1324  sudo systemctl daemon-reload
>  1325  sudo systemctl enable weewx
>  1326  sudo systemctl start weewx
>
>
>
>
>
> El miércoles, 10 de abril de 2024 a las 13:16:55 UTC+2, Tom Keffer
> escribió:
>
>> You did not update your weewx service file,
>> /etc/systemd/system/weewx.service. This is step #4 in the instructions.
>>
>>
>>
>> On Wed, Apr 10, 2024 at 1:05 AM Juan Antonio Mosquera Casais <
>> juan.antonio.m...@gmail.com> wrote:
>>
>>> Hello, I have weewx 4.10.2 installed via setup.py, and I followed
>>> the instructions at https://github.com/weewx/weewx/wiki/v5-upgrade
>>> but when trying to start the service I get this error:
>>>
>>> Apr 10 07:39:51 raspberrypi systemd[1225]: weewx.service: Failed to
>>> locate executable /home/weewx/bin/weewxd: No such file or directory
>>> Apr 10 07:39:51 raspberrypi systemd[1225]: weewx.service: Failed at
>>> step EXEC spawning /home/weewx/bin/weewxd: No such 

[weewx-user] Re: rtgd dont auto update after lost contact from sensor to console

2024-04-11 Thread Δημήτρης Βήχος
i use both latest versions of weewx and rtgd. with debian distro. i was 
allrady debug=1  but i cant see the log in var/log 

Στις Πέμπτη 11 Απριλίου 2024 στις 1:55:25 π.μ. UTC+3, ο χρήστης gjr80 
έγραψε:

> Impossible to say anything without more detail. What station do you have? 
> What WeeWX version? What rtgd version? What does the log show? Please post 
> a log extract showing the full WeeWX startup, this will give us a clear 
> picture of your setup. Refer to the Help! Posting to weewx user wiki page 
> . Note 
> the How to view the log  
> link if you are having difficulties viewing the log. Note also the need to 
> set debug = 1 in weewx.conf. 
>
> How often does this occur? What was in the log when it last occurred? 
> Please post a log extract from shortly (say 1-2 archive intervals in time) 
> before the event through to shortly after the event (say 2-3 archive 
> intervals in time). If relatively frequently it's worth leaving debug = 1 
> and when it next occurs post a log extract from shortly (say 1-2 archive 
> intervals in time) before the event through to shortly after the event (say 
> 2-3 archive intervals in time). 
>
> Gary
> On Wednesday 10 April 2024 at 16:29:14 UTC+10 hobbyl...@gmail.com wrote:
>
>> i notice that, every time who i have lost contact the sensor with the 
>> console, after the connection back again, weewx  (the seasons skin )  
>> updates data again , but rtgd (the gauge-data.txt )  no. 
>> only with weewx restarting rtgd works again. 
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8217ab79-3304-4af9-8643-2e7ae17d0da7n%40googlegroups.com.