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

2024-03-22 Thread salinois
ok thanks patrick Le 22/03/2024 à 19:09, vince a écrit : A bme280 works just fine in weewx v5 if your user is in the appropriate groups so that user can access the hardware. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from

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

2024-03-18 Thread vince
We cannot help if you say you have errors on permissions if you do not include the logs so we can look at them. On Monday, March 18, 2024 at 1:49:21 PM UTC-7 salinois wrote: > again, I follow the link an other time ; I found also the same link with > my error > > I put this line in my

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

2024-03-18 Thread vince
Look at the answer in https://raspberrypi.stackexchange.com/questions/69911/how-to-make-raspbian-load-the-spi-module-on-boot-up Always always always google for your exact error message. If you had googled for "*SPISoftwareFallback: failed to initialize hardware SPI, falling back to software"*

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

2024-03-07 Thread Patrick Tranchant
Hi Vince, i am at my son's for few days, when i will back at home , I will watch the link. Patrick Le jeu. 7 mars 2024 à 01:53, vince a écrit : > 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

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] 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

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.

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.

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] 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,

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

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

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

2024-02-07 Thread salinois
hello Matthew OK I understand if that works thanks also to vince. Now , I must to try the 5.0.0 version Patrick Le 07/02/2024 à 23:06, matthew wall a écrit : On Wednesday, February 7, 2024 at 3:36:55 PM UTC-5 sali...@gmail.com wrote: pi@raspberrypi:~ $ wget -qO -

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

2024-02-07 Thread matthew wall
On Wednesday, February 7, 2024 at 3:36:55 PM UTC-5 sali...@gmail.com wrote: pi@raspberrypi:~ $ wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list *deb [arch=all] http://weewx.com/apt/python3 buster main ==> why

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

2024-02-07 Thread sali...@gmail.com
thank vince, that works well patrick On Wednesday, February 7, 2024 at 9:59:18 PM UTC+1 vince wrote: > > wget -qO - https://weewx.com/*keys-old*.html | > sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg > sudo apt update > > On Wednesday, February 7,

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

2024-02-07 Thread vince
wget -qO - https://weewx.com/*keys-old*.html | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg sudo apt update On Wednesday, February 7, 2024 at 12:36:55 PM UTC-8 sali...@gmail.com wrote: > hello guys, > I want install weewx on a new RPi4b for test (