[weewx-user] Issues after weather station downtime

2022-01-10 Thread david_h
Hi  - I had a problem with my Davis Vantage Pro2 where it was not 
transmitting data for about 2 weeks.  After some maintenance it has started 
working again today, but when I get weewx going again, although the current 
weather readings are fine on my weather station website, the reports and 
graphs etc are all as at the date of the weather station failure.  I am 
getting the following errors from weewx in my Rpi syslog file:

DEBUG weewx.manager: Daily summary version is 4.0
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 
'weewx.cheetahgenerator.CheetahGenerator'
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  a float is required
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  Traceback (most recent call last):
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  obj.start()
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  self.run()
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 152, in run
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  ngen = self.generate(gen_dict[section_name], self.gen_ts)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in 
generate
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  ngen += self.generate(section[subsection], gen_ts)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in 
generate
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  ngen += self.generate(section[subsection], gen_ts)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 311, in 
generate
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  default_binding)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 387, in 
_getSearchList
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  searchList += obj.get_extension_list(timespan, db_lookup)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/belchertown.py", line 160, in 
get_extension_list
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  year_outTemp_min_range_max = round( 
self.generator.converter.convert(year_outTemp_min_range_max_tuple)[0], 
outTemp_round )
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  TypeError: a float is required
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: 
  Generator terminated
Jan 10 11:00:30 raspberrypi weewx[1103] INFO weewx.reportengine: Copied 1 
files to /var/www/html/weewx/belchertown

I am using the belchertown skin.

Any ideas as to how I correct this please?

Many thanks

David.

-- 
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/fbf06d8f-2589-44a7-ba86-a9129a240326n%40googlegroups.com.


Re: [weewx-user] Issues after weather station downtime

2022-01-10 Thread Tom Keffer
Most likely this is a problem in the Belchertown skin: it forgot that
values can sometimes be Python None. You'll have to ask the skin author.

There may be other problems (such as a corrupt logger), but the log excerpt
is too short to tell.


On Mon, Jan 10, 2022 at 3:11 AM david_h  wrote:

> Hi  - I had a problem with my Davis Vantage Pro2 where it was not
> transmitting data for about 2 weeks.  After some maintenance it has started
> working again today, but when I get weewx going again, although the current
> weather readings are fine on my weather station website, the reports and
> graphs etc are all as at the date of the weather station failure.  I am
> getting the following errors from weewx in my Rpi syslog file:
>
> DEBUG weewx.manager: Daily summary version is 4.0
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: Caught
> unrecoverable exception in generator
> 'weewx.cheetahgenerator.CheetahGenerator'
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   a float is required
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   Traceback (most recent call last):
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
> File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   obj.start()
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
> File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   self.run()
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 152, in run
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   ngen = self.generate(gen_dict[section_name], self.gen_ts)
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in
> generate
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   ngen += self.generate(section[subsection], gen_ts)
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in
> generate
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   ngen += self.generate(section[subsection], gen_ts)
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 311, in
> generate
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   default_binding)
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 387, in
> _getSearchList
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   searchList += obj.get_extension_list(timespan, db_lookup)
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
> File "/usr/share/weewx/user/belchertown.py", line 160, in
> get_extension_list
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   year_outTemp_min_range_max = round(
> self.generator.converter.convert(year_outTemp_min_range_max_tuple)[0],
> outTemp_round )
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   TypeError: a float is required
> Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:
>   Generator terminated
> Jan 10 11:00:30 raspberrypi weewx[1103] INFO weewx.reportengine: Copied 1
> files to /var/www/html/weewx/belchertown
>
> I am using the belchertown skin.
>
> Any ideas as to how I correct this please?
>
> Many thanks
>
> David.
>
> --
> 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/fbf06d8f-2589-44a7-ba86-a9129a240326n%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/CAPq0zEDFv54Nif6VhchE0FeQAXZSqjm2ZSs2sydU%3DZR0Eo01Og%40mail.gmail.com.


[weewx-user] Re: Problem with additional sensor [SDR]

2022-01-10 Thread kludo
Sorry, was my mistake, here the logfile.

Udo

gjr80 schrieb am Sonntag, 9. Januar 2022 um 20:59:25 UTC+1:

> Impossible to provide any meaningful help without seeing the log: 
> https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#the-system-log
>
> Gary
>
> On Monday, 10 January 2022 at 01:14:25 UTC+10 udo.kl...@gmail.com wrote:
>
>> I have recently successfully set up my weather station with WeeWX. Now I 
>> wanted to add more temperature sensors and thought this would be very easy. 
>> However, I seem to have a thinking error or I am doing something wrong.
>>
>> From the syslog I can see that the two additional sensors are detected 
>> and transmit values. But unfortunately these values are not stored in the 
>> WeeWX database! 
>>
>> Who can help me with this problem?
>>
>

-- 
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/58fea329-a33f-455b-9da9-bdff0db5c777n%40googlegroups.com.


mylog
Description: Binary data


[weewx-user] SDR and Backfill

2022-01-10 Thread Stefanos Kalaitzis
Hi ... I am running weewx with sdr driver without any problem a long time 
now... but i noticed that when we have a power off and and rain falls for 
that period , when it comes up weewx doesn't back fill the amount of rain 

i dont know if weewx stores the last value of rain total so then its easy 
to calculate the missing values or if i must do some changes to weewx.conf 
or sdr.py

thank u in advanced 

-- 
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/62be4272-72c8-4178-9699-a7da440424fan%40googlegroups.com.


[weewx-user] Re: SDR and Backfill

2022-01-10 Thread vince
Where would weewx get the data from ?

If you lose power, your SDR isn't listening to the sensors, so how could 
weewx know what the weather conditions were ?

-- 
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/110716b9-b907-4097-831d-2ee24f2720fen%40googlegroups.com.


[weewx-user] Re: Vanage Pro 2 crashes WeeWx daily

2022-01-10 Thread vince
How is your VP2 connected to the pi ?Are you using some non-Davis 
logger or the like ?

-- 
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/878d3a77-6d33-4e26-a961-7edee700e3een%40googlegroups.com.


[weewx-user] Re: Vanage Pro 2 crashes WeeWx daily

2022-01-10 Thread Timothy Bryan
It's connected via USB to the Davis logger

On Monday, January 10, 2022 at 3:33:08 PM UTC-10 vince wrote:

> How is your VP2 connected to the pi ?Are you using some non-Davis 
> logger or the like ?
>
>

-- 
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/3499e270-2f85-4661-9e39-01a284855fc6n%40googlegroups.com.


Re: [weewx-user] Re: Vanage Pro 2 crashes WeeWx daily

2022-01-10 Thread Tom Keffer
We have seen this a few times. Things to try:

1. Try unplugging the logger, then plugging it back in.

2. If that doesn't work, try purging "modemmanager":


*sudo apt purge modemmanager*

3. If that doesn't work, try clearing the logger memory
.

If that doesn't work, let us know, but this time include more of the log,
and please do not use a screenshot. See the wiki article *Help! Posting to
weewx user
*.

-tk

On Mon, Jan 10, 2022 at 5:41 PM Timothy Bryan  wrote:

> It's connected via USB to the Davis logger
>
> On Monday, January 10, 2022 at 3:33:08 PM UTC-10 vince wrote:
>
>> How is your VP2 connected to the pi ?Are you using some non-Davis
>> logger or the like ?
>>
>> --
> 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/3499e270-2f85-4661-9e39-01a284855fc6n%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/CAPq0zECtPJ1QM1wDnT8Kd%3DE3WmmUhFLDwf-6jfjnzEkjQ5fmxw%40mail.gmail.com.


Re: [weewx-user] Re: Vanage Pro 2 crashes WeeWx daily

2022-01-10 Thread Timothy Bryan
Thank you, Will do. I'll get back to you...

On Monday, January 10, 2022 at 4:08:45 PM UTC-10 tke...@gmail.com wrote:

> We have seen this a few times. Things to try:
>
> 1. Try unplugging the logger, then plugging it back in.
>
> 2. If that doesn't work, try purging "modemmanager":
>
>
> *sudo apt purge modemmanager*
>
> 3. If that doesn't work, try clearing the logger memory 
> . 
>
> If that doesn't work, let us know, but this time include more of the log, 
> and please do not use a screenshot. See the wiki article *Help! Posting 
> to weewx user 
> *.
>
> -tk
>
> On Mon, Jan 10, 2022 at 5:41 PM Timothy Bryan  wrote:
>
>> It's connected via USB to the Davis logger
>>
>> On Monday, January 10, 2022 at 3:33:08 PM UTC-10 vince wrote:
>>
>>> How is your VP2 connected to the pi ?Are you using some non-Davis 
>>> logger or the like ?
>>>
>>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/3499e270-2f85-4661-9e39-01a284855fc6n%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/e3fa74f3-b79c-4b04-8453-dc3fc6e0c20an%40googlegroups.com.


[weewx-user] Re: SDR and Backfill

2022-01-10 Thread Stefanos Kalaitzis
I see your point and i fully understand it but i dont care for other values 
when we have power off except for rain 
For example my station calculate rain from rain total and if for example my 
rain total is 20mm  (weewx is calculating ,20 -20 = 0mm which is right, new 
total - old total) and we have power off ,and for that period 5mm fall , i 
think that the station because has batteries transmits 25mm rain total but 
of course sdr is off   So when weewx start again loop periods and gets 
data from sdr sorry the rain total will be 25mm and if it has saved the 
last value of rain total then it is 25 - 20 = 5 mm 

On Tuesday, January 11, 2022 at 12:06:32 AM UTC+2 vince wrote:

> Where would weewx get the data from ?
>
> If you lose power, your SDR isn't listening to the sensors, so how could 
> weewx know what the weather conditions were ?
>
>

-- 
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/2c012514-bb9c-45fe-affb-e66966e652e2n%40googlegroups.com.


[weewx-user] Weewx Web Server Question from a noob

2022-01-10 Thread Kruse Ludington
1. I have an Ambient Weather WS-2902C already fully configured, sending 
data via it's console on a home network to Ambientweather.net, Wunderground 
and Weathercloud. It has an additional 4th option to send data to 
"Customized" with user-definable related Server IP/Hostname, path, and port.


2. I also have a Raspberry PI 4B 8GB running on a 1TB SSD (instead of a 
MicroSD Card), and I've gotten WeeWx installed on same. The WS-2902C and 
the PI are both on the same network.


As a noob at this - can someone point me in the right direction as far as 
how to get the data from #1  "Customized" into #2 WeeWx on the PI - without 
reinventing the wheel? (Basically just get the Apache 2 that was installed 
as part of WeeWx - listening to "customized" ?)



- Kruse

--
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/17e480f0d08.29af.c5c13ad976ec84a62e2892bf98a0657b%40gmail.com.