forked from jabesq/netatmo-api-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Imported the new version of netatmo api
- Loading branch information
Showing
11 changed files
with
336 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018 Hugo DUPRAS | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include README.md | ||
include LICENSE.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
description-file = README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,24 @@ | |
# python setup.py --dry-run --verbose install | ||
|
||
from distutils.core import setup | ||
import setuptools | ||
|
||
|
||
setup( | ||
name='lnetatmo', | ||
version='0.9.2.1-vaillant', # Should be updated with new versions | ||
author='Samuel Dumont, forked from Philippe Larduinat', | ||
author_email='[email protected], [email protected]', | ||
py_modules=['lnetatmo'], | ||
name='pyatmo', | ||
version='1.4.1-vaillant', # Should be updated with new versions | ||
author='Samuel Dumont, based on Hugo Dupras', | ||
author_email='[email protected]', | ||
py_modules=['pyatmo'], | ||
|
||
packages=['smart_home'], | ||
package_dir={'smart_home': 'smart_home'}, | ||
scripts=[], | ||
data_files=[], | ||
|
||
url='https://github.com/samueldumont/netatmo-api-python', | ||
license='Open Source', | ||
description='Simple API to access Vaillant vSmart thermostat data (rebranded Netatmo thermostat)', | ||
license='MIT', | ||
description='Simple API to access Netatmo weather station data from any python script. ' | ||
'Design for Home-Assitant (but not only)', | ||
long_description=open('README.md').read() | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
""" | ||
coding=utf-8 | ||
""" | ||
from .WeatherStation import WeatherStationData | ||
|
||
from . import _BASE_URL | ||
|
||
_GETHOMECOACHDATA_REQ = _BASE_URL + "api/gethomecoachsdata" | ||
|
||
|
||
class HomeCoachData(WeatherStationData): | ||
""" | ||
List the Home Couch devices (stations and modules) | ||
Args: | ||
authData (ClientAuth): Authentication information with a working access Token | ||
""" | ||
def __init__(self, authData): | ||
super(HomeCoachData, self).__init__(authData, urlReq=_GETHOMECOACHDATA_REQ) |
Oops, something went wrong.