Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Commit

Permalink
Add requirements.txt + example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericvl committed Jan 6, 2021
1 parent 9913d34 commit 9b32359
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
14 changes: 14 additions & 0 deletions README.md
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))
```
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PyJWT==1.7.1
requests==2.25.1
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -18,4 +18,8 @@
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
install_requires=[
"PyJWT==1.7.1",
"requests==2.25.1",
],
)

0 comments on commit 9b32359

Please sign in to comment.