Hi
following up, weewx doesn't stall as the previous log file shows but I am
not sure that the power cycle ability will work.

I have rebuilt my raspberrian stretch SD for the third time and each build
has produced the same result.
for the *jessie* version of weewx start I get
Nov  6 18:44:20 weatherpi weewx[1298]: engine: Debug is 1
Nov  6 18:44:20 weatherpi weewx[1298]: engine: Initializing engine
Nov  6 18:44:20 weatherpi weewx[1298]: engine: Loading station type
FineOffsetUSB (weewx.drivers.fousb)
Nov  6 18:44:20 weatherpi weewx[1298]: fousb: driver version is 1.9
Nov  6 18:44:20 weatherpi weewx[1298]: fousb: power cycling enabled for
port 4 on hub 001:005
Nov  6 18:44:20 weatherpi weewx[1298]: fousb: polling mode is PERIODIC
Nov  6 18:44:20 weatherpi weewx[1298]: fousb: polling interval is 60
*Nov  6 18:44:20 weatherpi weewx[1298]: fousb: found station on USB bus=001
device=006*
Nov  6 18:44:20 weatherpi weewx[1298]: engine: Loading service
weewx.engine.StdTimeSynch
Nov  6 18:44:20 weatherpi systemd[1]: Started LSB: weewx weather system.

for the *stretch* version of weewx start I get
Nov  6 18:23:35 weatherpi weewx[2689]: engine: Debug is 1
Nov  6 18:23:35 weatherpi weewx[2674]: Starting weewx weather system: weewx.
Nov  6 18:23:35 weatherpi weewx[2689]: engine: Initializing engine
Nov  6 18:23:35 weatherpi weewx[2689]: engine: Loading station type
FineOffsetUSB (weewx.drivers.fousb)
Nov  6 18:23:35 weatherpi systemd[1]: Started LSB: weewx weather system.
Nov  6 18:23:36 weatherpi weewx[2689]: fousb: driver version is 1.9
Nov  6 18:23:36 weatherpi weewx[2689]: fousb: power cycling enabled for
port 4 on hub 001:005
Nov  6 18:23:36 weatherpi weewx[2689]: fousb: polling mode is PERIODIC
Nov  6 18:23:36 weatherpi weewx[2689]: fousb: polling interval is 60
*Nov  6 18:23:36 weatherpi weewx[2689]: fousb: found station on USB bus=
device=*
Nov  6 18:23:36 weatherpi weewx[2689]: engine: Loading service
weewx.engine.StdTimeSynch
Nov  6 18:23:36 weatherpi weewx[2689]: engine: Finished loading service
weewx.engine.StdTimeSynch

So what are the implications of the bolded line......is this why mwall usb
testing code has issues on the stretch version and not on jessie version?
will this have consequences for power cycling the usb port when a lockup is
detected????

On Sat, 3 Nov 2018 at 10:07, <[email protected]> wrote:

> Hi
> Learned people I am in need of some assistance in pointing out what I have
> done wrong.
> I have been using a Aercus 3080 and weewx on a raspberry pi with jessie
> for over a 2 years now.
> I use the port switching ability of weewx to overcome the usb lockup issue
> and all is good, apart from electrical storms which cause loss of comms
> between sensors and indoor unit, all outdoor data is lost when this occurs
> but this is not the reason for this post.
> I decided to upgrade to raspberry pi stretch.(cringe)
> I copied the config and database files off system.
> I shutdown the pi, removed the sd card and inserted a brand new sd with
> stretch on it.
> I then proceeded to install weewx, ddns etc all the bits I did for the
> previous build.
> Copy the saved config and database files back in
> So weewx appears to work but stalls sometime later, (see attached)
> The python code for usb testing by Matthew Wall appears to have issues.
> (see attached)
>
> I can shutdown and remove the stretch version sd card and replace it with
> the jessie sd card and weewx appears to recover (old data while I have been
> working on the stretch version) and continues working and the python code
> for usb testing works. I am able to turn the port indicator for the weather
> station on and off.
>
> I hope I have captured some relevant parts of the log and some terminal
> work, unfortunately the log fills with a lot of updating to weather sites.
> Please let me know if any further info is required.
>
> Regards Ian
>
> --
> 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.

Attachment: weewx-start-jessie
Description: Binary data

Attachment: weewx-start-stretch
Description: Binary data

Reply via email to