Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wavinsentiomodbus-0.11.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wavinsentiomodbus-0.11.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file wavinsentiomodbus-0.11.0.tar.gz.

File metadata

  • Download URL: wavinsentiomodbus-0.11.0.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

Hashes for wavinsentiomodbus-0.11.0.tar.gz
Algorithm Hash digest
SHA256 156b4d1159156a84d82d65458ca2940e9a364d850d43bde1a70194614796fcf9
MD5 5ce738e0fcbfc8e00a70b76153718b54
BLAKE2b-256 29115398ca023c50c09a86c4b4ee406cc8ecf45694da96efec0f714e93992f48

See more details on using hashes here.

File details

Details for the file wavinsentiomodbus-0.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wavinsentiomodbus-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecc4bb1a89baf3cb907b9b7a8503375b65d776a746ac24d3d62fc43cb36447b6
MD5 3373d3b18f34e7e048592b15b9640be4
BLAKE2b-256 c5212bcb5650f4d475162590714b93a02926581b67573fe7c35ef803c3766d25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page