Re: [weewx-user] It never rains, but apparently it pours .....

2021-03-30 Thread Colin Larsen
OK, so used epoch time to find the records I want to delete (with rain and rainRate), now do I just delete them or do they need to be replaced by null (or 0.0?). I may need a hand with the correct syntax for that please *pi@wduino*:*~ $* echo "SELECT rainRate FROM archive WHERE (dateTime >

Re: [weewx-user] It never rains, but apparently it pours .....

2021-03-30 Thread Colin Larsen
I'm thinking that the easiest road here is to delete (or null??) all of todays rain data. So that would be 'rain' and 'rainRate'? Thanks Colin On Wed, 31 Mar 2021 at 17:44, colin@gmail.com wrote: > It's not my week lol! > > Now that I've rebuilt Weewx my weather station decided to go rogue

[weewx-user] It never rains, but apparently it pours .....

2021-03-30 Thread colin....@gmail.com
It's not my week lol! Now that I've rebuilt Weewx my weather station decided to go rogue and tell me it rained about 500mm in the last hour. I've stopped it thinking it's raining but now how do I get rid of the rogue data from the database in Weewx? I did a search for all kinds of database

Re: [weewx-user] Problem with upgrade

2021-03-30 Thread Colin Larsen
Hi Vince Well when I started the process I didn't actually think that the sdcard was bad, I just needed more space to do the OS and Weewx upgrade. And then .. your second suggestion is exactly what ended up happening :) But certainly a valuable lesson in the vital things to have backed up

[weewx-user] Re: Weather Day Start

2021-03-30 Thread gjr80
I presume that you don't want to actually start WeeWX at a given time but rather you want your rainfall stats to be from 0700 to 0700 daily rather than midnight to midnight? If so that can't be done without substantial changes to the WeeWX code base. If you search this forum for 'rain since

Re: [weewx-user] Problem with upgrade

2021-03-30 Thread vince
For the future, never 'copy' a possibly bad SD to a new SD card. All you're doing then is switching which physical media the bad bits are on. Reimage the os onto the new card with Balena Etcher or similar imaging software, put it in the pi, and reinstall any added software like weewx onto

[weewx-user] Re: Weather Day Start

2021-03-30 Thread NightTripper
Anyone On Wednesday, March 17, 2021 at 2:43:35 PM UTC-5 NightTripper wrote: > I've found where you can modify the program to start at a specific time. > But can this be added to the config file at an update. In the US our rain > day starts at 0700 > > Thank you > Night > -- You received

Re: [weewx-user] Problem with upgrade

2021-03-30 Thread Colin Larsen
Well this turned into a bit of a nightmare. After purchasing a bigger sd card and copying the complete original card over i couldn't get the Pi to boot. No problems I thought, I'll just go back to the original again but no, that doesn't want to boot either! So .complete rebuild of the

Re: [weewx-user] Python error?

2021-03-30 Thread vince
On Tuesday, March 30, 2021 at 1:55:57 PM UTC-7 Mauro De Lauretis wrote: > I still have the newest version of RPi OS, therefore I don't know what to > change. > But it seems that the python in the system its gone. Maybe I have to do a > fresh install. > Considering how confused you seem to be,

Re: [weewx-user] Python error?

2021-03-30 Thread John Kline
I you are running an up to date RPi OS Buster (the latest version), you should have Python 3.7 installed. What do you get when you run the following 3 commands (my example bellows shows what you should get)? jkline@judy:~ $ which python3 /usr/bin/python3 jkline@judy:~ $ python3 --version

Re: [weewx-user] Re: 4.4.0 bug?

2021-03-30 Thread John Kline
I had a user of my website report the same thing not so long ago. It had me doing a double take. > On Mar 30, 2021, at 2:01 PM, Matt Hannan wrote: > >  > Never mind. I am a dope. It is mm/dd, not mm/yy. And it may have felt like > I've been trapped in the house for 20 years, but I really

Re: [weewx-user] Re: 4.4.0 bug?

2021-03-30 Thread Matt Hannan
Never mind. I am a dope. It is mm/dd, not mm/yy. And it may have felt like I've been trapped in the house for 20 years, but I really haven't been. On Tue, Mar 30, 2021 at 4:57 PM gjr80 wrote: > OK, I’ll bite, and the bug is? > > Gary > On Wednesday, 31 March 2021 at 06:47:46 UTC+10

[weewx-user] Re: 4.4.0 bug?

2021-03-30 Thread gjr80
OK, I’ll bite, and the bug is? Gary On Wednesday, 31 March 2021 at 06:47:46 UTC+10 matth...@gmail.com wrote: > I was just looking at my sensor's web page and switched to Year. I noticed > that the X axis has a bug in the labels. Not sure if anyone has seen this > or not. This is my first time

Re: [weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
I still have the newest version of RPi OS, therefore I don't know what to change. But it seems that the python in the system its gone. Maybe I have to do a fresh install. Il giorno martedì 30 marzo 2021 alle 21:46:51 UTC+2 tke...@gmail.com ha scritto: > Probably configobj was added to your

[weewx-user] 4.4.0 bug?

2021-03-30 Thread Matt Hannan
I was just looking at my sensor's web page and switched to Year. I noticed that the X axis has a bug in the labels. Not sure if anyone has seen this or not. This is my first time posting here. [image: weewx_bug.png] 2020 was a doozie for sure, but I am not sure if it is WeeWX's place to

Re: [weewx-user] Python error?

2021-03-30 Thread Tom Keffer
Probably configobj was added to your "system" Python. That is, /usr/bin/python. Is there no way to upgrade your system Python? That would be best. If not, you will have to add configobj to your custom version of Python by using pip: *sudo /usr/local/bin/python -m pip install configobj* You'll

Re: [weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
You had right, Tom. Now the problem is that the installing process does not find the module configojb, even it is correctly installed. Il giorno martedì 30 marzo 2021 alle 17:19:25 UTC+2 tke...@gmail.com ha scritto: > No idea where that would put things. Try /usr/local/bin. > > On Tue, Mar

[weewx-user] Cloud Base

2021-03-30 Thread ginfo...@gmail.com
Good morning. I cannot see the Cloud Base detection on my site, I was told that I need to update the weewx.conf file How should I do? Thanks and good luck to all -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and

Re: [weewx-user] Python error?

2021-03-30 Thread Tom Keffer
No idea where that would put things. Try /usr/local/bin. On Tue, Mar 30, 2021 at 8:16 AM Mauro De Lauretis < mauro.delaure...@gmail.com> wrote: > > I've installed it by downloading the package from python.org and then > "sudo make altinstall" > Il giorno martedì 30 marzo 2021 alle 17:10:32 UTC+2

Re: [weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
I've installed it by downloading the package from python.org and then "sudo make altinstall" Il giorno martedì 30 marzo 2021 alle 17:10:32 UTC+2 tke...@gmail.com ha scritto: > How did you install it? Using apt-get? pyenv? Something else? > > On Tue, Mar 30, 2021 at 8:03 AM Mauro De Lauretis

Re: [weewx-user] Python error?

2021-03-30 Thread Tom Keffer
How did you install it? Using apt-get? pyenv? Something else? On Tue, Mar 30, 2021 at 8:03 AM Mauro De Lauretis < mauro.delaure...@gmail.com> wrote: > Thank you for your reply, Tom! > > Actually I've installed the Python 3.8.4 version on my RPi, but I don't > have any folder of it in /usr/bin. >

Re: [weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
Thank you for your reply, Tom! Actually I've installed the Python 3.8.4 version on my RPi, but I don't have any folder of it in /usr/bin. Any ideas why? Mauro Il giorno martedì 30 marzo 2021 alle 16:45:26 UTC+2 tke...@gmail.com ha scritto: > This is definitely a Python version problem. You

Re: [weewx-user] Python error?

2021-03-30 Thread Tom Keffer
This is definitely a Python version problem. You need Python 3.5 or later. If you simply run weewxd, the version of Python that it will use is controlled by the "shebang" line in the file --- that is, the very first line in weewxd. That, in turn, is set by whichever version of Python you used to

Re: [weewx-user] tag of the age of the moon (in days)

2021-03-30 Thread P C
Merci, #set $moonDays = int(round(($current.dateTime.raw - $almanac.previous_new_moon.raw)/86400,0)) est parfait ! Le mardi 30 mars 2021 à 12:52:48 UTC+2, gjr80 a écrit : > I have a similar requirement in WeeWX-WD. I use something along the lines > of: > > #set $moonAge =

[weewx-user] Re: day is out of range for month

2021-03-30 Thread ginfo...@gmail.com
Thanks everyone, I solved with the developer of the skin. Thanks again!! Il giorno martedì 30 marzo 2021 alle 14:29:28 UTC+2 ginfo...@gmail.com ha scritto: > Hi. > I have this problem and my month page not updater, this is my syslog file: > > Mar 30 14:15:32 raspberrypi weewx[2487] ERROR

[weewx-user] day is out of range for month

2021-03-30 Thread ginfo...@gmail.com
Hi. I have this problem and my month page not updater, this is my syslog file: Mar 30 14:15:32 raspberrypi weewx[2487] ERROR weewx.cheetahgenerator: Generate failed with exception '' Mar 30 14:15:32 raspberrypi weewx[2487] ERROR weewx.cheetahgenerator: Ignoring template

[weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
Hi all, I can't get Weewx to work since I've upgraded to the last released version. This is what I get: root@rasp_pineto:/home/weewx# tail -f /var/log/syslog Mar 30 13:34:16 rasp_pineto systemd[1]: Starting LSB: weewx weather system... Mar 30 13:34:19 rasp_pineto weewx[1332] INFO __main__:

Re: [weewx-user] tag of the age of the moon (in days)

2021-03-30 Thread gjr80
I have a similar requirement in WeeWX-WD. I use something along the lines of: #set $moonAge = $time.gmtime($current.dateTime.raw - $almanac.previous_new_moon.raw) #set $moonDays = int(round(($current.dateTime.raw - $almanac.previous_new_moon.raw)/86400,0)) $moonAge is the time since the

Re: [weewx-user] tag of the age of the moon (in days)

2021-03-30 Thread Blaise
This because I have 29 images of the moon in its different phases : #set $md = int (($almanac.moon_fullness / 3.45) +.5) #set $fmd = "/images/lune- "+ str ($md) +" .png "     Lune & NBSP;: & nbsp; $almanac.moon_phase $almanac.moon_fullness & nbsp;%     Le 30-03-21 à 11:05, Tom Keffer a

Re: [weewx-user] tag of the age of the moon (in days)

2021-03-30 Thread Blaise
Well no, Tom, This tag gives "the lighting" of the moon: 100% = full moon, 0% = new moon. So it goes from 0% to 0% (new moon) via 100% (full moon). It does not indicate the age of the moon, since we do not know where we come from and to what we are going. I had the same idea: "#set $md = int

[weewx-user] British Geological Survey - earthquakes

2021-03-30 Thread Auchtermuchty Weather
Is anyone using the BGS as an earthquake server? -- 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

Re: [weewx-user] tag of the age of the moon (in days)

2021-03-30 Thread Tom Keffer
Could you use #set $days=$almanac.moon.moon_fullness * .2953 The moon is $days days old. .2953 is the length of the lunar cycle, divided by 100. On Tue, Mar 30, 2021 at 1:41 AM P C wrote: > > Hello, again me ;) > > I am looking for the tag of the age of the moon (in days) that goes

[weewx-user] tag of the age of the moon (in days)

2021-03-30 Thread P C
Hello, again me ;) I am looking for the tag of the age of the moon (in days) that goes from New Moon in New Moon in 29 days. This means that the full moon is between the 14th and the 15th day. NB: Pyephem is installed Thank you ! -- You received this message because you are subscribed to