Ray
It looks as though your station may possibly have locked up, and it may be 
simpler to just start again .....

1. STOP weewx
2. Reset the station by removing and reinserting the batteries
3. resetup the station

4. connect station via usb
5. use wee_config to set the archive interval (it will have been lost when 
the batteries were removed)
6. use wee_config to clear the station memory

7. if you do not have a log window open tail the log in a separate window

8. START weewx and watch the log window looking for errors

9. wait for 'entering main loop' message in log

10. monitor the log for 10 minutes, which should cover 2 archive intervals





On Friday, 8 December 2017 11:28:07 UTC+2, Andrew Milner wrote:

> Ray - SLOW DOWN a little
>
> 1.  The log was displayed correctly when you did tail -f /var/log/syslog - 
> so if you keep that window open the log will keep on being put into that 
> window - no need to use gedit to see the log!!  When you want to stop 
> viewing the log either just close the window or type CTRL/C to return to 
> the command prompt
>
> 2.  The log said weewx was having a problem accessing your weather 
> station, and would try again in 60 seconds - but I do not think you waited 
> 60 seconds to see what happened on the retry!!
>
>
>
> On Friday, 8 December 2017 11:12:41 UTC+2, Ray wrote:
>
>> Tried that, result below :-
>> ray@ray-Aspire-5735:~$ sudo gedit /var/log/syslog 
>> [sudo] password for ray: 
>> ray@ray-Aspire-5735:~$ sudo gedit /var/log/syslog 
>> ray@ray-Aspire-5735:~$ 
>> ie nothing happened...
>>
>> On Friday, 8 December 2017 09:52:00 UTC+1, Glenn McKechnie wrote:
>>>
>>> It appears that you're in your home directory. Unless that's where the 
>>> syslog file is, nothing useful will happen using sudo gedit syslog. 
>>>
>>> Try setting the path to the syslog file... 
>>> sudo gedit /var/log/syslog 
>>>
>>> and that message is probably ignorable. The perils of running GUI 
>>> programs from a terminal - a lot of noise. 
>>>
>>>
>>> Cheers 
>>>  Glenn 
>>>
>>> rorpi - read only raspberry pi & various weewx addons 
>>> https://github.com/glennmckechnie 
>>>
>>>
>>> On 8 December 2017 at 19:30, Ray <[email protected]> wrote: 
>>> > Sorry! Tried again this morning:- 
>>> > ray@ray-Aspire-5735:~$ sudo wee_device --info 
>>> > Using configuration file /etc/weewx/weewx.conf 
>>> > Using FineOffsetUSB driver version 1.9 (weewx.drivers.fousb) 
>>> > Querying the station... 
>>> > Fine Offset station settings: 
>>> >                     local time: 2017.12.08 09:18:11 CET 
>>> >                   polling mode: PERIODIC 
>>> > 
>>> >                   abs_pressure: 1026.6 
>>> >                    current_pos: 27956 
>>> >                   data_changed: 0 
>>> >                     data_count: 140 
>>> >                      date_time: 2017-12-08 09:17 
>>> >                  hum_in_offset: 5897 
>>> >                 hum_out_offset: 2066 
>>> >                             id: 6143 
>>> >                  lux_wm2_coeff: 0 
>>> >                        magic_1: 0x55 
>>> >                        magic_2: 0xaa 
>>> >                          model: None 
>>> >                      rain_coef: 5137 
>>> >                    read_period: 5 
>>> >                   rel_pressure: 1016.5 
>>> >                 temp_in_offset: 5888 
>>> >                temp_out_offset: 0 
>>> >                       timezone: 17 
>>> >                     unknown_01: 0 
>>> >                     unknown_18: 0 
>>> >                        version: 255 
>>> >                      wind_coef: 6417 
>>> >                      wind_mult: 0 
>>> > 
>>> >          max.abs_pressure.date: 2017-12-05 09:56 
>>> >           max.abs_pressure.val: 1034.5 
>>> >              max.dewpoint.date: 2015-01-01 12:00 
>>> >               max.dewpoint.val: 21.5 
>>> >                max.hum_in.date: 2017-11-24 17:54 
>>> >                 max.hum_in.val: 72 
>>> >               max.hum_out.date: 2017-11-23 02:58 
>>> >                max.hum_out.val: 99 
>>> >            max.illuminance.val: 61345.2 
>>> >              max.rain.day.date: 2017-11-25 00:00 
>>> >               max.rain.day.val: 60.3 
>>> >             max.rain.hour.date: 2015-01-01 16:00 
>>> >              max.rain.hour.val: 35.1 
>>> >            max.rain.month.date: 2017-12-01 00:00 
>>> >             max.rain.month.val: 159.3 
>>> >            max.rain.total.date: 2017-12-07 21:53 
>>> > 
>>> >             max.rain.total.val: 176.4 
>>> >             max.rain.week.date: 2017-11-26 00:00 
>>> >              max.rain.week.val: 100.8 
>>> >          max.rel_pressure.date: 2017-12-05 09:56 
>>> >           max.rel_pressure.val: 1024.4 
>>> >               max.temp_in.date: 2015-01-01 12:06 
>>> >                max.temp_in.val: 25.5 
>>> >              max.temp_out.date: 2015-01-01 12:00 
>>> >               max.temp_out.val: 26.3 
>>> >                     max.uv.val: 3 
>>> >              max.wind_ave.date: 2017-11-22 12:25 
>>> >               max.wind_ave.val: 7.1 
>>> >             max.wind_gust.date: 2017-11-22 15:25 
>>> >              max.wind_gust.val: 12.9 
>>> >             max.windchill.date: 2015-01-01 12:00 
>>> >              max.windchill.val: 26.3 
>>> >          min.abs_pressure.date: 2017-11-22 15:42 
>>> >           min.abs_pressure.val: 1001.4 
>>> >              min.dewpoint.date: 2017-12-05 08:30 
>>> >               min.dewpoint.val: 0.8 
>>> >                min.hum_in.date: 2015-01-01 12:04 
>>> >                 min.hum_in.val: 32 
>>> >               min.hum_out.date: 2017-11-14 12:29 
>>> >                min.hum_out.val: 33 
>>> >          min.rel_pressure.date: 2017-11-22 15:42 
>>> >           min.rel_pressure.val: 991.3 
>>> >               min.temp_in.date: 2017-12-06 09:19 
>>> >                min.temp_in.val: 17.6 
>>> >              min.temp_out.date: 2017-12-06 07:27 
>>> >               min.temp_out.val: 2.9 
>>> >             min.windchill.date: 2017-12-06 07:27 
>>> >              min.windchill.val: 2.9 
>>> > 
>>> >       settings_1.pressure_inHg: False 
>>> >        settings_1.pressure_hPa: False 
>>> >          settings_1.temp_out_F: False 
>>> >       settings_1.pressure_mmHg: True 
>>> >             settings_1.rain_in: False 
>>> >           settings_1.temp_in_F: False 
>>> >                settings_1.bit4: False 
>>> >                settings_1.bit3: False 
>>> >            settings_2.wind_bft: False 
>>> >            settings_2.wind_mps: False 
>>> >           settings_2.wind_knot: False 
>>> >                settings_2.bit7: False 
>>> >                settings_2.bit6: False 
>>> >                settings_2.bit5: False 
>>> >           settings_2.wind_kmph: False 
>>> >            settings_2.wind_mph: True 
>>> > 
>>> >            display_1.wind_gust: True 
>>> >        display_1.show_day_name: False 
>>> >            display_1.show_year: True 
>>> >        display_1.time_scale_24: True 
>>> >         display_1.pressure_rel: True 
>>> >           display_1.alarm_time: False 
>>> >             display_1.date_mdy: False 
>>> >           display_1.clock_12hr: False 
>>> >        display_2.temp_out_temp: True 
>>> >            display_2.rain_hour: True 
>>> >           display_2.rain_month: False 
>>> >            display_2.rain_week: False 
>>> >       display_2.temp_out_chill: False 
>>> >             display_2.rain_day: False 
>>> >         display_2.temp_out_dew: False 
>>> >           display_2.rain_total: False 
>>> >       display_3.illuminance_fc: False 
>>> >                 display_3.bit7: False 
>>> >                 display_3.bit6: False 
>>> >                 display_3.bit5: False 
>>> >                 display_3.bit4: False 
>>> >                 display_3.bit3: False 
>>> >                 display_3.bit2: False 
>>> >                 display_3.bit1: False 
>>> > 
>>> >          alarm.abs_pressure.hi: 780.0 
>>> >          alarm.abs_pressure.lo: 720.1 
>>> >              alarm.dewpoint.hi: 10.0 
>>> >              alarm.dewpoint.lo: -10.0 
>>> >                alarm.hum_in.hi: 75 
>>> >                alarm.hum_in.lo: 35 
>>> >               alarm.hum_out.hi: 90 
>>> >               alarm.hum_out.lo: 24 
>>> >              alarm.illuminance: 300000.3 
>>> >                 alarm.rain.day: 150.0 
>>> >                alarm.rain.hour: 3.0 
>>> >          alarm.rel_pressure.hi: 780.0 
>>> >          alarm.rel_pressure.lo: 720.1 
>>> >               alarm.temp_in.hi: 20.0 
>>> >               alarm.temp_in.lo: 0 
>>> >              alarm.temp_out.hi: 34.0 
>>> >              alarm.temp_out.lo: -1.0 
>>> >                     alarm.time: 12:00 
>>> >                       alarm.uv: 7 
>>> >             alarm.wind_ave.bft: 3 
>>> >              alarm.wind_ave.ms: 12.1 
>>> >                 alarm.wind_dir: 0 
>>> >            alarm.wind_gust.bft: 5 
>>> >             alarm.wind_gust.ms: 23.9 
>>> >             alarm.windchill.hi: 20.0 
>>> >             alarm.windchill.lo: 0 
>>> >             alarm_1.hum_out_hi: False 
>>> >              alarm_1.hum_in_lo: False 
>>> >              alarm_1.hum_in_hi: False 
>>> >             alarm_1.hum_out_lo: False 
>>> >                   alarm_1.time: False 
>>> >                   alarm_1.bit3: False 
>>> >               alarm_1.wind_dir: False 
>>> >                   alarm_1.bit0: False 
>>> >               alarm_2.wind_ave: False 
>>> >              alarm_2.wind_gust: False 
>>> >              alarm_2.rain_hour: False 
>>> >        alarm_2.pressure_rel_lo: False 
>>> >        alarm_2.pressure_abs_hi: False 
>>> >               alarm_2.rain_day: False 
>>> >        alarm_2.pressure_rel_hi: False 
>>> >        alarm_2.pressure_abs_lo: False 
>>> >            alarm_3.temp_out_hi: False 
>>> >          alarm_3.wind_chill_lo: False 
>>> >           alarm_3.dew_point_lo: False 
>>> >             alarm_3.temp_in_lo: False 
>>> >          alarm_3.wind_chill_hi: False 
>>> >             alarm_3.temp_in_hi: False 
>>> >            alarm_3.temp_out_lo: False 
>>> >           alarm_3.dew_point_hi: False 
>>> > ray@ray-Aspire-5735:~$ sudo wee_device --clear-memory 
>>> > Using configuration file /etc/weewx/weewx.conf 
>>> > Using FineOffsetUSB driver version 1.9 (weewx.drivers.fousb) 
>>> > Records in memory: 140 
>>> > Clear console memory (y/n)? y 
>>> > Records in memory: 1 
>>> > ray@ray-Aspire-5735:~$ /etc/init.d/weewx stop 
>>> > [ ok ] Stopping weewx (via systemctl): weewx.service. 
>>> > ray@ray-Aspire-5735:~$ /etc/init.d/weewx start 
>>> > [ ok ] Starting weewx (via systemctl): weewx.service. 
>>> > ray@ray-Aspire-5735:~$ sudo gedit syslog 
>>> > 
>>> > ** (gedit:13949): WARNING **: Set document metadata failed: Setting 
>>> > attribute metadata::gedit-position not supported 
>>> > 
>>> > All seemed to go weel up to calling for syslog what's wrong now? 
>>> > 
>>> > 
>>> > On Thursday, 7 December 2017 20:25:22 UTC+1, vince wrote: 
>>> >> 
>>> >> On Thursday, December 7, 2017 at 10:43:39 AM UTC-8, Ray wrote: 
>>> >>> 
>>> >>> My apologies, I forgot the  --clear-memory action, did it with this 
>>> >>> result:- 
>>> >>> 
>>> >>> ray@ray-Aspire-5735:~$ wee_device --clear memory 
>>> >>> 
>>> >>> IOError: memory is not a file 
>>> >>> 
>>> >> 
>>> >> c'mon Ray - look very carefully at what you typed..... 
>>> >> 
>>> >> I think you might be overthinking stuff and making typos at this 
>>> >> point..... 
>>> > 
>>> > -- 
>>> > 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 [email protected]. 
>>> > 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to