Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Alessandro Del Prete
The table exists. Could it be corrupted in some way? That would explain why the problem came up only recently. SQLite version 3.31.1 2020-01-27 19:55:54 Enter ".help" for usage hints. sqlite> SELECT tbl_name FROM sqlite_master WHERE type='table'; archive archive_day_altimeter archive_day_appTemp

[weewx-user] Weewx + WeatehrFlow + RTL-SDR

2020-10-28 Thread Erwin Fiten
I have WeeWX running with the WeatherflowUPD driver. Now I want to add some extra sensors to it, that can be accessed by RTL_SDR (soil temperature & moisture) Is there a way to address both in 1 WeeWX environment, so it uses 2 drivers? Erwin https://weerstationbree.be/ -- You received this mes

[weewx-user] Re: Belchertown: earthquake miles vs km's

2020-10-28 Thread blee...@xs4all.nl
Hoi Arend, Thanks for your efforts. Now changed back to the original file and (of cours) the EQ data is back, as expected in 'mijl'. In the log there is no related error, the only recursive error is a Failed to publish record to WOW. Undermentioned you may find the earthquake section of be

[weewx-user] Re: Weewx + WeatehrFlow + RTL-SDR

2020-10-28 Thread Timothy Buchanan
I think you can use only one driver, and add services to get data from other sources. For example, I use the Flow driver, and GW1000 to add data from Ecowitt sensors. On Wednesday, October 28, 2020 at 3:49:40 AM UTC-6 erwin...@gmail.com wrote: > I have WeeWX running with the WeatherflowUPD driv

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Tom Keffer
This error could happen if a query was made for aggregation periods that do not run midnight-to-midnight, but I don't know why the Belchertown skin would do that. One thing to try: rebuilding the daily summaries. *wee_database --drop-daily* *wee_database --rebuild-daily* -tk On Wed, Oct 28, 202

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Alessandro Del Prete
Done. And restarted weewx. Oct 28 15:32:21 ubuntu weewx[611964] ERROR weewx.cheetahgenerator: Generate failed with exception '' Oct 28 15:32:21 ubuntu weewx[611964] ERROR weewx.cheetahgenerator: Ignoring template /etc/weewx/skins/Seasons/NOAA/NOAA-%Y-%m.txt.tmpl Oct 28 15:32:21 ubuntu weewx

[weewx-user] Re: Version 4.2.0 ready

2020-10-28 Thread Doug Bo
Thanks to Tom & all of the contributors! Time to upgrade! :) Doug B. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com.

[weewx-user] clear database

2020-10-28 Thread Ian Smith
when moving from initial simulator to actual hardware, what's the best way of clearing out all of the simulated readings from the database? Thanks -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Tom Keffer
The only other thing I can think of is that the Belchertown skin is making a query on something other than midnight-to-midnight. We can check that. Please replace your copy of xtypes.py (you should find it in /usr/share/weewx/weewx/xtypes.py) with the attached. It has been instrumented to log the

[weewx-user] Re: clear database

2020-10-28 Thread vince
On Wednesday, October 28, 2020 at 8:29:28 AM UTC-7, Ian Smith wrote: > > when moving from initial simulator to actual hardware, what's the best way > of clearing out all of the simulated readings from the database? > > stop weewx, delete the old db, restart weewx and a clean db will be created -

[weewx-user] Re: Version 4.2.0 ready

2020-10-28 Thread didier....@gmail.com
Hi Tom Update from 4.1.1 to 4.2.0 : no problem Perfect!! Thank's a lot Le mardi 27 octobre 2020 à 13:14:04 UTC+1, tke...@gmail.com a écrit : > Some new features, fixes some bugs. > > See the *Upgrade Guide * for > instructions on how to upgrade. > > CH

[weewx-user] Re: Version 4.2.0 ready

2020-10-28 Thread wfs...@gmail.com
Updated via apt-get update then apt-get upgrade. Kept my current weewx.conf. All is good and working. In comparing the weewx.conf files, it looks like weewx.wxxtypes.StdDelta has been removed from the list of xtype_services. Should I remove it from my copy? Walt On Tuesday, October 27, 20

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Alessandro Del Prete
The full log is here: https://pastebin.com/f62DRnHL Luckily the reporting cycle started almost immediately, I noticed this " Daily summary cannot be used." error : Oct 28 18:17:27 ubuntu weewx[694317] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for repo

[weewx-user] Re: Belchertown: earthquake miles vs km's

2020-10-28 Thread blee...@xs4all.nl
Hallo Arend, Yes, it's working! Just aligning the new line after #25-10.4 solved the problem, manymany thanks! Best regards, Keimpe Op woensdag 28 oktober 2020 om 15:31:29 UTC+1 schreef Arend: > Hi Keimpe, > > I have a suspicion why it didn't work out for you. Copying your code from > your

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Tom Keffer
It looks like the Belchertown skin is asking for aggregations over dates back in 1978. Seeing as how WeeWX wasn't even invented until 2008, you probably have some bad data in there, which is likely causing the problem. What is the earliest timestamp you expect in your database? For purposes of ill

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Alessandro Del Prete
Tom, thanks a lot for the reply, I will try this and report back. Just one question: in the log I see the problem is on the Seasons skin, not Belchertown. Am I missing something? On Wednesday, October 28, 2020 at 9:12:49 PM UTC+1 tke...@gmail.com wrote: > It looks like the Belchertown skin is a

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Alessandro Del Prete
The first timestamp is Oct. 12 2020, here are the top rows of the query (the list is huge). sqlite> select datetime(dateTime, 'unixepoch', 'localtime'), dateTime from archive where dateTime < 1602536552; *1970-01-01 01:01:00|60* 2020-10-12 16:05:00|1602511500 2020-10-12 16:06:00|1602511560 2020-

Re: [weewx-user] Re: Version 4.2.0 ready

2020-10-28 Thread Tom Keffer
The service weewx.wxxtypes.StdDelta is not used in V4.2.0, so it really doesn't matter. However, it is likely to be used in the future, so you might as well leave it in. -tk On Wed, Oct 28, 2020 at 10:11 AM wfs...@gmail.com wrote: > Updated via apt-get update then apt-get upgrade. Kept my cur

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Tom Keffer
It's a very common problem with computers that do not have a real-time clock. The computer reboots, and the clock resets to epoch time zero, which is 1-jan-1970, just like you saw. Do you know whether your computer has an RTC? If not, get one. -tl On Wed, Oct 28, 2020 at 2:30 PM Alessandro Del P

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Tom Keffer
As I look through the driver code for the Tempest, it looks like it gets the timestamp from the hardware. So, there must be an issue with the clock of the Tempest. -tk On Wed, Oct 28, 2020 at 3:01 PM Alessandro Del Prete < alessandro.delpr...@gmail.com> wrote: > It's an Intel NUC7i3BNK. It has R

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Alessandro Del Prete
Can I configure weewx to always use its timestamp instead of the PWS hw? Or getting it from the pws is better? Is there any way I can track this event to make sure it's the Tempest clock? I checked the Tempest right now and I have no errors, the clock is ok. On Wednesday, October 28, 2020 at 1

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Tom Keffer
Yes, you could change the driver to use the PC's timestamp, instead of the Tempest's, but, let me warn you, the Tempest has a bad habit of delaying packets for very long periods of time. See this exchange I had with their supp

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Alessandro Del Prete
I'll read the exchange, thanks. I'm very interested in this problem, I have an ongoing conversation with support because the lightning sensor is not sending data via UDP, I just receive events on the app, but via UDP I received no evt_strike events. I know there's a specific discussion about th

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Alessandro Del Prete
Tom, that was a very interesting discussion with WF. I hope they will follow your advices about the random backoff/frequency hopping. Do you still have that small program you developed to monitor the packets? It would be really useful, I'd like to use it to monitor how it goes here. Thanks agai

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Tom Keffer
I looked around and can't seem to find it. Sorry. On Wed, Oct 28, 2020 at 4:25 PM Alessandro Del Prete < alessandro.delpr...@gmail.com> wrote: > Tom, that was a very interesting discussion with WF. I hope they will > follow your advices about the random backoff/frequency hopping. > > Do you still

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread Alessandro Del Prete
No problem, thanks anyway. Looked really useful for debugging. On Thursday, October 29, 2020 at 12:51:55 AM UTC+1 tke...@gmail.com wrote: > I looked around and can't seem to find it. Sorry. > > On Wed, Oct 28, 2020 at 4:25 PM Alessandro Del Prete < > alessandr...@gmail.com> wrote: > >> Tom, that

Re: [weewx-user] Error Message when generating Archive

2020-10-28 Thread vince
On Wednesday, October 28, 2020 at 4:11:45 PM UTC-7, Alessandro Del Prete wrote: > > I'll read the exchange, thanks. I'm very interested in this problem, I > have an ongoing conversation with support because the lightning sensor is > not sending data via UDP, I just receive events on the app, but

[weewx-user] Re: Weewx and Acurite 5in1 additional sensor data

2020-10-28 Thread K1IW
Just going to ping this one more time in case there is someone out there that has already done this... On Sunday, October 25, 2020 at 5:38:57 PM UTC-4 K1IW wrote: > I have an Acurite 01536 5in1 station. I recently added an additional > temp/humid sensor. The station is showing the additional

[weewx-user] Acurite 5in1 and rtl_sdr

2020-10-28 Thread seano...@gmail.com
Hi, My station has been running weewx + rt_sdr for a year and all is working well. Weewx receives the station data and broadcasts it to windguru. However, there is an occasional problem that happens and i can't figure out what the cause is. All of a sudden, rtl_433 stops receiving from the sens

Re: [weewx-user] MQTT lagging

2020-10-28 Thread T Reid
Greg, I am not ready to declare victory yet, but after restarting my mosquitto broker, I let weewx keep running and overnight the MQTT loop records gradually caught up! Not all at once, but over time you could see the delay shrinking. All day today, the display has been pretty much spot on.

[weewx-user] Belchertown - Don't plot zero values ?

2020-10-28 Thread Tim Tuck
Hi all, I've been playing with chart options to see if I could stop the a chart plotting zero values. The charts don't plot null values but do draw lines along the axis if the field contains a zero. I haven't found a way to stop the zeros being plotted. If anyone knows how, please share.