ad 1)
after stopping service and a reboot

pi@wetterraspi:~ $ wee_device --clear-memory
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.1.1 (weewx.drivers.vantage)
Traceback (most recent call last):
  File "/usr/bin/wee_device", line 66, in <module>
    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 1972, in do_options
    station = Vantage(**config_dict[DRIVER_NAME])
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 488, in __init__
    self._setup()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1284, in _setup
    self.hardware_type = self._determine_hardware()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1265, in 
_determine_hardware
    self.port.send_data(b"WRD\x12\x4d\n")
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 108, in send_data
    _resp = self.read()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 256, in read
    _buffer = self.serial_port.read(chars)
  File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 453, 
in read
    buf = os.read(self.fd, size-len(read))
OSError: [Errno 11] Resource temporarily unavailable

ok, so a second try

pi@wetterraspi:~ $ wee_device --clear-memory
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.1.1 (weewx.drivers.vantage)
Unable to wake up console... sleeping
Unable to wake up console... retrying
Traceback (most recent call last):
  File "/usr/bin/wee_device", line 66, in <module>
    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 1972, in do_options
    station = Vantage(**config_dict[DRIVER_NAME])
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 488, in __init__
    self._setup()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1284, in _setup
    self.hardware_type = self._determine_hardware()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1265, in 
_determine_hardware
    self.port.send_data(b"WRD\x12\x4d\n")
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 108, in send_data
    _resp = self.read()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 256, in read
    _buffer = self.serial_port.read(chars)
  File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 453, 
in read
    buf = os.read(self.fd, size-len(read))
OSError: [Errno 11] Resource temporarily unavailable

i have no clue, why this happens...
here´s the log after clearing memory

Jun 23 19:01:28 wetterraspi weewx[871]: vantage: Requesting 200 LOOP packets.
Jun 23 19:01:32 wetterraspi weewx[871]: vantage: Retry  #0 failed
Jun 23 19:01:32 wetterraspi weewx[871]: vantage: Gentle wake up of console 
successful
Jun 23 19:05:15 wetterraspi weewx[871]: vantage: Getting archive packets since 
2019-06-23 18:45:00 CEST (1561308300)
Jun 23 19:05:15 wetterraspi weewx[871]: vantage: Gentle wake up of console 
successful
Jun 23 19:05:15 wetterraspi weewx[871]: vantage: Retrieving 1 page(s); starting 
index= 0
Jun 23 19:05:15 wetterraspi weewx[871]: vantage: Empty record page 0; index 3
Jun 23 19:05:15 wetterraspi weewx[871]: reportengine: Running reports for 
latest time in the database.
Jun 23 19:05:15 wetterraspi weewx[871]: vantage: Requesting 200 LOOP packets.
Jun 23 19:05:15 wetterraspi weewx[871]: reportengine: Running report 
'SeasonsReport'
Jun 23 19:05:15 wetterraspi weewx[871]: vantage: Gentle wake up of console 
successful
Jun 23 19:05:15 wetterraspi weewx[871]: reportengine: Found configuration file 
/etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Jun 23 19:05:15 wetterraspi weewx[871]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Jun 23 19:05:15 wetterraspi weewx[871]: manager: Daily summary version is 2.0
Jun 23 19:05:17 wetterraspi weewx[871]: manager: Daily summary version is 2.0
Jun 23 19:05:19 wetterraspi weewx[871]: reportengine: Report 'SmartphoneReport' 
not enabled. Skipping.
Jun 23 19:05:19 wetterraspi weewx[871]: reportengine: Report 'MobileReport' not 
enabled. Skipping.
Jun 23 19:05:19 wetterraspi weewx[871]: reportengine: Report 'StandardReport' 
not enabled. Skipping.
Jun 23 19:05:19 wetterraspi weewx[871]: reportengine: Report 'FTP' not enabled. 
Skipping.
Jun 23 19:05:19 wetterraspi weewx[871]: reportengine: Report 'RSYNC' not 
enabled. Skipping.
Jun 23 19:10:15 wetterraspi weewx[871]: vantage: Getting archive packets since 
2019-06-23 18:45:00 CEST (1561308300)
Jun 23 19:10:15 wetterraspi weewx[871]: vantage: Gentle wake up of console 
successful
Jun 23 19:10:15 wetterraspi weewx[871]: vantage: Retrieving 1 page(s); starting 
index= 0
Jun 23 19:10:15 wetterraspi weewx[871]: vantage: Empty record page 0; index 4
Jun 23 19:10:15 wetterraspi weewx[871]: reportengine: Running reports for 
latest time in the database.
Jun 23 19:10:15 wetterraspi weewx[871]: vantage: Requesting 200 LOOP packets.
Jun 23 19:10:15 wetterraspi weewx[871]: reportengine: Running report 
'SeasonsReport'
Jun 23 19:10:15 wetterraspi weewx[871]: vantage: Gentle wake up of console 
successful
Jun 23 19:10:15 wetterraspi weewx[871]: reportengine: Found configuration file 
/etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Jun 23 19:10:15 wetterraspi weewx[871]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Jun 23 19:10:15 wetterraspi weewx[871]: manager: Daily summary version is 2.0
Jun 23 19:10:18 wetterraspi weewx[871]: manager: Daily summary version is 2.0
Jun 23 19:10:19 wetterraspi weewx[871]: reportengine: Report 'SmartphoneReport' 
not enabled. Skipping.
Jun 23 19:10:19 wetterraspi weewx[871]: reportengine: Report 'MobileReport' not 
enabled. Skipping.
Jun 23 19:10:19 wetterraspi weewx[871]: reportengine: Report 'StandardReport' 
not enabled. Skipping.
Jun 23 19:10:19 wetterraspi weewx[871]: reportengine: Report 'FTP' not enabled. 
Skipping.
Jun 23 19:10:19 wetterraspi weewx[871]: reportengine: Report 'RSYNC' not 
enabled. Skipping.


ad 2) i´ve no clue why this has become an issue. as mentioned @ 3.8 there 
where no issues. i always edited the .conf with an text editor. because i´m 
not a natural born linux-man my experienice is limited ;-) should i edit in 
another way?

thx thomas!

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9a5e5649-de04-4d22-994f-416fa83cad29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to