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.16.0.tar.gz (19.2 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.16.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wavinsentiomodbus-0.16.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wavinsentiomodbus-0.16.0.tar.gz
Algorithm Hash digest
SHA256 a8a41c3869a0196e275fbd9ba2664f388cd57c65350ef856fde0d749d4d0b799
MD5 d773d058018166a5ddd8cce799be5cd2
BLAKE2b-256 32e6be63d7cd67299928a598589b72826becc7e0b6a8e32b4b7ae26bc33613c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wavinsentiomodbus-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2605b88f86bf6a29d866c012fdd99b3db7b15daaa8554836528f34d0b6d6e7a8
MD5 98a03b55ceb2367bed04ceca3eca1dde
BLAKE2b-256 d9592cd83ffb9cfc55a32f7d3ed9858138937e293dcb49d02bf3db13b13bcde7

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