Python API for interfacing with Wavin CCU-208
Project description
Wavin Sentio API
Wavin sentio modbus interface usable to control the Wavin Sentio devices
dependencies
Install Dependencies (if required)
python -m pip install pymodbus
Usage
Some snippets on example usage:
Construct Modbus TCP
sentio_api = SentioModbus("10.0.0.10", SentioApi.ModbusType.MODBUS_TCPIP)
Construct Modbus RTU (Serial)
sentio_api = SentioModbus("/dev/ttyS5", SentioApi.ModbusType.MODBUS_RTU, 19200, 1, _loglevel=logging.DEBUG)
Connect
Connect using the python modbus library
if sentio_api.connect() == 0:
if sentio_api.initialize() == 0:
print("Connected to Sentio and initialized devicedata")
else:
print("physical connected succeeded but initialization failed, check logs")
else:
print("Connection failed")
for more detailed usage see test folder where functional tests are executed
Run Tests
python -m unittest test.test_SentioApi
Release History
TBD
Status
- Modbus
- Logging
- Auto detect Rooms
- Auto detect Global Peripherals
- CMV
- (DE)Humidifiers
- DHW
- Validate and Use Global Peripherals
- CMV
- DHW
- (DE)Humidifiers
- Room Control
- Set Temperature
- Read Temperature
TODO
- Fix Todo's in code
- Fix automatic versioning and publishing.
Running
pip install virtualenv virtualenv venv .\venv\Scripts\activate pip install --no-cache-dir -r requirements.txt python test/test_sentioApi.py
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wavinsentiomodbus-0.12.1.tar.gz.
File metadata
- Download URL: wavinsentiomodbus-0.12.1.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da026acd0d56cd781845d2876976d6c513659a2fea91cc7ecfb2497fe5f6cc3e
|
|
| MD5 |
dd10d6c1a3c7927f93b26d4ab212037d
|
|
| BLAKE2b-256 |
39d29208736a31e8551a0836d089dd16036530b8b01455e63ad37c4f441c1a20
|
File details
Details for the file wavinsentiomodbus-0.12.1-py3-none-any.whl.
File metadata
- Download URL: wavinsentiomodbus-0.12.1-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e27ffbe0f9fa1956b754c17d64d1cc3dd8f864592043a945d9309c21400e0c56
|
|
| MD5 |
d5121e5d09a222e240448cffd77b9e97
|
|
| BLAKE2b-256 |
71bc24f97ea2bf89b997bde6e07c052b5da2dcef1a3988e1c1aa4880eb1babae
|