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.14.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.14.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wavinsentiomodbus-0.14.0.tar.gz
Algorithm Hash digest
SHA256 806a7dee518519092731cb3b600a95d85bb44c87fd180437e888a5c2b947f572
MD5 cc27ca795c70ee4d3d4cc2362297c2dc
BLAKE2b-256 8fb6f49743dfe463023dfbba15fda7d194b1ffc9ad36e6a69804bc5c5b231913

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wavinsentiomodbus-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b2d427ee283761fa9cfa9a07910742d6b7acb8397d964db2f07d1319f6c5c21
MD5 d2f49929d46873dd9bf5870c794bf3e6
BLAKE2b-256 987b48135333fc233502b73581ed240b86d134465c58bba70590c2fece8dab45

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