Hallo Harmut, One final thing, could you please confirm what weeWX version you are using. Your site says 3.7.1 and your weewx.conf say 3.7.2. But 3.7.0 has not yet been released, are you using 3.6.2 (the latest release) or one of the 3.7.0 betas?
I will sit down tonite and work my way through the code. Gary On Tuesday, 7 March 2017 17:13:46 UTC+10, Hartmut Schweidler wrote: > > Hallo Gary, > > Not to scold > > The values are calculated but they are not found in the database > > from weewxwd_config.py i call weewxwd_config --clear-v2-data > > > Am Dienstag, 7. März 2017 07:33:08 UTC+1 schrieb gjr80: >> >> Ok, since the 3 fields are all calculated fields the easiest thing to do >> will be to recalculate and save them all (if you need to check existing >> field values you will need to calculate the value anyway so you might as >> well calculate it and save it in your archive, that will simplify the code). >> >> So far you have posted various code extracts. Can you attach the file >> containing the modified python code you are running, I appreciate this may >> seem like overkill, but it is easier to see the code in its entirety rather >> than pieces at a time. Also, what command did you enter to run the code? >> Finally, can you post the [DataBindings] and [Databases] sections from >> weewx.conf, I am sure that at some stage we will need to make sure we >> are accessing the right database. >> >> Gary >> >> On Tuesday, 7 March 2017 16:17:44 UTC+10, Hartmut Schweidler wrote: >>> >>> Good morning from Germany >>> >>> I would like to "add" and/or "update" the new values to the historical >>> database >>> "archive". >>> >>> If calculated values are missing these should be added >>> If calculated values are wrong these must be corrected >>> >>> >>> Hartmut >>> homepage: http://wetter.hes61.de >>> >>>> >>>>
