Re: [weewx-user] Fedora Weewx RPM install

2024-03-06 Thread vince
You could git clone the repo and build your own from the makefile. Looks like it calls rpmbuild -ba so it should build the srpm hopefully. On Wednesday, March 6, 2024 at 9:55:19 PM UTC-8 John wrote: > Not withstanding all of that below Is there a weewx-5.0.2 source rpm > (.srpm) > anywhere

Re: [weewx-user] Fedora Weewx RPM install

2024-03-06 Thread John
Not withstanding all of that below Is there a weewx-5.0.2 source rpm (.srpm) anywhere public? I'm a Mageia user who's been installing the Fedora rpms for years (2009) without having dependency issues and I'm keen to condition the tradition :-) Cheers John in NZ On 7/03/24 04:32, Tom Keffer

Re: [weewx-user] Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread Graham Eddy
Jsonpath is good for plucking specific values on the subscribe/inward side, but it doesn’t help with the publish/outward side (or at least i couldn’t think of one). i am still using the eval(expr, weewx-packet or json-message) approach in my mqtt implementation ⊣GE⊢ > On 7 Mar 2024, at 11:05 

[weewx-user] Re: weewx-sdr howto document available on git hub

2024-03-06 Thread bell...@gmail.com
I only hesitate to share because I know just enough about systemd to be dangerous. One should NOT use these as a template but as additional information to learn from. The rtl_433 file. There is additional lines because I use https://pushover.net to monitor things related to WeeWX # systemd

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread vince
Patrick - when the sun comes around again in France and you get back to this, I did more research and updated the permissions wiki page. Check out the new section at the bottom of the page (link)

Re: [weewx-user] Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread Rich Bell
Cool. I’ll check it out. Thanks for the link! On Wed, Mar 6, 2024 at 6:33 PM 'Ian Millard' via weewx-user < weewx-user@googlegroups.com> wrote: > FWIW here you can find a very good online json path finder and validator > which is very useful in helping to work out a parsing scheme which can be >

Re: [weewx-user] Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread 'Ian Millard' via weewx-user
FWIW here you can find a very good online json path finder and validator which is very useful in helping to work out a parsing scheme which can be adapted for various computer languages: - https://www.site24x7.com/tools/jsonpath-finder-validator.html > On 6 Mar 2024, at 21:59, Rich Bell

[weewx-user] Re: weewx-sdr howto document available on git hub

2024-03-06 Thread vince
Nice. Lets see your system service file(s) to match ! How would you use that way as a driver and not even need to user weewx-sdr ? Not remembering if MQTT subscribe can run as a driver. I just run it as an extension. On Wednesday, March 6, 2024 at 2:06:27 PM UTC-8 bell...@gmail.com wrote:

[weewx-user] Re: weewx-sdr howto document available on git hub

2024-03-06 Thread bell...@gmail.com
Vince, Nice write up. Begin shameless plug… Since I am heavily invested in reading things from MQTT, I just run rtl_433 as a separate service and subscribe to the topic. I did this primarily to get the data in a service and secondarily to get sensors that were not ’mapped’. The service

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread salinois
OK Vince, this is new with the version 5. I'm going to watch the link "github' and I comme back to you. good night from France. Patrick Le 06/03/2024 à 22:52, vince a écrit : 4.9 runs as root so you do not see permission issues there. 5.x runs as user 'weewx' so you have to add that user

[weewx-user] Re: Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread bell...@gmail.com
Considering the format could be any valid json, it is a bit of a challenge. I haven’t had a chance to see if MQTTSubscribe could handle this, but when I get some time I plan to rich On Wednesday 6 March 2024 at 13:17:39 UTC-5 matthew wall wrote: > it looks like the raddy L7 can upload to

Re: [weewx-user] Re: Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread Rich Bell
I have not tried parsing this via MQTTSubscribe, but I have my doubts that it currently handles it. rich On Wed, Mar 6, 2024 at 3:33 PM vince wrote: > You have some pretty hideously formatted JSON to parse, but here's what it > looks like in a more readable format after piping it through 'jq'

Re: [weewx-user] RSS - FEED

2024-03-06 Thread Fjordey
Thanks Tom, I will make the changes, and look at the rain further in the next few days.. On Wednesday, March 6, 2024 at 3:12:16 PM UTC-5 Tom Keffer wrote: > A template file is a not-very-obvious mix of HTML and Cheetah tags. To get > the formatting you need, change this > > #for $x in

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread vince
4.9 runs as root so you do not see permission issues there. 5.x runs as user 'weewx' so you have to add that user to the correct group(s) to access hardware https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions#why-do-i-get-permission-denied On Wednesday, March 6, 2024 at

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread salinois
I understand that you say me, but why I don't have this issue with version weewx 4.9 ? the only difference is RPi 3b and now RPi 4b with bulleyes. Weewx 4.9 on RPi 3b with Buster Weewx 5.0.2 on RPi 4b with bulleyes "error" I am watching the link "robotics" Patrick Le 06/03/2024 à 22:31,

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread vince
You need to work through googling your exact error message. "SPISoftwareFallback: failed to initialize hardware SPI, falling back to software (error was: [Errno 13] Permission" See if https://roboticsbackend.com/raspberry-pi-hardware-permissions/ helps any. It might be group 'spi' that you

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread salinois
Yes, Vince, I took as you said me.  $ getent group gpio gpio:x:997:pi,weewx but it is always the same things, this error come , only when I restart weewx. !!! patrick Le 06/03/2024 à 22:15, vince a écrit : patrick - as I said earlier, " 

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread vince
patrick - as I said earlier, " /usr/lib/python3/dist-packages/gpiozero/pins/pi.py:153: SPISoftwareFallback: failed to initialize hardware SPI, falling back to software (error was: [Errno 13] Permission non accordée)" clearly indicates a permission issue. add the weewx user to group gpio.

[weewx-user] weewx-sdr howto document available on git hub

2024-03-06 Thread vince
In working with another weewx user to help him gets his SDR station online, it was clear that lots of people (like me) have some problems really understanding some of the rtl-433 and sdr documentation that is out there. After working through it end-to-end a few times on both ubuntu and on a

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread salinois
yes, I took that. ls -ail /etc/weewx/bin/user/ total 36 526359 drwxrwsr-x 3 weewx weewx  4096  6 mars  21:52 . 526358 drwxrwsr-x 3 weewx weewx  4096  7 févr. 22:15 .. 524298 -rw-r--r-- 1 weewx weewx 10990  8 févr. 13:05 byows.py 526361 -rw-rw-r-- 1 weewx weewx   541  7 févr. 22:15 extensions.py

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread Tom Keffer
You are missing a search list extension called "stats". I suspect that this is the old stats module that came with WeeWX until v4.6. If that's the case, I've attached it. Put it in /etc/weewx/bin/user If it came from somewhere else, I have no idea what it is. Or, perhaps you don't use it at all.

[weewx-user] Re: Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread vince
You have some pretty hideously formatted JSON to parse, but here's what it looks like in a more readable format after piping it through 'jq' and doing a little hand editing for readability { "sensor": [ { "title": "Indoor", "list": [ [ "Temperature", "68.9", "°F"

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread salinois
OK, I took that, thanks. but I use this command: |# Reconfigure to use your hardware *weectlstationreconfigure *watch: [weectl station reconfigure Using configuration file /etc/weewx/weewx.conf Processing configuration file /etc/weewx/weewx.conf Give a description of the station. This will

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread Tom Keffer
It should be driver = user.byows On Wed, Mar 6, 2024 at 11:29 AM salinois wrote: > ok Tom, > > this is a fresh install, not upgrade, but When I put my other sd card with > 4.9 version, it is ok, so, it is not a issue with GPIO, I think. > > And yes, the driver is here: > > [ls -ail

Re: [weewx-user] RSS - FEED

2024-03-06 Thread Tom Keffer
A template file is a not-very-obvious mix of HTML and Cheetah tags. To get the formatting you need, change this #for $x in $observations #if $getattr($current, $x).has_data #if $x == 'windSpeed' $obs.label.wind: $current.windSpeed $gettext("from") $current.windDir; #else

[weewx-user] Re: Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread Michael
I have officially given up on getting interceptor to work in sniffing mode on Phython3. On Wednesday, March 6, 2024 at 11:17:39 AM UTC-7 matthew wall wrote: > it looks like the raddy L7 can upload to wundgerground, so if you are > using the raddy's wifi, you should be able to use the

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread salinois
ok Tom, this is a fresh install, not upgrade, but When I put my other sd card with 4.9 version, it is ok, so, it is not a issue with GPIO, I think. And yes, the driver is here: [ls -ail /etc/weewx/bin/user/ total 32 526359 drwxrwsr-x 3 weewx weewx  4096  6 mars  18:32 . 526358 drwxrwsr-x 3

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread vince
I did find some google links where this message appears due to permission problems accessing the hardware. If you look at your error it also says NOPERMISSION. Try adding the user weewx runs as to group gpio via ‘sudo usermod -aG gpio weewx’ and see if it works now. On Wednesday, March 6,

[weewx-user] Re: Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread vince
Something like the purpleair or davis airlink extensions could perhaps be modified. Query the endpoint and map it to weewx db elements. Or query periodically and feed MQTT. SHOULD BE DOABLE. On Wednesday, March 6, 2024 at 10:17:39 AM UTC-8 matthew wall wrote: > it looks like the raddy L7 can

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread Tom Keffer
If you did a package install, the driver byows.py should go in /etc/weewx/bin/user. But, frankly, this should have been done for you if you did an upgrade from V4 to V5. Take a look in /etc/weewx/bin/user and see if it's in there. But, the error in the little snippet from your status report is a

[weewx-user] Re: Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread matthew wall
it looks like the raddy L7 can upload to wundgerground, so if you are using the raddy's wifi, you should be able to use the interceptor driver to capture or directly receive the wunderground output. setting up the interceptor is not trivial, but there are many examples. it would be nice if

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread salinois
again me perhaps , I found Should I use this method now? [weectl extension install /home/pi/byows.py] and after: weectl station reconfigures --no-prompt --driver=weewx.drivers.byows Patrick Le 06/03/2024 à 18:47, salinois a écrit : hello, I restart my installation with version weewx

Re: [weewx-user] Re: new install weewx on a new RPi 4b

2024-03-06 Thread salinois
hello, I restart my installation with version weewx 5.0.1 and I have these errors: on my version which works in 4.10.2, my "byows.py" driver is located here: [/usr/share/weewx/user/] but I saw that the tree structure has changed; where should I put my driver now? watch these errors: sudo

[weewx-user] Re: Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread 'michael.k...@gmx.at' via weewx-user
Fwiw, it is JSON, not XML. If you can get your device to emit these values as MQTT messages, you probably can get along with https://github.com/bellrichm/WeeWX-MQTTSubscribe and some configs. Michael schrieb am Mittwoch, 6. März 2024 um 18:02:47 UTC+1: > Hello, > > First I am not a developer,

[weewx-user] Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread Michael
Hello, First I am not a developer, so pardon my ignorance. I have a Raddy L7 LoRa WX station. I found that on the local configuration screen of the device, you can enter /client?command=record and get an XML output of current conditions. Just wondering what getting this data to feed into

Re: [weewx-user] Fedora Weewx RPM install

2024-03-06 Thread Tom Keffer
See issue #940 . On Wed, Mar 6, 2024 at 3:57 AM Mark Jenks wrote: > Good morning! > > I was going to do PIP for the new 5.x install, instead of using the > setup.py like I have for years. > Then I saw the RPM, and figured I was take a look at that,

[weewx-user] RSS - FEED

2024-03-06 Thread Fjordey
I realize not many are using the RSS feed, yet I am to just get a quick check of things while sorting through my news feeds... regaurdless the reason I need help if possible... I'm not an expert by any means, but can fumble my way through the coding most times. #1 I edited the template to

[weewx-user] Re: heating_base

2024-03-06 Thread MaKi68
Like this: https://season.wetter-ruppersthal.at/ All-time Now i edited xtypes.py (/home/pi/weewx-venv/lib/python3.11/site-packages/weewx) class AggregateHeatCool(XType): """Calculate heating and cooling degree-days.""" # Default base temperature and unit type for heating and cooling

[weewx-user] Re: Upgraded to 5.0.1, DB is updating but not reflecting

2024-03-06 Thread Matt Johnson
So 12 hours later it seems my site's Belchertown skin is not updating any of the data, it is all stuck in time at 6:20pm last night when I did the update - forecast, almanac, charts all frozen there. MQTT shows real time data for some elements. Database is still

[weewx-user] Fedora Weewx RPM install

2024-03-06 Thread Mark Jenks
Good morning! I was going to do PIP for the new 5.x install, instead of using the setup.py like I have for years. Then I saw the RPM, and figured I was take a look at that, except the rpm doesn't work for Fedora. Fedora is not Enterprise Linux, so you can not install EPEL-Repo for it, but all

Re: [weewx-user] How to upgrade from setup.py v4 install to pip v5 install

2024-03-06 Thread Mark Jenks
I think that is the direction I am going to go in also. I've been using setup.py since the beginning since there was no rpm yet. I'm going to do the pip install, move all my files around to the new format and restart it there. Running mariadb, so all my data is in one place already. Been

[weewx-user] Re: heating_base

2024-03-06 Thread gjr80
I'm familiar with heating degree days in the NOAA reports but what are the 'history reports' you refer to? Gary On Wednesday 6 March 2024 at 19:27:27 UTC+10 MaKi68 wrote: > Hello, > Where do I need to change the heating_base so that the value is used for > NOAA and history reports? > I have

[weewx-user] heating_base

2024-03-06 Thread MaKi68
Hello, Where do I need to change the heating_base so that the value is used for NOAA and history reports? I have changed the heating_base in [StdReport] [[Defaults]] [[[Units]]] DegreeDays heating_base = 20, degree_C but this value is only used