Re: [weewx-user] Davis WeatherLink Live: Which driver is best?

2020-11-22 Thread flor...@pre-vost.fr
Hi, I'm the author of WLLDriver on Github. Yes, I think that *altimeter *is the good value. But I suggest to confirm that by directly ask Davis. Regards, Le samedi 21 novembre 2020 à 22:31:04 UTC+1, kk44...@gmail.com a écrit : > I found that additional information at > https://www.manula.com/

Re: [weewx-user] Davis WeatherLink Live: Which driver is best?

2020-11-22 Thread Didier Decoodt
thank's Florentin, I've just opened a ticket on Davis support, I will give you the result next week I hope. Le dim. 22 nov. 2020 à 14:24, flor...@pre-vost.fr a écrit : > Hi, > > I'm the author of WLLDriver on Github. > Yes, I think that *altimeter *is the good value. But I suggest to confirm > t

[weewx-user] Copy webcam image to /var/www/html/weewx/image.jpg

2020-11-22 Thread Rich Strle
My copy of weewx is running on a Raspberry Pi. I am trying to get an image from a webcam on my local network using wget, resizing the image using imagemagick, then put it in the /var/www/html/weewx/ folder so it will get uploaded to my web host. wget --user=user --password=user http://192.168

Re: [weewx-user] failed outTemp crashes alarm and "standard" skin

2020-11-22 Thread GBW
1. Checking for a None value checks that there is a connection, I presume, so could I not get false frost alarms? Is it not possible to stop weewx crashing completely when "outTemp" is None (as I noticed in the loop)? I don't recall that happening before; there was just a gap in the graph, whic

[weewx-user] Re: Copy webcam image to /var/www/html/weewx/image.jpg

2020-11-22 Thread John Burricelli
I am doing something similar What I did was run that under www-data user. First I had to change the shell in /etc/passwd to look like this. www-data:x:1028:33:www-data:/var/www:/bin/bash once that is done you can sudo su - www-data and add the cron entry. Another way would be to add the pi us

Re: [weewx-user] failed outTemp crashes alarm and "standard" skin

2020-11-22 Thread Tom Keffer
1. Depends on what you want. If you just want to keep the program from crashing when outTemp is None, you could use outTemp is not None and outTemp < 3 3. There's no magic here. If you enable a skin, it will get processed. If you don't, it won't. There is no "default" skin. Look in [StdReport].

[weewx-user] Installing WH23xx driver

2020-11-22 Thread harri....@gmail.com
Hi, reinstalling the weewx on a Raspberry Pi 1B is not running at all. Following all guide lines for installing weewx on an Debian based linux as well as Matthew Wall´s guide line on Github - it is just not working. One point I am puzzled is that the driver WH23xx is not presented in the driver

[weewx-user] CheetahGenerator - Using multiple tags in one statement?

2020-11-22 Thread Jared
Hi, I'm trying to create a table of celestial objects with almanac data. I want to use a for loop to create the table based on an array of chosen objects, but it doesn't like how I'm using the tags for some reason. As an example, I have the following in my template: #set planets = ['Mercury'

[weewx-user] Re: CheetahGenerator - Using multiple tags in one statement?

2020-11-22 Thread Jared
I should add that the almanac setup is working fine otherwise. If I do something like $almanac.jupiter.rise, I get the data as expected. I just wanted to keep my post concise :) On Sunday, November 22, 2020 at 11:23:02 AM UTC-5 Jared wrote: > > Hi, > > I'm trying to create a table of celestia

[weewx-user] Re: Copy webcam image to /var/www/html/weewx/image.jpg

2020-11-22 Thread Rich Strle
Thank you John. I have more questions. I'll try and be specific so the next person who wants to grab an image, resize it, and include it in the ftp process can go it easier. Looking at my passwrd file I see: www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin Would I remove the /nologin? Can

Re: [weewx-user] Re: CheetahGenerator - Using multiple tags in one statement?

2020-11-22 Thread Tom Keffer
You're very close. The problem is that an expression like $almanac.$planet.rise is evaluated when the template is *compiled* not run. So, you need to defer evaluation of the attribute $planet. Try this (NOT TESTED): #set planets = ['Mercury', 'Venus', 'Mars'] #for planet in planets $planet

Re: [weewx-user] Re: CheetahGenerator - Using multiple tags in one statement?

2020-11-22 Thread Jared
Beautiful, that worked perfectly, thanks Tom! On Sunday, November 22, 2020 at 11:47:52 AM UTC-5 tke...@gmail.com wrote: > You're very close. The problem is that an expression like > $almanac.$planet.rise is evaluated when the template is *compiled* not > run. So, you need to defer evaluation of

[weewx-user] Re: Bresser 6in1

2020-11-22 Thread Paul Eaton
Hi Bob, Just thought you might like to know your ws6in1 driver works just as well for the Bresser PC 5 in 1 station (Model No. 7002571). It uses the same console as the PC 6 in 1 station but a simpler sensor rig (no UV). I've had it running successfully on Lubuntu 18.04 and now on a Raspberry Pi

[weewx-user] Re: Bresser 6in1

2020-11-22 Thread Bob Atchley
Thats a new one ! Thanks Paul. Maybe I need to rename the driver, WS6in1 doesn't quite fit any more. Garni, Ventus and Youshiko (and probably others) will probably be selling similar 5 in 1 weather stations Regards Bob -- You received this message because you are subscribed to the Google G

[weewx-user] Re: Copy webcam image to /var/www/html/weewx/image.jpg

2020-11-22 Thread vince
On Sunday, November 22, 2020 at 8:44:01 AM UTC-8 Rich Strle wrote: > Looking at my passwrd file I see: > www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin > Would I remove the /nologin? > > Please don't do that. www-data is the owner of the web 'data' and your webserver process likely runs a

[weewx-user] Re: Belchertown - showerswn error

2020-11-22 Thread vince
On Saturday, November 21, 2020 at 7:39:04 PM UTC-8 gert.a...@gmail.com wrote: > weewx 4.2.0 and Belchertown skin version 1.2. > > I have been running the system for months with no issues. Suddenly I get > this error with: > "ERROR weewx.reportengine: Caught unrecoverable exception in generator

Re: [weewx-user] Re: Copy webcam image to /var/www/html/weewx/image.jpg

2020-11-22 Thread Rich Strle
Thanks very much Vince. I appreciate your advice on the Linux Fundamentals course. Rich Strle 309-824-9213 On Sun, Nov 22, 2020 at 12:34 PM vince wrote: > > On Sunday, November 22, 2020 at 8:44:01 AM UTC-8 Rich Strle wrote: >> >> Looking at my passwrd file I see: >> www-data:x:33:33:www-data:/

[weewx-user] Re: Bresser 6in1

2020-11-22 Thread Arend
Hi Bob, I found another brand that sells a 5-in-1 clone. But I think CCL Electronics is the original developer/manufacturer. They had the 6-in-1 on their website in the past, but can't find it anymore. I guess end of life production for our 6-in-1 model. Logia

[weewx-user] Re: Belchertown - showerswn error

2020-11-22 Thread gert.a...@gmail.com
Hi Vince Thanks for looking. My best guess is that 'showerswn' is missing from belchertown.py. If you look at belchertown.js.tmpl, you have "showersw": "rain", twice, maybe it should be 'showerswn'. You have also 'snowshowerswn' 'snow'. After a couple of hours the error disappeared, probably

[weewx-user] no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread Rich Painter
CentOS 7.9 64bit clean install Directions on http://weewx.com/docs/redhat.htm don't result in a workable weewx. Note- those instructions do NOT have a step for wee_config --install Starting weewx installation over from scratch Below is a complete transcript. One IMPORTANT thing to notice is the

[weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread vince
On Sunday, November 22, 2020 at 1:11:15 PM UTC-8 paint...@gmail.com wrote: > CentOS 7.9 64bit clean install > Directions on http://weewx.com/docs/redhat.htm don't result in a workable > weewx. > Note- those instructions do NOT have a step for wee_config --install > Starting weewx installation ove

[weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread vince
ok - tested fine on a current vagrant centos image The rpm is fine - you just probably used the RedHat 8 (python3) instructions by mistake rather than the RedHat 7 (python2) instructions... sudo rpm --import http://weewx.com/keys.html sudo curl -s http://weewx.com/yum/weewx-el7.repo | sud

Re: [weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread Rich Painter
thanks Vince! But I'm really confused... IF there are prerequisites then A) they should be bolted into the rpm process. that is what rpms are for and B) they should be part of the WRITTEN instructions at the OFFICIAL weewx http://weewx.com/docs/redhat.htm for rehat/centos distributions. I take i

[weewx-user] Re: Belchertown - showerswn error

2020-11-22 Thread vince
Pat always likes patches and pull requests, so open an issue on his github page and I'm sure he'll get to it as time permits... -- 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

Re: [weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread Rich Painter
Vince, Nope. I have only ever used the correct version 7 repo I posted the exact steps in my earlier request which you have restated here exactly to what I did Any other suggestions? thanks rich On Sun, Nov 22, 2020 at 2:51 PM vince wrote: > ok - tested fine on a current vagrant c

Re: [weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread bell...@gmail.com
At the very top of that page I see this Install pre-requisites For Redhat 8: sudo yum install epel-release sudo yum install python3-cheetah For Redhat 7: sudo pip install pyserial pyusb On Sunday, 22 November 2020 at 16:51:46 UTC-5 paint...@gmail.com wrote: > thanks Vince! > > But I'm reall

Re: [weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread Rich Painter
Before posting anything I had already tried this For Redhat 7: sudo pip install pyserial pyusb but CentOS 7.9 has no program pip !! so I had tried this: [root@CRMG-Fremont weewx]# yum install pip Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.de

Re: [weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread vince
What's going on is CentOS-7 is weird in general and especially for python-related things. You need to get the pyserial and pyusb and (optional) python2-pip rpms from the EPEL repository. They are not bundled with CentOS-7 in the os's default repositories. They're extras. - sudo yum instal

Re: [weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread Rich Painter
Vince, roger that. I had at the start enable the epel-release stuff as part of the CentOS 7.9 install. I have always included the epel in all centos installations. The pip thing threw me since I never heard of it and it failed to install when I tried. Just before you replied with this, I finally

Re: [weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread vince
On Sunday, November 22, 2020 at 4:05:08 PM UTC-8 paint...@gmail.com wrote: > For some reason I didnt need to do the python2-pip likely since centos > doesnt have pip at all... > > You didn't need to install pip because it's optional for weewx. If you dig a bit deeper you'll see you only need

Re: [weewx-user] Re: no luck, no progress on getting weewx on CentOS 7.9

2020-11-22 Thread Rich Painter
Vince, i understand. Long story... the CentOS 7 is required for an ICOM radio software called D-STAR ver 3. CO 8 will not work. So, if one is installing new for a system with D-STAR then CO7 it is regardless of the age. The prior ICOM release ver 2 required CO 5 !! We STILL have some of these run

[weewx-user] Re: Webserver showing default Apache page instead of weewx

2020-11-22 Thread Jimmy Kirk
OK thanks guys... I'm a bit of a linux noob so I am not sure how to do symbolic links. Therefore I opted to change the directory where the web pages are living, to: HTML_ROOT = /var/www/html - This fixed it... but now I have another issue, undoubtedly related to the Vantage data corruption issue

[weewx-user] Re: Webserver showing default Apache page instead of weewx

2020-11-22 Thread Greg from Oz
If you run the command and add sudo before the command then it will run as root. sudo wee_device If you add the user to the dialout group then that user will have permission to use the USB without out having to run sudo. On Monday, 23 November 2020 at 15:04:40 UTC+11 jd@gmail.com wrote:

[weewx-user] Re: Webserver showing default Apache page instead of weewx

2020-11-22 Thread Jimmy Kirk
Sorry Greg, should have mentioned that I already tried running it with sudo, with interesting results. Here's what I get, running without sudo, then with sudo... . . . weewx@weewx:~ $ wee_device --clear-memory Using configuration file /home/weewx/weewx.conf Using Vantage driver version 3.2.1 (wee

[weewx-user] Re: Webserver showing default Apache page instead of weewx

2020-11-22 Thread Greg from Oz
It is not like the sudoers. It is just a group. Look here: https://www.techrepublic.com/article/how-to-create-users-and-groups-in-linux-from-the-command-line/ It will show you how to add the group to the user. If the sudo wee_device comes back with command not found then that means it is not in