From 213dcade9dcd55c86443031dab003a48cdaa97f1 Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Mon, 4 Jan 2021 11:41:12 -0800 Subject: [PATCH] Copied udev rules over. --- bin/user/wmr200.py | 2 +- changelog | 3 +++ install.py | 2 +- util/udev/rules.d/wmr200.rules | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 util/udev/rules.d/wmr200.rules diff --git a/bin/user/wmr200.py b/bin/user/wmr200.py index eb1943c..0a3064a 100644 --- a/bin/user/wmr200.py +++ b/bin/user/wmr200.py @@ -50,7 +50,7 @@ import weeutil.weeutil DRIVER_NAME = 'WMR200' -DRIVER_VERSION = "3.5.0" +DRIVER_VERSION = "3.5.1" log = logging.getLogger(__name__) diff --git a/changelog b/changelog index d11d3d4..02cf9d3 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,6 @@ +3.5.1 04jan21 +* Copied udev rules over. + 3.5.0 15dec20 * WMR200 driver split off of the mainstream WeeWX distribution, and made into a separate, unsupported, install. diff --git a/install.py b/install.py index b8a942f..98463c7 100644 --- a/install.py +++ b/install.py @@ -12,7 +12,7 @@ class WMR200Installer(ExtensionInstaller): def __init__(self): super(WMR200Installer, self).__init__( - version="3.5.0", + version="3.5.1", name='wmr200', description='WeeWX driver for the Oregon Scientific WMR200 station', author="Chris Manton", diff --git a/util/udev/rules.d/wmr200.rules b/util/udev/rules.d/wmr200.rules new file mode 100644 index 0000000..c311dc6 --- /dev/null +++ b/util/udev/rules.d/wmr200.rules @@ -0,0 +1,2 @@ +# make the oregon scientific wmr200 connected via usb accessible to non-root +SUBSYSTEM=="usb", ATTRS{idVendor}=="0FDE", ATTRS{idProduct}=="CA01", MODE="0666"