Connection problem with WMR89

55 views
Skip to first unread message

willefg

unread,
Jan 21, 2020, 12:33:42 PM1/21/20
to weewx-user
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.

Thomas Keffer

unread,
Jan 21, 2020, 4:42:53 PM1/21/20
to weewx-user
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

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/905e9569-2ccf-47fb-a2f2-c8e041c934eb%40googlegroups.com.

John Smith

unread,
Jan 21, 2020, 6:42:54 PM1/21/20
to weewx-user
I used to have problems with different usb/serial ports jumping about on boot up. I solved this by using the symlinks in /dev/serial/by-id/
Reply all
Reply to author
Forward
0 new messages