[weewx-user] Re: WS2080 not talking USB

2018-04-09 Thread Paul Grunwald
BTW - I called Ambient today and they suggested a hard reset performed by 
holding the up arrow for 30-seconds.  For the moment, it is reporting again.

-- 
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: 'rainBatteryStatus' on TFA Opus

2018-04-09 Thread Luc Heijst
Sorry, I forgot, the signals of the wind and rain sensors are received by the 
outside temp/hygro sensor.
The outside temp/hygro sensor send these signals together with its own values 
to the console.
The wind and rain sensors have a reach of 50 meters (maximum) and the 
temp/hygro sensor 100 meters.
So dashes for the rain value might be a combination of lower voltages on the 
rain sensor and/or lower voltages on the temp/hygro sensor.
Other factors are distance between the sensors and plants and trees which 
influence the communication.

-- 
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: 'rainBatteryStatus' on TFA Opus

2018-04-09 Thread Luc Heijst
When your rain data show dashes on the console you probably won't have 
communication between the rain sensor and the console. 
This could be caused by batteries with lower voltage. The voltage might be high 
enough to not trigger yet the low-battery warning.
You might try to change the location of the rain sensor or console to get a 
better radio reception.

-- 
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: Oregon Scientific WMR300 issues reading outside temperature and humidity into weewx

2018-04-09 Thread Markus Benedikt Biewer
linaro@MyServer:~$ lsusb -v

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize064
  idVendor   0x1d6b Linux Foundation
  idProduct  0x0002 2.0 root hub
  bcdDevice3.04
  iManufacturer   3 
  iProduct2 
  iSerial 1 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   25
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0xe0
  Self Powered
  Remote Wakeup
MaxPower0mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 9 Hub
  bInterfaceSubClass  0 Unused
  bInterfaceProtocol  0 Full speed (or root) hub
  iInterface  0 
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0004  1x 4 bytes
bInterval  12

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize064
  idVendor   0x1d6b Linux Foundation
  idProduct  0x0001 1.1 root hub
  bcdDevice3.04
  iManufacturer   3 
  iProduct2 
  iSerial 1 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   25
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0xe0
  Self Powered
  Remote Wakeup
MaxPower0mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 9 Hub
  bInterfaceSubClass  0 Unused
  bInterfaceProtocol  0 Full speed (or root) hub
  iInterface  0 
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0002  1x 2 bytes
bInterval 255

Bus 003 Device 002: ID 0fde:ca08 Oregon Scientific 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize0 8
  idVendor   0x0fde Oregon Scientific
  idProduct  0xca08 
  bcdDevice0.20
  iManufacturer   1 
  iProduct2 
  iSerial 0 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   41
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0xc0
  Self Powered
MaxPower  100mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  0 No Subclass
  bInterfaceProtocol  0 None
  iInterface  0 
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength  29
 Report Descriptors: 
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  

[weewx-user] Re: 'rainBatteryStatus' on TFA Opus

2018-04-09 Thread Ξ
OK, so I'm not sure what all that means, is there a problem on my end?!

-- 
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: extension to calculate rainstorm info: total rainfall, ending time, duration

2018-04-09 Thread Manuel
Ok Rich now its ok.

El viernes, 6 de abril de 2018, 1:39:41 (UTC+2), Rich Altmaier escribió:
>
> This is my first try at an extension.  This is one file to place in user 
> (/usr/share/weewx/user), with info in the header for the skin.conf and 
> Standard/index.html.tmpl changes to place the data into a report.
> Please do give feedback!
> Thanks, Rich
>
>
>

-- 
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] Save reports to a temporary file system

2018-04-09 Thread John Patrick Hoke
I just rebuilt my pi3 with a WDLabs piDrive ... 256gb of disk goodness ...

Yes it boots off the SD Card but it only reads the SD for boot as its
mounted to /boot ... if I had it to do over again, I'd have done the usb
boot straight to the piDrive without the Noobs/SD but it works ;)

On Mon, Apr 9, 2018 at 11:34 AM, Robert Lorenzini 
wrote:

> After my first failure I switched to a SSD.
>
>
> On 4/8/2018 10:47 PM, Janez Kranjski wrote:
>
> After SD card failure, my idea is to change the system to have less writes
> to SD card.
> Is this (https://github.com/weewx/weewx/wiki/Minimize-writes-on-SD-cards)
> still the simplest solution?
>
> AFAIK, I will have to change path */home/weewx* to */etc/weewx* and use 
> *systemctl
> restart weewx* for restart Weewx.
> Something else?
> --
> 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.
>
>
> --
> 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.
>



-- 
John P. Hoke
j...@hoke.org
https://hoke.org/john /
Random Non-Sequiturs & Photography

-- 
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] Oregon Scientific WMR300 issues reading outside temperature and humidity into weewx

2018-04-09 Thread Markus Benedikt Biewer
Hi there weewx users!

With great help with the WMR300 driver through this supportive user group 
here, I run weewx since beginning of March 2018 on a ubuntu 16.04 on a 
raspberry alike hardware. After a couple of weeks (only) the outside 
temperature and humidity are not correctly shown anymore.

It started with a few intermittent dropouts during the day and became worse 
and worse and now almost no outside temp and humidity are shown anymore.

The LCD of the weather station shows the data without any problems.

This is my servers address:
http://woustviller.com/weather/

I have also configured wunderground and their website shows the same 
problem, check it out:

https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IWOUSTVI3

I really would appreciate any help what the problem could be. I am not 
veery experienced in Linux but I have a ssh access to my server and I am 
happy to post any information here that might help to locate the problem.

Cheers,
Markus

-- 
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] WS2080 not talking USB

2018-04-09 Thread Paul Grunwald
I have a 4 year old WS2080 that I have been using with Weewx.  The USB 
seems to have died.  I have reset the console a couple of time pulling the 
battery.  I have reinstalled Weewx (Debian 9) and I can "sometimes" read 
the config, and I removed a powered hub and connected the console directly 
to the server.  

Questions:

What else can I check?
Any easy fix?
Recommendations for a new unit?

-- 
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] Save reports to a temporary file system

2018-04-09 Thread Robert Lorenzini

After my first failure I switched to a SSD.

On 4/8/2018 10:47 PM, Janez Kranjski wrote:
After SD card failure, my idea is to change the system to have less 
writes to SD card.
Is this 
(https://github.com/weewx/weewx/wiki/Minimize-writes-on-SD-cards) 
still the simplest solution?


AFAIK, I will have to change path //home/weewx/ to //etc/weewx/ and 
use /systemctl restart weewx/ for restart Weewx.

Something else?
--
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.


--
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: Pond.py multi senor watt and temp

2018-04-09 Thread vigilancewx
It was the line length

i had entered a numerical value but the wrong value its working now thanks 
for your help


concentrating of the indentation and syntax i should put more thought into 
the whole thing

thanks again


On Saturday, April 7, 2018 at 9:51:39 PM UTC+1, vigilancewx wrote:
>
> Hello
>
>
> I have a current cost electricity meter connect to a linux computer via a 
> usb cable
>
> On the linux computer is a script that every 20seconds loggs the watt and 
> temp readings from the current cost meter to a txt file and RRD file
>
>
> I can generate the RRD graphs into the weewx public_html directory and 
> display them accrodingly
>
>
> I know that weewx is predominatly for displaying weather data but I would 
> like weewx to handle the watt data, so I have tried to save the readings 
> into the weewx.sdb 
>
>
> I found this version of pond.py from the weewx user groups and it works 
> with no errors
>
>
>
> Following advice given in the weewx help files I can now display the data 
> in the various html files display graphs etc
>
>
> I have one problem, pond.py takes the readings from the first line in the 
> txt file (readings.txt)
>
>
> how do I modify pond.py to take its readings from the last line of the txt 
> file, because file the last line of my txt file holds the latest data
>
>
> thank you for any help
>
>
> import syslog
>
> import weewx
>
> from weewx.wxengine import StdService
>
>
> class PondService(StdService):
>
> def __init__(self, engine, config_dict):
>
> super(PondService, self).__init__(engine, config_dict)
>
> d = config_dict.get('PondService', {})
>
> self.filename = d.get('filename', '/var/www/html/data/reading.txt')
>
> syslog.syslog(syslog.LOG_INFO, "pond: using %s" % self.filename)
>
> self.bind(weewx.NEW_ARCHIVE_RECORD, self.read_file)
>
>
> def read_file(self, event):
>
> try:
>
> with open(self.filename) as f:
>
> #value = f.read()
>
> line = f.readline()
>
> value = line.split(',')
>
> syslog.syslog(syslog.LOG_DEBUG, "pond: found value of %s" % value)
>
> event.record['ccwatt'] = float(value[0])
>
> event.record['cctemp'] = float(value[1])
>
> except Exception, e:
>
> syslog.syslog(syslog.LOG_ERR, "pond: cannot read value: %s" % e)
>

-- 
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: weewix on PI3 FAIL!

2018-04-09 Thread Andrew Milner
1.  it helps to tell us exactly what commands you have given, and with what 
responses
2.  you will find that you will need to have knowledge of basic unix 
commands
3.  make sure you have read the comments in the wiki regarding raspberry 
pi, weewx and weather stations
4.  get weewx running with the simulator before attempting to work with 
your weather station
5.  small steps are much more productive than giant leaps into the unknown!!

weewx outputs quite a lot of useful information when it is started - so 
finding the log has to be your first issue!!

it is  much easier if you have weewx logging to its own logfile (weewx.log) 
- again see the wiki

the wiki and the documentation are your main sources of information

as I said - get weewx working with the simulator first of all

when you post to the forum do try and follow the guidelines - how you 
installed, what commands you have given, what is the result

I'm sure you will succeed and be over the moon with weewx very quickly - 
but there IS a learning curve, and some basic Linux knowledge is 
exceedingly beneficial.

PS  there will be nothing created, no data in www folder until the end of 
the first archive period - the length of which depends on your weewx.conf 
settings and/or your hardware.


On Monday, 9 April 2018 13:40:23 UTC+3, Stuart Smith wrote:

> Hello all and thanks in advance for any help.
>
> Newbie to Linux so hoping you'll be kind ;-)
>
> Have just purchased a Raspberry Pi3 and am wanting to use it with my Fine 
> Offset weather station running weeWX.
>
> I have installed the software but when i use the code to check the logs i 
> see no reporting that i recognise from weewx.
>
> There is also no www folder in the var folder on the Pi.
>
> Thanks again, tried searching for help before posting.
>

-- 
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] weewix on PI3 FAIL!

2018-04-09 Thread 'Stuart Smith' via weewx-user
Hello all and thanks in advance for any help.

Newbie to Linux so hoping you'll be kind ;-)

Have just purchased a Raspberry Pi3 and am wanting to use it with my Fine 
Offset weather station running weeWX.

I have installed the software but when i use the code to check the logs i 
see no reporting that i recognise from weewx.

There is also no www folder in the var folder on the Pi.

Thanks again, tried searching for help before posting.

-- 
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: Looking for help with Oregon Scientific WMR 89

2018-04-09 Thread dani . macias . perea
Hello again,

I have been experimenting with François drivers since last Wednesday and I 
have found a couple of problems:

   - In the driver, the rain packet does not contain the attribute *rain*. 
   I have used the version from WMR100 driver and I think it is working 
   correctly now: _record['rain'] = weewx.wxformulas.calculate_rain( 
   _record['rain_total'], self.last_rain_total) self.last_rain_total = 
   _record['rain_total'].
   - I get some estrange values in the outHumidity sensor: "LOOP value 
   'outHumidity' 252.0 outside limits (0.0, 100.0)". I am not sure if the 
   problem is in my station (I was not able to see the humidity value in the 
   console) or in the driver. Will try to have a closer look in the next days.

Regards,

Daniel


El martes, 3 de abril de 2018, 10:05:15 (UTC+2), dani.mac...@gmail.com 
escribió:
>
> Thank you very much for your efforts doing this driver for WMR89.
> Like Timolavi, my WMR88 died yesterday and I am looking for a replacement 
> with which I can reuse my old sensors. WMR89 seems perfect, despite the 
> driver problem... I am running Weewx in a Raspberry Pi, do you know if your 
> driver will work fine with my hardware? I have read that in Raspberry Pi 
> the baud rate 128000 can not be set 
> 
> .
> Another option would be the WMR86, but I don't see it in the compatible 
> list of hardware  altough in the WMR 100 
> driver appears as compatible... Does somebody has experience with this 
> station?
>
> El miércoles, 14 de marzo de 2018, 21:18:52 (UTC+1), fcauwe escribió:
>>
>> Hi, 
>>
>> I'm happy to hear you got it working, I update my github with you 
>> modification; 
>> https://github.com/fcauwe/weewx 
>>
>> I noticed that the barometer only opdates every 15 minutes, so I have 
>> modified the "archive_interval" to "900", now I always have barometer 
>> data on the WOW site. 
>>
>> François 
>>
>>
>>
>> Timo Helkiö schreef op wo 14-03-2018 om 02:35 [-0700]: 
>> > 
>> > I did get my WMR89 this monday for replacement for 5 years old WMR88, 
>> > which starts to shown some defunction features.   
>> > oon appeared that direct replacement was not possible. I found this 
>> > fcauwe's driver and instruction to modify cp210x-driver. I changed 
>> > cp210x source code from https://www.silabs.com/products/development-t 
>> > ools/software/usb-to-uart-bridge-vcp-drivers to recognize WMR89, 
>> > compiled and installed it. Now loading module creates /dev/ttyUSB0. 
>> > In weewx.conf I added this: 
>> > 
>> > [WMR89] 
>> > # This section is for the Oregon Scientific WMR100 
>> > 
>> > # The driver to use 
>> > #driver = user.wmr89 
>> > driver = weewx.drivers.wmr89 
>> > 
>> > # The station model, e.g., WMR100, WMR100N, WMRS200 
>> > model = WMR89 
>> > 
>> > type = serial 
>> > product_id = 0xca0a 
>> > port = /dev/ttyUSB0 
>> > 
>> > It did not work before I added "type=serial" 
>> > Driver should use these parameters as default. I found this "type"- 
>> > parameter by reading driver code. 
>> > After these, driver worked, but I have two extra temperature 
>> > sensors. 
>> > Temperature packet in driver is like this: 
>> > 
>> > if (packet[2].encode('hex')=='00'): 
>> >   _record = { 
>> > 'humidity_in': hum, 
>> > 'temperature_in': float(temp), 
>> > 'dewpoint_in': dew, 
>> > 'dateTime': int(time.time() + 0.5), 
>> > 'usUnits': weewx.METRIC 
>> >   } 
>> > elif (packet[2].encode('hex')=='01'): 
>> >   _record = { 
>> > 'humidity_out': hum, 
>> > 'temperature_out': float(temp), 
>> > 'dewpoint_out': dew, 
>> > 'dateTime': int(time.time() + 0.5), 
>> > 'usUnits': weewx.METRIC 
>> >   } 
>> > 
>> > I did add this: 
>> > elif (packet[2].encode('hex')=='02'): 
>> >   _record = { 
>> > 'humidity_1': hum, 
>> > 'temperature_1': float(temp), 
>> > 'dewpoint_1': dew, 
>> > 'dateTime': int(time.time() + 0.5), 
>> > 'usUnits': weewx.METRIC 
>> >   } 
>> > elif (packet[2].encode('hex')=='03'): 
>> >   _record = { 
>> > 'humidity_2': hum, 
>> > 'temperature_2': float(temp), 
>> > 'dewpoint_2': dew, 
>> > 'dateTime': int(time.time() + 0.5), 
>> > 'usUnits': weewx.METRIC 
>> >   } 
>> > 
>> > Now everything is working, except barometer data is quite often 
>> > missing. 
>> > 
>> >  Timo 
>> > 
>> > -- 
>> > You received this message because you are subscribed to a topic in 
>> > the Google Groups "weewx-user" group. 
>> > To unsubscribe from this topic, visit https://groups.google.com/d/top 
>> > ic/weewx-user/FxNx6am2MgM/unsubscribe. 
>> > To unsubscribe from this group and all its topics, send 

Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-09 Thread Graham
Using the revised hp1000 driver with delay of 30 and starting weewx manually I 
can see all the records coming through on the terminal. I can see the process 
stopping as the records just stop coming through and the cmd line returns. 
Additionally no further reports are generated. I haven’t tried ps on this 
version of the driver but returning to the cmd line would seem to indicate that 
the process has stopped.

Using the original driver with delay of 30 produced the error after random 
times (ie there was no consistency as to how long the process would run for) 
that started this thread off. Ps did not show any running process for weewx 
following this.

The delay of 15 seems to have resolved the issue from my perspective as it has 
run continuously for 3 days but I must admit I’m puzzled by the  error
Graham

Sent from my iPad

> On 9 Apr 2018, at 03:36, vk3...@gmail.com wrote:
> 
> Mmmm - I'll have a look to see if there is an issue with the delay setting.
> 
> I've had a look at the log file and I can't see any reason why it should just 
> stop like that. I fact, how do you know that it *has* stopped? Can you do a 
> 'ps' or 'top' to se if the process is still running, or if you are using 
> systemd, then do a status on weewx to see what has happened.
> 
> As far as I know (and in like with the original title of this thread) if 
> there was an error then it should have displayed that and then continued. In 
> my (limited) experience, Python code only stops when the program exits 
> normally.
> 
> Susan
> 
>> On Saturday, April 7, 2018 at 6:44:11 PM UTC+10, Graham Seward wrote:
>> Hi Susan
>> Your last comment got me to thinking about the loop delay so I reset 
>> weewx.conf to a loop delay of 15 secs. It has now been running for 14 hours 
>> without a glitch so it looks like I had caused the problem but I’m not sure 
>> how. I will leave it as is.
>> Thanks 
>> Graham 
>> 
>> Sent from my iPad
>> 
>>> On 5 Apr 2018, at 03:37, vk3...@gmail.com wrote:
>>> 
>>> You are not being a nuisance at all, but it is a bit hard to do 'remote 
>>> diagnostics'.
>>> 
>>> The log file would be useful but not the whole thing: just the part a bit 
>>> before you start weewx until just after it has stopped will be enough.
>>> 
>>> Where are you setting the loop delay value and can you show us the 
>>> file/line in question?
>>> 
>>> Susan
>>> 
 On Thursday, April 5, 2018 at 2:20:53 AM UTC+10, Graham Seward wrote:
 Hi Susan
 
 Regret to say that weewx stopped running again without writing anything to 
 syslog, messages or user.log. Syslog shows that when weewx starts it is 
 using the correct version of the driver, so I’m puzzled as to what is 
 going on. Would you like a copy of the syslog file in it’s entirety to see 
 if that throws up any clues?
 
  
 
 I’m going to run weewx again but with your original driver to see what 
 happens this time. Incidentally if I set the loop-delay to 60 secs the 
 program doesn’t run at all – currently set at 30secs.
 
  
 
 Sorry to be a nuisance!
 
 Graham
 
  
 
 From: weewx...@googlegroups.com  On Behalf Of 
 vk3...@gmail.com
 Sent: 04 April 2018 03:50
 To: weewx-user 
 Subject: Re: [weewx-user] Re: weewx crashes with error: unpack requires a 
 string of len 104
 
  
 
 G - too long since I wrote the code and I made a stupid mistake. The 
 two 'loginf' lines should read
 
  
 
 loginf('Bad data: length = {0}'.format(len(rxData)))
 
 loginf('Bad data: "{0}"'.format(rxData))
 
  
 
 I've attached your file with the correction in it.
 
  
 
 Sorry about that.
 
  
 
 Susan
 
  
 
 -- 
 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.
 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+...@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.

-- 
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 

[weewx-user] Re: Save reports to a temporary file system

2018-04-09 Thread Ian Millard
With a RaspberryPi 3 you can boot directly to a usb device cutting out the SD 
card completly. The Raspberry Pi Foundation has a tutorial on how to do 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.