Den 12-09-2016 kl. 16:03 skrev mwall:
On Sunday, September 11, 2016 at 11:44:15 AM UTC-4, Allan H wrote:

    Den 11-09-2016 kl. 16:33 skrev Allan:

     > Well, without the resets, it doesn't seem to load here.

    Follow-up:

    I just tried to uncomment line 1562 to get the reset back, and the
    driver immediately started to work again


well that is annoying.  apparently the reset is required on some
systems, but on other systems it causes the driver to fail.

I kind of wonder, what really was changed. In older releases of weewx (2.7, 3.0, 3.1 ) I never had any problems with connection to the station.

I have tried the newer drivers, and 0.21 still doesn't work at all,
unless I uncomment the #reset

This is bad, as I can't be the only PC user running Centos 7.

Now, I don't know anything about Python, but I tried to hack a bit around, to figure out where it fails.
That seems to happen on next line :-)
more specific in the line of that function:

        buf = self._read(0xfc)

Can you somehow try to catch the error happening here, and do the
reset - and retry it ?

I added a lonentry just before and after that line, and the second never shows up in log.


  Allan.

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

Reply via email to