[weewx-user] Making a backup of the SQLite database

2024-02-05 Thread Joachim Puttkammer
Are the instructions from the user's guide still up to date? "Do not make the copy of the SQLite database while in the middle of a transaction! Schedule the backup for immediately after an archive record is written, and then make sure the backup completes before the next archive record arrives.

Re: [weewx-user] Making a backup of the SQLite database

2024-02-05 Thread 'Rainer Lang' via weewx-user
I don't think it has changed ... why would it ? It's a reasonable approach for how and when to copy an active database. That's independent of the weewx version. Safest way is always to shutdown weewx (best immediately after the last archive records were written), then copy, then restart weewx

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

2024-02-05 Thread Joe
Even tried a new port # on the PI computer. It sees the davis but hates it Feb 5 05:48:15 raspberrypi weewxd[4416]: CRITICAL __main__: Exiting... Feb 5 05:48:15 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=4/NOPERMISSION Feb 5 05:48:15 raspberry

[weewx-user] Important release: V5.0.1 !

2024-02-05 Thread Tom Keffer
This is a very important bug fix! If you upgraded from v4.x to v5.0 using a package installer, then tried to install an extension, then tried to uninstall it, you could delete system files! V5.0.1 fixes this, along with some other bugs. See the Upgrade Guide

[weewx-user] Klimalogg extension installation problem

2024-02-05 Thread BORIS
I managed to install the weewx simulator after some initial problems with the NO_PUBKEY ED444FCCF0E2B09E. The command sudo /etc/init.d/weewx stop did not work and had to use service weewx stop instead I am trying to intstall the Klimalogg extension. I follow the instructions in https://github

Re: [weewx-user] Weewx doesn't start anymore after update from 5.0.0 to 5.0.1-3

2024-02-05 Thread Tom Keffer
Make sure there isn't another process claiming /dev/ttyUSB0. The process "modemmanager" is a common one. To see what processes are using /dev/ttyUSB0 try *sudo lsof /dev/ttyUSB0* -tk On Sun, Feb 4, 2024 at 11:40 PM hb9...@gmail.com wrote: > I get a permission error for /dev/ttyUSB0 > However

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

2024-02-05 Thread Tom Keffer
Try removing modemmanager: *sudo apt purge modemmanager* On Mon, Feb 5, 2024 at 3:53 AM Joe wrote: > > Even tried a new port # on the PI computer. It sees the davis but hates it > > > Feb 5 05:48:15 raspberrypi weewxd[4416]: CRITICAL __main__: > Exiting... > Feb 5 05:48:15 raspbe

Re: [weewx-user] Klimalogg extension installation problem

2024-02-05 Thread Tom Keffer
You did not say what version of WeeWX you are using, but I suspect that it's V5. If that's the case, wee_extension no longer exists. Use "weectl extension " instead. See *New utilities

Re: [weewx-user] Which driver should i target for my custom weather station?

2024-02-05 Thread p q
If I was going to do this, I would look into mqtt options. On Sun, Feb 4, 2024, 11:03 PM 'Pavocracy' via weewx-user < weewx-user@googlegroups.com> wrote: > Hello all, > > I am working on a hobby project where i am trying to build my own "weather > station" from an esp8266 and a bunch of sensors.

Re: [weewx-user] Making a backup of the SQLite database

2024-02-05 Thread Joachim Puttkammer
When I edit the weewx database with the DB Browser for SQLite and finally click on Write change, I sometimes get the message that the write operation is blocked because the database is busy elsewhere. Therefore I imagine that copying is not possible as long as weewx is writing data to the DB, or

Re: [weewx-user] Making a backup of the SQLite database

2024-02-05 Thread 'michael.k...@gmx.at' via weewx-user
Are you opening a local copy of a remote database file, an copy it back to the origin, after storing? I did this a lot over the years, using WinSCP and DB Browser for SQLite on Windows, editing a remote database on a Raspberry Pi. I also encountered this message, although I managed to do the c

Re: [weewx-user] Weewx doesn't start anymore after update from 5.0.0 to 5.0.1-3

2024-02-05 Thread David Hathaway
I had this same issue immediately after updating from 5.0.0 to 5.0.1, the exact same error. *sudo lsof /dev/ttyUSB0* threw an error. I rebooted the machine and now weewx is running normally again. On Monday, February 5, 2024 at 7:03:18 AM UTC-6 Tom Keffer wrote: > Make sure there isn't anot

[weewx-user] Re: I can't install weewx

2024-02-05 Thread 'michael.k...@gmx.at' via weewx-user
What can you do? - You can search to Forum, you're not the first one with this issue. I did that for you: https://groups.google.com/g/weewx-user/search?q=ED444FCCF0E2B09E - You can do it the pip and venv way, and won't encounter the issue. https://weewx.com/docs/5.0/quickstarts/p

[weewx-user] Re: I can't install weewx

2024-02-05 Thread 'michael.k...@gmx.at' via weewx-user
What can you do? - You can search the forums, you're not the first one having the issue. I did that for you: https://groups.google.com/g/weewx-user/search?q=ED444FCCF0E2B09E - You can install weewx the "pip and venv" way, and you won't encounter the issue: https://www.weewx.com/d

Re: [weewx-user] Klimalogg extension installation problem

2024-02-05 Thread BORIS
Thank you Tom, that solved my installation. weewx is now collecting temperature data from Klimalogg Pro with the USB interface. It could be good for other users if the commands in https://github.com/matthewwall/weewx-klimalogg?tab=readme-ov-file could be updated for use with weeWX 5.0. I still

[weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Neil B
Hi I performed an upgrade to 5.0.0 at the weekend and have had two main issues. I'm putting to one side for now that the upgrade seemed to correct the database and I needed to create a new one. The main issue is similar to other Davis Vantage Pro users. Before the upgrade all worked fine, WEEWX

Re: [weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Tom Keffer
Two things: 1. Try upgrading to v5.0.1. It fixes some permission issues for Debian installs. It's remotely possible that's what you're experiencing. 2. Please set debug=1, then restart. Post from the restart. We'll figure this out. -tk On Mon, Feb 5, 2024 at 12:22 PM Neil B wrote: > Hi > > I

Re: [weewx-user] Klimalogg extension installation problem

2024-02-05 Thread Tom Keffer
Yes. The install instructions for nearly every extension needs to be updated. But, this is why we publish the Upgrade Guide! On Mon, Feb 5, 2024 at 12:15 PM BORIS wrote: > Thank you Tom, that solved my installation. weewx is now collecting > temperature data from Klimalogg Pro with the USB inte

Re: [weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Neil B
Hi Tom Many thanks for the prompt reply. I should have mentioned that I upgraded to v.5.0.1 early today, that made no difference. I've just set 'debug = 1' and restarted. The "weewx" log looks exactly the same (no additional info). Therefore, I haven't repeated it. I'm finding the only log I

Re: [weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Tom Keffer
Are you saying that if you use the command "*journalctl -u weewx*", you get only the 10 lines you included in the original post? NB: you want *journalctl -u weewx* NOT *journalctl -u weewx -f* On Mon, Feb 5, 2024 at 12:43 PM Neil B wrote: > Hi Tom > > Many thanks for the prompt reply. I

Re: [weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Neil B
Me again!! Just thought I would add some more info. I terms of your last reply to me, yes I only get the 10 lines before all grinds to a halt. I am showing below what I get after a reboot and then immediately after I manually start the software running. == Once I reboot the bo

Re: [weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Tom Keffer
That's better. Looks to me like everything is working as it should. Perhaps it only needed a reboot? On Mon, Feb 5, 2024 at 1:00 PM Neil B wrote: > Me again!! Just thought I would add some more info. > > I terms of your last reply to me, yes I only get the 10 lines before all > grinds to a hal

Re: [weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Neil B
Hi Tom. Perhaps I wasn't clear with what I meant. Let me try this When I do a reboot WEEWX does not run. It always STOPS with the critical error (the 10 lines) and I have to manually START the service myself. It is very consistent - reboot and service does not start, issue the manual comma

[weewx-user] Re: Another Davis Vantage unable to start concern

2024-02-05 Thread bell...@gmail.com
It looks like it is trying to start WeeWX before the network is available. Hopefully someone can help from here. On Monday 5 February 2024 at 15:22:28 UTC-5 Neil B wrote: > Hi > > I performed an upgrade to 5.0.0 at the weekend and have had two main > issues. I'm putting to one side for now tha

Re: [weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Graham Eddy
vantage device is on LAN. wireless interface normally not ready until long after weewx tries to start, unusual (but not impossible) for ethernet interface to be so late. try the ‘loop-on-init = 1’ in weewx.conf, or insert a delay in the startup file ⊣GE⊢ > On 6 Feb 2024, at 8:08 am, Neil B wro

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

2024-02-05 Thread Joe
I replaced the USB cable, and it works now. I dont have the ferrite cores on it yet though. Trying it without them. On Monday, February 5, 2024 at 7:04:52 AM UTC-6 Tom Keffer wrote: > Try removing modemmanager: > > *sudo apt purge modemmanager* > > > > On Mon, Feb 5, 2024 at 3:53 AM Joe wrot

Re: [weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Tom Keffer
All good suggestions. For *loop_on_init*, see this link . On Mon, Feb 5, 2024 at 3:29 PM Graham Eddy wrote: > vantage device is on LAN. wireless interface normally not ready until long > after weewx tries to start, u

[weewx-user] Re: READ THIS!

2024-02-05 Thread Owen
As always.another good reminder to NOT run things as 'root', if you don't have to. On Saturday 27 January 2024 at 5:26:01 pm UTC+11 gjr80 wrote: > The problem is encountered when using the extension installer/uninstaller > weectl > extension. If you install WeeWX v5 via a package install a

[weewx-user] Re: I can't install weewx

2024-02-05 Thread vince
You can google for your exact error message “The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FCCF0E2B09E” which will point you to the multiple threads about this and what to do. On Monday, February 5, 2024 at 9:08:24 AM UTC-10 Florian Weber