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

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