[weewx-user] Database entries

2023-08-10 Thread Daidl Himself
Hi, I got a GW2000 and several sensors and use them with the gw1000 driver. So far so good, the most temeratures and stuff is automatically logged fine. But, I would like to see trends from the battery values as well. Searching in the manuals let me learn, the data needs to be mapped to a field,

Re: [weewx-user] Database entries

2023-08-10 Thread 'Rainer Lang' via weewx-user
in principle all seems to be correct in weewx.conf now, how to check the database: get yourself the sqlitebrowser and look it up yourself sudo apt-get install sqlitebrowser  you will have to load your database and you can see everything, all records etc. but you may have a unit problem as

RE: [weewx-user] Re: weewx with rtl-davis - Installation Assistance?

2023-08-10 Thread John Argue
Not yet – busy in summer but have acquired a raspberry pi 4 and will try it with the script as soon as things settle down a bit. From: weewx-user@googlegroups.com On Behalf Of Rob Fissel Sent: August 5, 2023 8:54 AM To: weewx-user Subject: [weewx-user] Re: weewx with rtl-davis - Installatio

Re: [weewx-user] Database entries

2023-08-10 Thread Daidl Himself
Hi, thats sounds good, and sqlightbrowser tells me the BatterieStatus fiels are empty, most likely a type mismatch as you say. Just wonder, if I map wh51_ch1_batt to * BatteryStatus2*, I need to mention * BatteryStatus2* in extension.py. righ? Rainer Lang schrieb am Donnerstag, 10. August

Re: [weewx-user] Database entries

2023-08-10 Thread 'Rainer Lang' via weewx-user
If the predefined unit of a database field changes (i.e. you want it to be changed), weewx needs to be told how to interprete the value stored in this field. Entries in extensions.py will override the default unit definitions weewx keeps in a table at runtime (the obs_group_dict). E.g. you hav

Re: [weewx-user] WeeWX in an RV?

2023-08-10 Thread Stefan Gliessmann
Wow - thanks, Tom! That actually sound pretty straight forward and almost too easy ;) Once I have the GPS receiver hooked up to my LTE router; I will try it out! 😇 On Wed, Aug 9, 2023 at 5:54 PM Tom Keffer wrote: > One way of doing this... > > Station altitude, latitude, and longitude are alwa

Re: [weewx-user] Installing weewx without root access

2023-08-10 Thread Matthew Fields
Thanks. Will see if that route works a bit better... Was definitely figuring I'd have to do something with cron to get it running on boot. On Wednesday, August 9, 2023 at 11:50:44 PM UTC-4 vince wrote: > If you're willing to do so, the easiest way is to install the v5 beta via > 'pip' within a

Re: [weewx-user] Re: Lightning Data Stored in weewx.sdb

2023-08-10 Thread michael.k...@gmx.at
Is [[Corrections]] in the hierarchy below [StdCalibrate]? Like this: [StdCalibrate] [[Corrections]] lightning_distance = lightning_distance if lightning_strike_count > 0 else None If yes and you don't find a solution, post your whole weewx.conf as an attachment, but don't forg

Re: [weewx-user] Database entries

2023-08-10 Thread Daidl Himself
Great, got it. You made my day :-) Rainer Lang schrieb am Donnerstag, 10. August 2023 um 17:38:34 UTC+2: > If the predefined unit of a database field changes (i.e. you want it to be > changed), weewx needs to be told how to interprete the value stored in this > field. > Entries in extensions.py

Re: [weewx-user] Re: weewx with rtl-davis - Installation Assistance?

2023-08-10 Thread vince
FWIW - I did get this to work on v5 beta with some tweaks in my install script solely due to the weewx commands being a little different than v4 and earlier, but it was a little bit of a struggle here too. I had to do a lot of plugging/unplugging the rtl_sdr dongle as it seemed to lock up wit

[weewx-user] rtl_davis logging pct good packets

2023-08-10 Thread vince
Likely a dumb question - but for the rtl_davis users out there did you need to do anything to get it to log the percent good packets to the db ? The driver is logging pct_good ok to syslog but I'm not following the code to see what (if anything) I need to do to get it to log to rxCheckPercent i

[weewx-user] Average wind direction

2023-08-10 Thread Phil D
Hello everyone, I am trying to create an sql query from the archive_day_xxx tables to find the daily and monthly values ​​of the average wind direction that we retrieve in the variables $day.wind.vecdir and $month.wind.vecdir. I tried several things from the archive_day_wind and archive_day_winD

[weewx-user] Re: Average wind direction

2023-08-10 Thread michael.k...@gmx.at
There is no average direction, what you are looking for is the direction of a vector, the resulting vector (speed, direction) of all measuerements of a given timespan. I am not too familiar with all database tables and entries, but I thinking of the parts I know, I doubt that you can retrieve th