You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# installer for netatmo driver
|
|
|
|
# Copyright 2015 Matthew Wall
|
|
|
|
# Distributed under the terms of the GNU Public License (GPLv3)
|
|
|
|
|
|
|
|
from setup import ExtensionInstaller
|
|
|
|
|
|
|
|
def loader():
|
|
|
|
return NetatmoInstaller()
|
|
|
|
|
|
|
|
class NetatmoInstaller(ExtensionInstaller):
|
|
|
|
def __init__(self):
|
|
|
|
super(NetatmoInstaller, self).__init__(
|
|
|
|
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'])]
|
|
|
|
)
|