Re: [weewx-user] Re: Best way of correcting/calibrating barometer readings

2025-01-08 Thread gszla...@gmail.com
The best way to calibrate is to compare your station pressures with a calibrated barometer of known accuracy. This will tell us if all barometers are reporting true pressure. A good low cost, accurate barometer like the Starpath USB baro would be suitable for this purpose. There's a review on w

Re: [weewx-user] Re: Trying to write to mariadb

2025-01-08 Thread Tom Keffer
I'm assuming that the section [[MySQL]], which you show as being under [Databases], is actually under [DatabaseTypes]. If that's the case, then the problem is that under [[wx_binding]], the option "database" should be set to "archive_mysql", not "weewx". But, if [[MySQL]] is in fact under [Databa

[weewx-user] Re: Trying to write to mariadb

2025-01-08 Thread Adam Morgan
I left out this part of the config: [[wx_binding]] # The database must match one of the sections in [Databases]. # This is likely to be the only option you would want to change. database = weewx # The name of the table within the database. table_name = a

[weewx-user] Trying to write to mariadb

2025-01-08 Thread Adam Morgan
Hello, and thank you so much to all of you that work on the software and participate in this forum. I've been using weewx for a while now, and I hope to be able to contribute to the community going forward. I am trying to write to a mariadb instance on my network. I have several other self-h

Re: [weewx-user] Re: Trying to write to mariadb

2025-01-08 Thread Tom Keffer
Only a few sections need to be changed from the standard weewx.conf file. I've highlighted them below. Everything else should be the same. # This section binds a data store to a database. [DataBindings] [[wx_binding]] # The database must match one of the sections in [Databases].

Re: [weewx-user] Re: Trying to write to mariadb

2025-01-08 Thread vince
The first one is a 'yes'. For the second one, look for 'archive_interval' in weewx.conf [StdArchive] # If the station hardware supports data logging then the archive interval # will be downloaded from the station. Otherwise, specify it (in seconds). archive_interval = 300 On Wedne

[weewx-user] Re: Ambient WS-2902 and Weewx

2025-01-08 Thread 'michael.k...@gmx.at' via weewx-user
Sure. https://weewx.com/docs/5.1/#installation Carl Schultze schrieb am Mittwoch, 8. Januar 2025 um 21:29:10 UTC+1: > I have a WS2902 and I would like to use this for weewx. (brand new > installation) > Can someone point me towards the correct way to set this up. > > Thx > -- You received this

Re: [weewx-user] Re: Trying to write to mariadb

2025-01-08 Thread Adam Morgan
Thanks Tom! This is all the part that I find a little confusing - how the sections tie together. I did see the note about the db name needing to be consistent across sections, but I am unclear if I am missing something beyond that. I have stripped out the sections that don't apply to this t

Re: [weewx-user] Re: Trying to write to mariadb

2025-01-08 Thread Adam Morgan
Argh, i don't know if my last update was sent. I don't see it in the thread. I am now getting this error: admin@WeatherPi:~ $ sudo journalctl -u weewx -f Jan 08 14:58:53 WeatherPi weewxd[29087]: CRITICAL __main__: File "", line 690, in _load_unlocked Jan 08 14:58:53 WeatherPi weewx

Re: [weewx-user] Re: Trying to write to mariadb

2025-01-08 Thread Adam Morgan
Thanks again! Just to be clear, I should make the exact changes that you made? Also, can you explain something to me? The word "archive" is used, and I did see a reference to an archive interval. I am assuming that the data gets dumped to the SQL db on that schedule? On Wednesday, Januar

Re: [weewx-user] Re: Trying to write to mariadb

2025-01-08 Thread Tom Keffer
You're not showing much of the log, but I can see one inconsistency: the log snippet indicates that you did a package install (clue: the path /usr/share/weewx/weedb/mysql.py). But, you installed pymysql into a Python virtual environment (clue: the "weewx-venv" prompt). The latter will not be seen b

[weewx-user] Ambient WS-2902 and Weewx

2025-01-08 Thread Carl Schultze
I have a WS2902 and I would like to use this for weewx. (brand new installation) Can someone point me towards the correct way to set this up. Thx -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving e