Re: [weewx-user] OutOfSpan: Attempt to merge an accumulator whose timespan is not a subset

2019-11-19 Thread Martin Nielsen
I have now confirmed that changing the interval to a number evenly 
divisible with both 60 and 3600 seems to correct the problem. 

Not sure why.

Thanks for the help Thomas.

søndag den 17. november 2019 kl. 01.33.38 UTC+1 skrev Thomas Keffer:
>
> I must confess to being baffled by this one. I can't replicate it on my 
> machine, so I'm flying blind.
>
> On Sat, Nov 16, 2019 at 11:25 AM Martin Nielsen  > wrote:
>
>> Hi Thomas.
>>
>> Had the same notion so i changed the interval back to 60 this morning. I 
>> did not try this earlier because the userguide only say something about 
>> evenly divisible with 60 - not 3600. But hopefully that will prevent it 
>> from stopping this coming midnight.  It not - i plan to wait another full 
>> day to make sure all readings within that day are with a interval of 60. 
>>
>> Might take a few days.  
>>
>> Thanks for the help so far - will get back when i know more. 
>>
>> /Martin
>>
>> lørdag den 16. november 2019 kl. 15.13.25 UTC+1 skrev Thomas Keffer:
>>>
>>> Still not sure what's going on, but I have my suspicions that the 
>>> problem is your archive interval of 480 seconds. It's not evenly 
>>> divisible into an hour. 
>>>
>>> Could you try something like 600 or 300 seconds?
>>>
>>> As for the TypeError, I have no clue why that occurred. The patch worked 
>>> fine on my machine.
>>>
>>> -tk
>>>
>>> On Fri, Nov 15, 2019 at 8:50 PM Martin Nielsen  
>>> wrote:
>>>
>>>> Same - but different. :/
>>>>
>>>> /Martin
>>>>
>>>> fredag den 15. november 2019 kl. 21.01.40 UTC+1 skrev Thomas Keffer:
>>>>>
>>>>> That is very odd. Let's try this again, but this time with the import 
>>>>> at the top of the file.
>>>>>
>>>>> -tk
>>>>>
>>>>> On Fri, Nov 15, 2019 at 11:32 AM Martin Nielsen  
>>>>> wrote:
>>>>>
>>>>>> Hi Thomas.
>>>>>>
>>>>>> Log attached.
>>>>>>
>>>>>> But I think something is wrong.. "import syslog" is written as output 
>>>>>> !?
>>>>>>
>>>>>> /Martin
>>>>>>
>>>>>> onsdag den 13. november 2019 kl. 23.58.04 UTC+1 skrev Thomas Keffer:
>>>>>>>
>>>>>>> Hello, Martin
>>>>>>>
>>>>>>> Not exactly sure what's going on here. Could you please replace your 
>>>>>>> copy of accum.py with the attached? It has been instrumented to give 
>>>>>>> more 
>>>>>>> information about the error.
>>>>>>>
>>>>>>> You can find it at /usr/share/weewx/weewx/accum.py.
>>>>>>>
>>>>>>> -tk
>>>>>>>
>>>>>>> On Wed, Nov 13, 2019 at 12:01 PM Martin Nielsen  
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> My weewx shuts down shortly after every midnight. It began 
>>>>>>>> immediately after DST changed a few weeks back. But this could just be 
>>>>>>>> a 
>>>>>>>> coincidence.
>>>>>>>>
>>>>>>>> I have monit running to kick if back to action but it is annoying 
>>>>>>>> me - and i have been unable to figure out what is going on..
>>>>>>>>
>>>>>>>> I am running davis vantage pro2 iss with a metostick driver on 
>>>>>>>> raspberry pi.
>>>>>>>>
>>>>>>>> Weewx is installed from a deb repository.
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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...@googlegroups.com.
>>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com
>>>>>>>>  
>>>>>>>>

Re: [weewx-user] OutOfSpan: Attempt to merge an accumulator whose timespan is not a subset

2019-11-16 Thread Martin Nielsen
Hi Thomas.

Had the same notion so i changed the interval back to 60 this morning. I 
did not try this earlier because the userguide only say something about 
evenly divisible with 60 - not 3600. But hopefully that will prevent it 
from stopping this coming midnight.  It not - i plan to wait another full 
day to make sure all readings within that day are with a interval of 60. 

Might take a few days.  

Thanks for the help so far - will get back when i know more. 

/Martin

lørdag den 16. november 2019 kl. 15.13.25 UTC+1 skrev Thomas Keffer:
>
> Still not sure what's going on, but I have my suspicions that the problem 
> is your archive interval of 480 seconds. It's not evenly divisible into an 
> hour. 
>
> Could you try something like 600 or 300 seconds?
>
> As for the TypeError, I have no clue why that occurred. The patch worked 
> fine on my machine.
>
> -tk
>
> On Fri, Nov 15, 2019 at 8:50 PM Martin Nielsen  > wrote:
>
>> Same - but different. :/
>>
>> /Martin
>>
>> fredag den 15. november 2019 kl. 21.01.40 UTC+1 skrev Thomas Keffer:
>>>
>>> That is very odd. Let's try this again, but this time with the import at 
>>> the top of the file.
>>>
>>> -tk
>>>
>>> On Fri, Nov 15, 2019 at 11:32 AM Martin Nielsen  
>>> wrote:
>>>
>>>> Hi Thomas.
>>>>
>>>> Log attached.
>>>>
>>>> But I think something is wrong.. "import syslog" is written as output !?
>>>>
>>>> /Martin
>>>>
>>>> onsdag den 13. november 2019 kl. 23.58.04 UTC+1 skrev Thomas Keffer:
>>>>>
>>>>> Hello, Martin
>>>>>
>>>>> Not exactly sure what's going on here. Could you please replace your 
>>>>> copy of accum.py with the attached? It has been instrumented to give more 
>>>>> information about the error.
>>>>>
>>>>> You can find it at /usr/share/weewx/weewx/accum.py.
>>>>>
>>>>> -tk
>>>>>
>>>>> On Wed, Nov 13, 2019 at 12:01 PM Martin Nielsen  
>>>>> wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> My weewx shuts down shortly after every midnight. It began 
>>>>>> immediately after DST changed a few weeks back. But this could just be a 
>>>>>> coincidence.
>>>>>>
>>>>>> I have monit running to kick if back to action but it is annoying me 
>>>>>> - and i have been unable to figure out what is going on..
>>>>>>
>>>>>> I am running davis vantage pro2 iss with a metostick driver on 
>>>>>> raspberry pi.
>>>>>>
>>>>>> Weewx is installed from a deb repository.
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> 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...@googlegroups.com.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/e3972fbc-e08d-47b9-86ca-90d48a7e6861%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/e3972fbc-e08d-47b9-86ca-90d48a7e6861%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/72521972-3b67-4dee-80e9-0c4bb4b6bbdc%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/72521972-3b67-4dee-80e9-0c4bb4b6bbdc%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/54089e97-ea3c-45f7-aded-89c5c46af56e%40googlegroups.com.


Re: [weewx-user] OutOfSpan: Attempt to merge an accumulator whose timespan is not a subset

2019-11-15 Thread Martin Nielsen
Same - but different. :/

/Martin

fredag den 15. november 2019 kl. 21.01.40 UTC+1 skrev Thomas Keffer:
>
> That is very odd. Let's try this again, but this time with the import at 
> the top of the file.
>
> -tk
>
> On Fri, Nov 15, 2019 at 11:32 AM Martin Nielsen  > wrote:
>
>> Hi Thomas.
>>
>> Log attached.
>>
>> But I think something is wrong.. "import syslog" is written as output !?
>>
>> /Martin
>>
>> onsdag den 13. november 2019 kl. 23.58.04 UTC+1 skrev Thomas Keffer:
>>>
>>> Hello, Martin
>>>
>>> Not exactly sure what's going on here. Could you please replace your 
>>> copy of accum.py with the attached? It has been instrumented to give more 
>>> information about the error.
>>>
>>> You can find it at /usr/share/weewx/weewx/accum.py.
>>>
>>> -tk
>>>
>>> On Wed, Nov 13, 2019 at 12:01 PM Martin Nielsen  
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> My weewx shuts down shortly after every midnight. It began immediately 
>>>> after DST changed a few weeks back. But this could just be a coincidence.
>>>>
>>>> I have monit running to kick if back to action but it is annoying me - 
>>>> and i have been unable to figure out what is going on..
>>>>
>>>> I am running davis vantage pro2 iss with a metostick driver on 
>>>> raspberry pi.
>>>>
>>>> Weewx is installed from a deb repository.
>>>>
>>>>
>>>> -- 
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/e3972fbc-e08d-47b9-86ca-90d48a7e6861%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/e3972fbc-e08d-47b9-86ca-90d48a7e6861%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/72521972-3b67-4dee-80e9-0c4bb4b6bbdc%40googlegroups.com.
Nov 16 00:00:19 raspberrypi rsyslogd:  [origin software="rsyslogd" 
swVersion="8.1901.0" x-pid="369" x-info="https://www.rsyslog.com";] rsyslogd was 
HUPed
Nov 16 00:00:19 raspberrypi systemd[1]: logrotate.service: Succeeded.
Nov 16 00:00:19 raspberrypi systemd[1]: Started Rotate log files.
Nov 16 00:00:20 raspberrypi systemd[1]: man-db.service: Succeeded.
Nov 16 00:00:20 raspberrypi systemd[1]: Started Daily man-db regeneration.
Nov 16 00:00:29 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:00:39 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:00:49 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:00:59 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:10 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:20 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:30 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:40 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:51 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:02:01 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:02:11 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:02:21 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0

Re: [weewx-user] OutOfSpan: Attempt to merge an accumulator whose timespan is not a subset

2019-11-15 Thread Martin Nielsen
Hi Thomas.

Log attached.

But I think something is wrong.. "import syslog" is written as output !?

/Martin

onsdag den 13. november 2019 kl. 23.58.04 UTC+1 skrev Thomas Keffer:
>
> Hello, Martin
>
> Not exactly sure what's going on here. Could you please replace your copy 
> of accum.py with the attached? It has been instrumented to give more 
> information about the error.
>
> You can find it at /usr/share/weewx/weewx/accum.py.
>
> -tk
>
> On Wed, Nov 13, 2019 at 12:01 PM Martin Nielsen  > wrote:
>
>> Hi
>>
>> My weewx shuts down shortly after every midnight. It began immediately 
>> after DST changed a few weeks back. But this could just be a coincidence.
>>
>> I have monit running to kick if back to action but it is annoying me - 
>> and i have been unable to figure out what is going on..
>>
>> I am running davis vantage pro2 iss with a metostick driver on raspberry 
>> pi.
>>
>> Weewx is installed from a deb repository.
>>
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e3972fbc-e08d-47b9-86ca-90d48a7e6861%40googlegroups.com.
Nov 15 00:00:21 raspberrypi rsyslogd:  [origin software="rsyslogd" 
swVersion="8.1901.0" x-pid="369" x-info="https://www.rsyslog.com";] rsyslogd was 
HUPed
Nov 15 00:00:21 raspberrypi systemd[1]: man-db.service: Succeeded.
Nov 15 00:00:21 raspberrypi systemd[1]: Started Daily man-db regeneration.
Nov 15 00:00:21 raspberrypi systemd[1]: logrotate.service: Succeeded.
Nov 15 00:00:21 raspberrypi systemd[1]: Started Rotate log files.
Nov 15 00:00:30 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:00:40 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:00:51 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:01:01 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:01:11 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:01:32 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:01:42 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:01:52 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:02:02 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:02:13 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:02:23 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:02:33 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:02:43 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:02:54 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:03:04 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:03:14 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:03:24 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:03:35 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:03:45 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:03:55 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:04:05 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:04:16 raspberrypi weewx[30910]: meteostick: rain=0.0 rain_count=0 
last_rain_count=72
Nov 15 00:04:16 raspberrypi weewx[30910]: meteostick: data['rxCheckPercent']: 99
Nov 15 00:04:16 raspberrypi weewx[30910]: meteostick: RF summary: 
rf_sensitivity=90 (values in dB)
Nov 15 00:04:16 raspberrypi weewx[30910]: meteostick: Station   max   
min   avg   last  count [missed] [good]
Nov 15 00:04:16 

Re[2]: [weewx-user] corrupt database

2019-11-14 Thread Martin Nielsen
martin@raspberrypi:~ $ sudo echo "PRAGMA integrity_check;" | sudo 
sqlite3 /var/lib/weewx/weedb.sdb

ok
martin@raspberrypi:~ $

-- Original Meddelelse --
Fra: "Thomas Keffer" 
Til: "weewx-user" 
Sendt: 14-11-2019 21:04:48
Emne: Re: [weewx-user] corrupt database

You can do an integrity check on the database. You may have to install 
the command line utility sqlite3 first:



sudo apt-get install sqlite3


then


echo "PRAGMA integrity_check;" | sqlite3 /var/lib/weewx/weedb.sdb


-tk

On Thu, Nov 14, 2019 at 11:51 AM Paolo Benvenuto  
wrote:

Hi! following a power failure I cannot start weewx any more:

 $ sudo service weewx status
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
   Active: active (exited) since Thu 2019-11-14 20:17:02 CET; 13min ago
 Docs: man:systemd-sysv-generator(8)
  Process: 1530 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/SUCCESS)
  Process: 1542 ExecStart=/etc/init.d/weewx start (code=exited, 
status=0/SUCCESS)

nov 14 20:17:02 raspberrypi weewx[1558]: File 
"/usr/share/weewx/weewx/manager.py", line 1157, in __init__
nov 14 20:17:02 raspberrypi weewx[1558]:   super(DaySummaryManager, 
self).__init__(connection, table_name, schema)
nov 14 20:17:02 raspberrypi weewx[1558]: File 
"/usr/share/weewx/weewx/manager.py", line 73, in __init__
nov 14 20:17:02 raspberrypi weewx[1558]:   self.sqlkeys = 
self.connection.columnsOf(self.table_name)
nov 14 20:17:02 raspberrypi weewx[1558]: File 
"/usr/share/weewx/weedb/sqlite.py", line 167, in columnsOf
nov 14 20:17:02 raspberrypi weewx[1558]:   column_list = [row[1] 
for row in self.genSchemaOf(table)]
nov 14 20:17:02 raspberrypi weewx[1558]: File 
"/usr/share/weewx/weedb/sqlite.py", line 156, in genSchemaOf
nov 14 20:17:02 raspberrypi weewx[1558]:   for row in 
self.connection.execute("""PRAGMA table_info(%s);""" % table):
nov 14 20:17:02 raspberrypi weewx[1558]:   DatabaseError: malformed 
database schema (?)
nov 14 20:17:02 raspberrypi weewx[1558]:   Exiting.

The sqlite db seems corrupted. Any hint?


--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/90ea9a7b-01aa-48e8-96c1-f660d0e5d951%40googlegroups.com 
.


--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBTX15hCEu8g8-OGUS2-qsoJGwpD3-%2BnOg73cvtNi1NWQ%40mail.gmail.com 
.


--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/em180a6958-41db-4aaf-bd61-67714f14f9f8%40desktop-sudekda.


Re: [weewx-user] OutOfSpan: Attempt to merge an accumulator whose timespan is not a subset

2019-11-14 Thread Martin Nielsen
Hi Thomas.

Thank you very much. I have just uploaded the script now.

Looking in to the result tomorrow.

/Martin

onsdag den 13. november 2019 kl. 23.58.04 UTC+1 skrev Thomas Keffer:
>
> Hello, Martin
>
> Not exactly sure what's going on here. Could you please replace your copy 
> of accum.py with the attached? It has been instrumented to give more 
> information about the error.
>
> You can find it at /usr/share/weewx/weewx/accum.py.
>
> -tk
>
> On Wed, Nov 13, 2019 at 12:01 PM Martin Nielsen  > wrote:
>
>> Hi
>>
>> My weewx shuts down shortly after every midnight. It began immediately 
>> after DST changed a few weeks back. But this could just be a coincidence.
>>
>> I have monit running to kick if back to action but it is annoying me - 
>> and i have been unable to figure out what is going on..
>>
>> I am running davis vantage pro2 iss with a metostick driver on raspberry 
>> pi.
>>
>> Weewx is installed from a deb repository.
>>
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ff18a4a5-c596-4f57-b325-97262adef5c0%40googlegroups.com.


[weewx-user] OutOfSpan: Attempt to merge an accumulator whose timespan is not a subset

2019-11-13 Thread Martin Nielsen
Hi

My weewx shuts down shortly after every midnight. It began immediately 
after DST changed a few weeks back. But this could just be a coincidence.

I have monit running to kick if back to action but it is annoying me - and 
i have been unable to figure out what is going on..

I am running davis vantage pro2 iss with a metostick driver on raspberry pi.

Weewx is installed from a deb repository.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2019 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 3.9.2

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = Grønfeld

# Latitude and longitude in decimal degrees
latitude = 56.253601
longitude = 10.553744

# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 33, meter

# Set to type of station hardware. There must be a corresponding stanza
# in this file with a 'driver' parameter indicating the driver to be used.
station_type = Meteostick

# If you have a website, you may specify an URL
#station_url = http://www.example.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 0

##

[Meteostick]
# This section is for the Meteostick USB receiver.

# The serial port to which the meteostick is attached, e.g., /dev/ttyS0
port = /dev/ttyUSB0

# Radio frequency to use between USB transceiver and console: US, EU or AU
# US uses 915 MHz
# EU uses 868.3 MHz
# AU uses 915 MHz but has different frequency hopping values than US
transceiver_frequency = EU

# A channel has value 0-8 where 0 indicates not present
# The channel of the Vantage Vue, Pro, or Pro2 ISS
iss_channel = 1
# Additional channels apply only to Vantage Pro or Pro2
anemometer_channel = 0
leaf_soil_channel = 0
temp_hum_1_channel = 0
temp_hum_2_channel = 0

# Rain bucket type: 0 is 0.01 inch per tip, 1 is 0.2 mm per tip
rain_bucket_type = 1

# Print debug messages
#  0=no logging; 1=minimum logging; 2=normal logging; 3=detailed logging
debug_parse = 0
debug_serial = 0
debug_rain = 3
debug_rf_sensitivity = 3

# The driver to use
driver = user.meteostick

##

[Simulator]
# This section is for the weewx weather station simulator

# The time (in seconds) between LOOP packets.
loop_interval = 2.5

# The simulator mode can be either 'simulator' or 'generator'.
# Real-time simulator. Sleep between each LOOP packet.
mode = simulator
# Generator.  Emit LOOP packets as fast as possible (useful for testing).
#mode = generator

# The start time. Format is -mm-ddTHH:MM. If not specified, the default 
# is to use the present time.
#start = 2011-01-01T00:00

# The driver to use:
driver = weewx.drivers.simulator

##

#   This section is for uploading data to Internet sites

[StdRESTful]

[[StationRegistry]]
# To register this weather station with weewx, set this to true
register_this_station = false

[[AWEKAS]]
# This section is for configuring posts to AWEKAS.

# If you wish to do this, set the option 'enable' to true,
# and specify a username and password.
# To guard against parsing errors, put the password in quotes.
enable = false
username = replace_me
password = replace_me

[[CW