I'm not familiar with this driver (it's not part of WeeWX), but if it
behaves like other serial drivers, it's possible that the operating system
changed ports on you. That's pretty common when a device experiences a
power failure. You need to make sure that WMR89 is on the port you think it
is on.

Try stopping WeeWX, then unplugging the WMR89, then plugging it back in.
Run the command 'dmesg'. It will tell you which port the kernel used when
mounting the device. That's the one you want.

-tk

On Tue, Jan 21, 2020 at 9:33 AM willefg <[email protected]> wrote:

> Hi,
>
> I had Weewx 3.9.2 running on a Raspberrypi for some time without any
> issues (that I couldn't resolve). Until now, that is. After a power outage
> the WMR89 is no longer recognized. Weewx Status command reports following
>
> ● weewx.service - LSB: weewx weather system
>    Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
>    Active: active (exited) since Tue 2020-01-21 17:58:59 CET; 28min ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 574 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/
> SUCCESS)
>   Process: 629 ExecStart=/etc/init.d/weewx start (code=exited, status=0/
> SUCCESS)
>    CGroup: /system.slice/weewx.service
>
> jan 21 17:58:59 raspberrypi systemd[1]: Started LSB: weewx weather system.
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Using configuration file /
> etc/weewx/weewx.conf
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Debug is 3
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Initializing engine
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Loading station type
> WMR89 (weewx.drivers.wmr89)
> jan 21 17:58:59 raspberrypi weewx[644]: wmr89: driver version is 0.1.1
> jan 21 17:58:59 raspberrypi weewx[644]: wmr89: sensor map is {
> 'yesterdayRain': 'rain_yesterday', 'extraTemp8': 'temperature_8',
> 'outHumidity': 'humidity_out', 'extraHum
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Import of driver failed:
> [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Bestand of map
> bestaat niet: '/dev/ttyUSB
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Unable to load driver: [
> Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Bestand of map
> bestaat niet: '/dev/ttyUSB0'
> jan 21 17:58:59 raspberrypi weewx[644]:     ****  Exiting...
>
> I only have the WMR89 connected to the RPi, no other USB devices.
>
> Please point me in the right direction.
>
> Thanks.
>
> --
> 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/905e9569-2ccf-47fb-a2f2-c8e041c934eb%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/905e9569-2ccf-47fb-a2f2-c8e041c934eb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEBMQ1BuiZkOvNJfdEdOrJrT8HcFtgve_wT1booWh23yKA%40mail.gmail.com.

Reply via email to