[weewx-user] Re: import weewx data from mqtt to home assistant.

2024-02-10 Thread Vetti52
Well, as I am not a specialist, I can just forward my working configuration, adopted from community.home-assistant.io/t/weewx-mqtt-and-how-to-import-data/212344 Another question is, if MQTT needs to allow anonymous access. In my setup I had to allow it by creating /etc/mosquitto/conf.d/anon.co

[weewx-user] Re: import weewx data from mqtt to home assistant.

2024-02-10 Thread Vetti52
Ok, so at least weewx is uploading data to mqtt sucessfully. The only thing, I am concerned from your listing, is the proper formation. But perhaps this is due to your pasting mqtt.yaml in this forum. You have hopefully placed the spaces properly, thus sensor: top left - name

[weewx-user] Re: import weewx data from mqtt to home assistant.

2024-02-10 Thread Claudio
Thanks Peter for your support, I will try and reinstall mosquitto to see if I missed something along the way what seems strange to me is that, as you can see from the photo, home assistant is able to read the topic Claudio Il giorno sabato 10 febbraio 2024 alle 12:00:14 UTC+1 Vetti52 ha scri

[weewx-user] Re: unable to save to file '/var/www/html/weewx/...

2024-02-10 Thread walter Gross
Hi Matthew Thanks for your quick reply and given solution. User and group weewx exist. ps aux|grep weewxd say : weewx 818 2.1 0.8 60016 31592 ?Ssl 11:30 0:18 python3 /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf ls -la /var/www/html/weewx say: insgesamt 316 drwxrwsr-x 4 w

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread Joe
Back with the USB error again now.. Feb 10 07:45:51 raspberrypi systemd[1]: Started WeeWX. Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Initializing weewxd version 5.0.0 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.c

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread Tom Keffer
Something is causing the usb adapter to release /dev/ttyUSB0. Try the kernel message "dmesg". It may give you some information. Also you should update to v5.0.2 *sudo apt update* *sudo apt upgrade* -tk On Sat, Feb 10, 2024 at 5:47 AM Joe wrote: > Back with the USB error again now.. > > Feb 10

Re: [weewx-user] Re: import weewx data from mqtt to home assistant.

2024-02-10 Thread p q
Yaml files are really picky about formatting. You might try a checking site like yamlint.com On Sat, Feb 10, 2024, 3:05 AM Claudio wrote: > Thanks Peter for your support, I will try and reinstall mosquitto to see > if I missed something along the way > what seems strange to me is that, as yo

Re: [weewx-user] Re: unable to save to file '/var/www/html/weewx/...

2024-02-10 Thread Ton Karsten
I have the same problem. Tried all solutions above but no success. The guidelines in the wiki: https://github.com/weewx/weewx/wiki/Understanding-permissions#how-to-fix-permissions also do not provide a solution. Here are my log files. # find out who is running weewxd ps aux|grep weewxd weewx

Re: [weewx-user] Re: import weewx data from mqtt to home assistant.

2024-02-10 Thread Claudio
thanks for the tip, it says "Valid YAML!" Il giorno sabato 10 febbraio 2024 alle 15:14:32 UTC+1 p q ha scritto: > Yaml files are really picky about formatting. You might try a checking > site like yamlint.com > > On Sat, Feb 10, 2024, 3:05 AM Claudio wrote: > >> Thanks Peter for your support, I

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread Joe
Not sure why its doing this. I will need to check my pi hole to make sure its not stoppiing the inquiry. Get:1 http://weewx.com/apt/python3 buster InRelease [4,252 B] Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 http://archive.raspberrypi.org/debian

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread vince
Update your apt keys first per the configure apt section at the top of https://weewx.com/docs/5.0/quickstarts/debian/ Then do Tom’s two commands. On Saturday, February 10, 2024 at 8:12:07 AM UTC-8 Joe wrote: > Not sure why its doing this. I will need to check my pi hole to make sure > its not

Re: [weewx-user] Re: unable to save to file '/var/www/html/weewx/...

2024-02-10 Thread vince
Walter and Ton… - What os and version are you running? - Which webserver are you running ? - What are the permissions on /var/www/html (the directory the weewx subdirectory is in) ? - Did you upgrade from v4 to v5…or did you install v5 on a clean os ? On Saturday, February 10, 20

Re: [weewx-user] Weewx v5 fresh install Errno 13

2024-02-10 Thread Joseph Verreau
hmm. this seems to be my issue on installing 5.0.0 following erasing 4.10. On my own I tried adding weewx user to the wheel group and to sudoers file. I tried what Matt and Paul were discussing about rule changes and yet I still get the "ERROR weewx.engine: Import of driver failed: [Errno 13

Re: [weewx-user] Weewx v5 fresh install Errno 13

2024-02-10 Thread Joseph Verreau
p.s. just noticed I'm not getting a symlink for the DavisVP rule but I haven't rebooted since I added that local rule. Joe Verreau On Saturday, February 10, 2024 at 3:05:41 PM UTC-5 Joseph Verreau wrote: > hmm. this seems to be my issue on installing 5.0.0 following erasing > 4.10. On my own

Re: [weewx-user] Weewx v5 fresh install Errno 13

2024-02-10 Thread Joseph Verreau
p.p.s I just noticed that I didn't have the subsystem prefix on my rule. So my entry in 50-localusb.rules is: SUBSYSTEM=="tty",ATTRS{serial}=="1344794749", ATTRS{manufacturer}=="Silicon Labs", SYMLINK+="DavisVP" and I rebooted; altho I still don't have a symlink for /dev/DavisVP all the same my

Re: [weewx-user] Re: import weewx data from mqtt to home assistant.

2024-02-10 Thread Neville Davis
Hi On my Pi4 I have data from weewx and data from my solar and power/water consumption monitoring system combined to a single MQTT stream and this is used within HAAS. I also had some issues but I have included here my relevant part of my config yaml.Note the MQTT section hope this helps..

Re: [weewx-user] Re: import weewx data from mqtt to home assistant.

2024-02-10 Thread Neville Davis
Hi In addition in settings search MQTT and I get Neville Name Entity ID Integration Area Status Air pressure sensor.air_pressure MQTT — — Dining room Teperature sensor.dining_room_teperature MQTT — FARS speed sensor.fars_speed MQTT — — Lounge Temperature sensor.lounge_temperature MQTT — — meter

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread Joe
Thank you for the url about apt keys. Success. I'm running updates and its done, and i restarted weewx and it seems to be doing it however it is getting loop batch errors now I will see if it resolves... On Saturday, February 10, 2024 at 12:01:18 PM UTC-6 vince wrote: > Update your apt keys fir

Re: [weewx-user] Re: import weewx data from mqtt to home assistant.

2024-02-10 Thread Neville Davis
Hi Note State Topic in all items is “weather/loop” Note this is json data you need to look for the required data in that stream. Just read more closely Neville On Sunday, February 11, 2024 at 7:32:25 AM UTC+10 Neville Davis wrote: > Hi > > In addition in settings search MQTT and I get > > Nevi

[weewx-user] MQTTSubscribe and paho mqtt heads up

2024-02-10 Thread bell...@gmail.com
There is new release of paho mqtt, 2.0.0. This has a breaking change for all clients using this library. I'll let you know when MQTTSubscribe supports it. Sigh, backwards compatibility is overrated. rich -- You received this message because you are subscribed to the Google Groups "weewx-user"

[weewx-user] can't seem to find epel-release for fedora fc38

2024-02-10 Thread Joseph Verreau
currently running weewx v 5.0.0-1 following an erase of 4.10. I did finally sort out a few issues, like I didn't know I needed to re-run the device script to add the vantage driver but I got there. Then there was the issue of udev rules but another thread helped me sort that out. My version

[weewx-user] Re: can't seem to find epel-release for fedora fc38

2024-02-10 Thread Joseph Verreau
here's another piece, looking at this list of dependencies as below I checked to see if they were installed. All but epel-release are on my system. The issue I'm anticipating is that desktop is running fc38. I won't be able to install fc39 unless all the packages have a path to an upgrade

[weewx-user] Re: can't seem to find epel-release for fedora fc38

2024-02-10 Thread vince
Try reading https://www.weewx.com/docs/5.0/quickstarts/redhat/ On Saturday, February 10, 2024 at 3:31:48 PM UTC-8 Joseph Verreau wrote: > here's another piece, looking at this list of dependencies as below I > checked to see if they were installed. All but epel-release are on my > system. >

[weewx-user] Install error

2024-02-10 Thread Dusan Tatomirovic
I have attempted several installs on a Mint machine, and every time I get the following error: dpkg: error processing package weewx (--configure): installed weewx package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: weewx E: Sub-pr

[weewx-user] Re: Install error

2024-02-10 Thread matthew wall
could you provide a bit more information? - which version of mint are you using? - is this an upgrade of weewx, or a new installation? - could you provide the full output from the install/upgrade, not just the last bit? thank you! -- You received this message because you are subscribed to the

[weewx-user] Re: can't seem to find epel-release for fedora fc38

2024-02-10 Thread matthew wall
how did you install the other dependencies, i.e., python3-cheetah, python3-pillow, python3-configobj? you could try installing epel-release as per the redhat installation instructions - that will satisfy the epel-release dependency. i guess we should remove the 'epel-release' dependency from th

Re: [weewx-user] unable to save to file '/var/www/html/weewx/...

2024-02-10 Thread Graham Eddy
why are you writing into files outside weewx’s area? weewx user is unlikely to have perms to do that ⊣GE⊢ > On 11 Feb 2024, at 1:59 am, Ton Karsten wrote: > > feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine: > File "/usr/lib/python3.11/shutil.py", line 258, i

[weewx-user] SDR no longer supported? :( What's gong on?!

2024-02-10 Thread Kevin Key
I made the mistake of upgrading weewx to the latest version. Now it won't run. kevin@linux:~$ sudo systemctl status weewx × weewx.service - WeeWX Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Sat 2024-02-10 18:36:3

Re: [weewx-user] unable to save to file '/var/www/html/weewx/...

2024-02-10 Thread vince
Or if you have it via cron, put it in weewx's crontab, not user 'pi' On Saturday, February 10, 2024 at 6:12:12 PM UTC-8 Graham Eddy wrote: > why are you writing into files outside weewx’s area? weewx user is > unlikely to have perms to do that > *⊣GE⊢* > > On 11 Feb 2024, at 1:59 am, Ton Karsten

[weewx-user] Re: SDR no longer supported? :( What's gong on?!

2024-02-10 Thread vince
You must be coming from a very old version… >From the release notes… 4.10.1 01/30/2023¶ Logging handler rotate has been removed. Its need to access privileged location /var/log/weewx.log on start up would cause crashes, even if it was nev

[weewx-user] Re: SDR no longer supported? :( What's gong on?!

2024-02-10 Thread Kevin Key
Thanks. I'm going to see where - unknowingly - I may be calling that in my config.. On Saturday, February 10, 2024 at 9:13:57 PM UTC-8 vince wrote: > You must be coming from a very old version… > > From the release notes… > > 4.10.1 01/30/2023¶

[weewx-user] Re: SDR no longer supported? :( What's gong on?!

2024-02-10 Thread Kevin Key
Well I'll be damned. Removing the references to 'rotate" fixed the problem. :) On Saturday, February 10, 2024 at 11:35:54 PM UTC-8 Kevin Key wrote: > Thanks. I'm going to see where - unknowingly - I may be calling that in my > config.. > > On Saturday, February 10, 2024 at 9:13:57 PM UTC-8