Software Development Kit for the EET SolMate
Project description
EET SolMate SDK
All you need to integrate your EET SolMate into your home automation system - or really any Python-based system! Keep in mind that this is work in progress.
This Python SDK provides a class-based API Client which lets you:
- Login to your SolMate with serial number and password which returns an authentication token.
- Connect to your SolMate with the authentication token.
- Get live values of your SolMate.
- Check if your SolMate is online.
For any inquiries about, or problems with, the usage of this API endpoint, please create an issue in this repository.
How to use
Install the package via:
pip install solmate-sdk
Import the SolMateAPIClient
class and connect to your SolMate:
from solmate_sdk import SolMateAPIClient
client = SolMateAPIClient("serial_num")
client.connect()
print(f"Your SolMate online status is: {client.check_online()}")
# or for the protected API:
client.quickstart()
print(client.get_live_values())
The SolMate SDK communicates via a Websocket API with your SolMate.
Roadmap
- Quickstart supports multiple serial numbers (and multiple device ids?)
- Publish docs on Read The Docs
- More Examples
- Full Unit Testing
- Car Charger Example
Links
- Our Homepage: www.eet.energy
- The project on PyPi: pypi.org/project/solmate-sdk
- Read the docs page: https://solmate-sdk.readthedocs.io/en/latest/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
solmate_sdk-0.1.8.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for solmate_sdk-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a27fdb93c09d1c824b6f3baab00b7aec495537e74ec65d554484f7edd961705 |
|
MD5 | 9de213717e3aa90e35023544bf9f28fa |
|
BLAKE2b-256 | 598b5979bb6f00f96094b9b51b6044d4d85fad95b812c6e1ee90a51ea4336aea |