insert stanza into weewx config during install, not just reconfigure

master
Matthew Wall 6 years ago
parent ed38612d01
commit f79ebe01f5

@ -43,7 +43,7 @@ import weewx.wxformulas
import weeutil.weeutil
DRIVER_NAME = 'netatmo'
DRIVER_VERSION = "0.13"
DRIVER_VERSION = "0.14"
INHG_PER_MBAR = 0.0295299830714
MPH_TO_KPH = 1.60934

@ -1,3 +1,6 @@
0.14 07feb2019
* insert default stanza into weewx configuration file
0.13 20dec2018
* deal with 'dashboard_data' not existing when lost contact with sensors

@ -10,10 +10,19 @@ def loader():
class NetatmoInstaller(ExtensionInstaller):
def __init__(self):
super(NetatmoInstaller, self).__init__(
version="0.13",
version="0.14",
name='netatmo',
description='Driver for netatmo weather stations.',
author="Matthew Wall",
author_email="mwall@users.sourceforge.net",
config={
'netatmo': {
'username': 'INSERT_USERNAME_HERE',
'password': 'INSERT_PASSWORD_HERE',
'client_id': 'INSERT_CLIENT_ID_HERE',
'client_secret': 'INSERT_CLIENT_SECRET_HERE',
'driver': 'user.netatmo',
}
},
files=[('bin/user', ['bin/user/netatmo.py'])]
)

Loading…
Cancel
Save