This repository has been archived by the owner on Feb 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add requirements.txt + example in README
- Loading branch information
1 parent
9913d34
commit 9b32359
Showing
3 changed files
with
21 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# pyevacalor | ||
|
||
pyevacalor provides controlling Eva Calor heating devices connected via the IOT Agua platform of Micronova. | ||
|
||
## Example usage | ||
|
||
``` | ||
from pyevacalor import evacalor | ||
# 1c3be3cd-360c-4c9f-af15-1f79e9ccbc2a = random UUID | ||
# You can generate one here: https://www.uuidgenerator.net/version4 | ||
connection = evacalor("[email protected]", "mysecretpassword", "1c3be3cd-360c-4c9f-af15-1f79e9ccbc2a") | ||
# Print the current air temperature for each device | ||
for device in connection.devices: | ||
print(device.name + ": " + str(device.air_temperature)) | ||
``` |
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 @@ | ||
PyJWT==1.7.1 | ||
requests==2.25.1 |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name="pyevacalor", | ||
version="0.0.9", | ||
version="0.0.10", | ||
author="Frederic Van Linthoudt", | ||
author_email="[email protected]", | ||
description="pyevacalor provides controlling Eva Calor heating devices connected via the IOT Agua platform of Micronova", | ||
|
@@ -18,4 +18,8 @@ | |
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
], | ||
install_requires=[ | ||
"PyJWT==1.7.1", | ||
"requests==2.25.1", | ||
], | ||
) |