Skip to content

Commit

Permalink
insert stanza into weewx config during install, not just reconfigure
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwall committed Feb 7, 2019
1 parent ed38612 commit f79ebe0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/user/netatmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import weeutil.weeutil

DRIVER_NAME = 'netatmo'
DRIVER_VERSION = "0.13"
DRIVER_VERSION = "0.14"

INHG_PER_MBAR = 0.0295299830714
MPH_TO_KPH = 1.60934
Expand Down
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 10 additions & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])]
)

0 comments on commit f79ebe0

Please sign in to comment.