-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.py
34 lines (28 loc) · 985 Bytes
/
install.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# installer for WMR200 weather station
from weecfg.extension import ExtensionInstaller
def loader():
return WMR200Installer()
class WMR200Installer(ExtensionInstaller):
"""Installer for the Oregon Scientific WMR200"""
def __init__(self):
super(WMR200Installer, self).__init__(
version="3.5.2",
name='wmr200',
description='WeeWX driver for the Oregon Scientific WMR200 station',
author="Chris Manton",
config={
'WMR200': {
'model': 'WMR200',
'user_pc_time': 'True',
'erase_archive': 'False',
'archive_startup': '120',
'archive_threshold': '1512000',
'sensor_status': 'True',
'sensor_map': {
}
}
},
files=[
('bin/user', ['bin/user/wmr200.py']),
]
)