Re: [weewx-user] Re: No updates since 2am start of British Summer Time

2019-04-02 Thread hindleydj
I had the same problem, but only noticed it today.  I used the solution 
suggested here, which correctly reset the system, so many thanks for the 
suggestion.  However, my NOAA reports are missing 1 April - which is 
strange, as I would presume that data would have been in the logger.  I 
also got the following errors when I did the wee_device dump command:

root@raspberrypi:/home/pi# wee_device --dump
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.1.1 (weewx.drivers.vantage)
Proceeding will dump all data in the logger.
Are you sure you want to proceed (y/n)? y
Starting dump ...
 Traceback (most recent call last): 2019-03-25 05:10:00 GMT (1553490600)
  File "/usr/bin/wee_device", line 66, in 
main()
  File "/usr/bin/wee_device", line 62, in main
device.configure(config_dict)
  File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure
self.do_options(options, parser, config_dict, prompt)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2016, in do_options
self.dump_logger(station, config_dict, options.noprompt)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2616, in 
dump_logger
for record in converted_generator:
  File "/usr/share/weewx/weewx/units.py", line 1247, in next
_record = self.input_generator.next()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 659, in 
genArchiveDump
_page = self.port.get_data_with_crc16(267, prompt=_ack, 
max_tries=self.max_tries)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 206, in 
get_data_with_crc16
raise weewx.CRCError("Unable to pass CRC16 check while getting data")
weewx.CRCError: Unable to pass CRC16 check while getting data


I didn't do the wee_device clear, just in case I am able to get back the 
missing 1 April data from the logger.

Any ideas on how I get back the missing 1 April data from the logger?

Thanks

David.



On Tuesday, 2 April 2019 12:21:24 UTC+1, Phil Owers wrote:
>
> As an update, my second rpi although it failed clear memory and dump 
> commands must have done some good as it started working again shortly after 
> i did the dump command. Phil O
>
> On Mon, 1 Apr 2019, 16:55 Phil Green, > 
> wrote:
>
>> Hi
>> Why do you need to do a ‘dump’ command when you do the clear-memory?
>>
>> Yes would be interested in a cron script. 
>> I presume the same one to be run twice a year when the clocks change 
>> forwards & backwards?
>> Regards
>> Phil
>>
>> -- 
>> 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 .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Showing message to weather website users when stopped working

2019-02-28 Thread hindleydj
I use weewx on a Raspberry pi and post my results to my own public weather 
station website (www.ashteadweather.com) with the excellent belchertown 
skin.  It all works very nicely most of the time, but now and again, 
something goes wrong and the Raspberry pi crashes and weewx stops working - 
then my weather website shows out of date results until I notice this and 
restart the pi and weewx - then all fine again.  Has anyone got any tips 
for tracking these problems proactively so as to minimise the downtime 
(rather than waiting until I happen to notice the problem) and perhaps 
getting weewx to show a holding message on the website until the problem is 
corrected?

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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-11-12 Thread hindleydj
The above change does not fix the records problem, but uploading latest 
belchertown.py, skin.conf and index.html.tmpl (from records folder) does.  
See latest comments 
in https://github.com/poblabs/weewx-belchertown/issues/8 for further 
details.

On Saturday, 10 November 2018 14:03:31 UTC, hind...@gmail.com wrote:
>
> Many thanks for the tip.  I tried it, but so far it hasn't worked; the 
> records have the same errors as before.  Do I have to wait a while to allow 
> the records to be recalculated?  I am a bit puzzled by how a change to code 
> whose name appears to relate to charts can fix a numerical records page, 
> but maybe there is some dependency of the records calculation that means 
> this makes sense.
>
> On Saturday, 10 November 2018 13:30:33 UTC, WILWetter25 wrote:
>
> or download this file in the attachment
>
> Am Donnerstag, 8. November 2018 16:18:23 UTC+1 schrieb hind...@gmail.com:
>
> Yes, but from what I can see, no solution has been suggested for the 
> records problem, except maybe manually adjusting the unit conversion code 
> in the records python code - has anyone done that and if so what changes 
> are needed?
>
> On Thursday, 8 November 2018 11:23:33 UTC, Praveen Chandrasekaran wrote:
>
> Issue already exists for this:
>
> ...

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-11-10 Thread hindleydj
Many thanks for the tip.  I tried it, but so far it hasn't worked; the 
records have the same errors as before.  Do I have to wait a while to allow 
the records to be recalculated?  I am a bit puzzled by how a change to code 
whose name appears to relate to charts can fix a numerical records page, 
but maybe there is some dependency of the records calculation that means 
this makes sense.

On Saturday, 10 November 2018 13:30:33 UTC, WILWetter25 wrote:
>
> or download this file in the attachment
>
> Am Donnerstag, 8. November 2018 16:18:23 UTC+1 schrieb hind...@gmail.com:
>>
>> Yes, but from what I can see, no solution has been suggested for the 
>> records problem, except maybe manually adjusting the unit conversion code 
>> in the records python code - has anyone done that and if so what changes 
>> are needed?
>>
>> On Thursday, 8 November 2018 11:23:33 UTC, Praveen Chandrasekaran wrote:
>>
>> Issue already exists for this:
>>
>> https://github.com/poblabs/weewx-belchertown/issues/8
>>
>>
>> On Thu, 8 Nov 2018 at 16:11,  wrote:
>>
>> I have been using this skin with MQTT extension for a while now, without 
>> any problems, and think it is excellent.  However, since the initial 
>> installation the records page shows some very strange anomalies. See 
>> attached png file - which, for example, has odd max temperature range and 
>> rain records.  Has anyone else seen similar issues and worked out how to 
>> solve them?  Perhaps something to do with units, although other records 
>> such as min and max temperature are correct?  I have 
>>
>> ...
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-11-08 Thread hindleydj
Yes, but from what I can see, no solution has been suggested for the 
records problem, except maybe manually adjusting the unit conversion code 
in the records python code - has anyone done that and if so what changes 
are needed?

On Thursday, 8 November 2018 11:23:33 UTC, Praveen Chandrasekaran wrote:
>
> Issue already exists for this:
>
> https://github.com/poblabs/weewx-belchertown/issues/8
>
>
> On Thu, 8 Nov 2018 at 16:11, > wrote:
>
> I have been using this skin with MQTT extension for a while now, without 
> any problems, and think it is excellent.  However, since the initial 
> installation the records page shows some very strange anomalies. See 
> attached png file - which, for example, has odd max temperature range and 
> rain records.  Has anyone else seen similar issues and worked out how to 
> solve them?  Perhaps something to do with units, although other records 
> such as min and max temperature are correct?  I have the following units 
> set:
>
> *weewx.conf*
>
>  - MQTT  unit_system = METRICWX (if I use METRIC the current day's rain is 
> wrongly divided by 10, as my rain is shown in mm)
>
>  - [StdConvert] target_unit = US
>
>  -  [StdReport] 
>skin = Belchertown
> [[[Units]]]
> Groups
> group_altitude = meter
> group_speed2 = mile_per_hour2
> group_pressure = hPa
> group_rain = mm
> group_rainrate = mm_per_hour
> group_temperature = degree_C
> group_degree_day = degree_C_day
> group_speed = mile_per_hour
>
> * Belchertown skin.conf:*
>
> [Units]
> # This section is for managing the selection and formatting of units.
>
> [[Groups]]
> # For each group of measurements, this section sets what units to
> # use for it.
> # NB: The unit is always in the singular. I.e., 'mile_per_hour',
> # NOT 'miles_per_hour'
>
> group_altitude = meter # Options are 'foot' or 
> 'meter'
> group_degree_day   = degree_C_day # Options are 
> 'degree_F_day' or 'degree_C_day'
> group_direction= degree_compass
> group_moisture = centibar
> group_percent  = percent
> group_pressure = hPa # Options are 'inHg', 
> 'mmHg', 'mbar', or 'hPa'
> group_radiation= watt_per_meter_squared
> group_rain = mm # Options are 'inch', 
> 'cm', or 'mm'
> group_rainrate = mm_per_hour# Options are 
> 'inch_per_hour', 'c
>
> ...

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Belchertown skin for weewx now available!

2018-11-08 Thread hindleydj
I have been using this skin with MQTT extension for a while now, without 
any problems, and think it is excellent.  However, since the initial 
installation the records page shows some very strange anomalies. See 
attached png file - which, for example, has odd max temperature range and 
rain records.  Has anyone else seen similar issues and worked out how to 
solve them?  Perhaps something to do with units, although other records 
such as min and max temperature are correct?  I have the following units 
set:

*weewx.conf*

 - MQTT  unit_system = METRICWX (if I use METRIC the current day's rain is 
wrongly divided by 10, as my rain is shown in mm)

 - [StdConvert] target_unit = US

 -  [StdReport] 
   skin = Belchertown
[[[Units]]]
Groups
group_altitude = meter
group_speed2 = mile_per_hour2
group_pressure = hPa
group_rain = mm
group_rainrate = mm_per_hour
group_temperature = degree_C
group_degree_day = degree_C_day
group_speed = mile_per_hour

* Belchertown skin.conf:*

[Units]
# This section is for managing the selection and formatting of units.

[[Groups]]
# For each group of measurements, this section sets what units to
# use for it.
# NB: The unit is always in the singular. I.e., 'mile_per_hour',
# NOT 'miles_per_hour'

group_altitude = meter # Options are 'foot' or 
'meter'
group_degree_day   = degree_C_day # Options are 
'degree_F_day' or 'degree_C_day'
group_direction= degree_compass
group_moisture = centibar
group_percent  = percent
group_pressure = hPa # Options are 'inHg', 
'mmHg', 'mbar', or 'hPa'
group_radiation= watt_per_meter_squared
group_rain = mm # Options are 'inch', 'cm', 
or 'mm'
group_rainrate = mm_per_hour# Options are 
'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
group_speed= mile_per_hour# Options are 
'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
group_speed2   = mile_per_hour2   # Options are 
'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
group_temperature  = degree_C # Options are 'degree_F' 
or 'degree_C'
group_uv   = uv_index
group_volt = volt



On Monday, 5 November 2018 19:06:26 UTC, Jonis Maurin Ceará wrote:
>
> Pat, tks for this great skin! 
>
> Just one question: do you have any plans to include option to add an 
> custom html/code on main page and maybe tranlations?
> If not, I'll modify mine to include my webcam and maybe 
> translate...but if you have plan's, I don't want to broke default code 
> and can't update in the future.
>
> Tks!
>
>
>
> Em terça-feira, 21 de agosto de 2018 15:45:13 UTC-3, Pat escreveu:
>
> The Belchertown skin for weewx is now available. This skin is modeled 
> after https://belchertownweather.com 
>
> The skin features
>
>- Real time streaming updates on the front page without needing to 
>reload the site (weewx-mqtt extension required)
>- Forecast data updated every hour without needing to reload (a free 
>DarkSky API key required)
>- Information on your closest Earthquake updated automatically every 3 
>hours
>- Weather station observation graphs which update without needing to 
>reload
>- Weather records for the current year, and for all time
>- A mobile and iPad ready display. You could use an iPad as a "2nd 
>console". 
>
> There are dozens of options to configure within the skin. Please view the 
> readme on GitHub  for a 
> detailed explanation. 
>
> The GitHub page: https://github.com/poblabs/weewx-belchertown
>
> Direct download of v0.1: 
>
> ...

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Firewall settings - using ufw on a Raspberry pi

2018-10-23 Thread hindleydj
Hi

Does anyone know what firewall settings need to be enabled to allow weewx 
to work fully?  I am using a Raspberry Pi (Stretch) with weewx Belchertown 
skin (including MQTT broker on another server) and uploading files using 
SFTP to my weather website. My firewall of choice is the standard Linux 
"ufw" one.

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.
For more options, visit https://groups.google.com/d/optout.