Skip to content

Python API and command line tool for talking to the Duco™ Ventilation System

License

Notifications You must be signed in to change notification settings

luuloe/python-duco

Repository files navigation

python-duco Build Status Coverage Status Documentation Status Codacy Status ============================================================= Python API and command line tool for communicating to the Duco™ Ventilation System.

The Duco™ Ventilation System supports the option for an external unit to communicate via the ModBus interface. A Duco™ 'master' with ModBus interface (e.g. DucoBox Focus or IQ-unit) exposes all information of the Duco-network and allows external units to control the Duco-network and change settings over ModBus.

python-duco is based on publicly available documentation of the Ducobox and ModBus interface (https://www.duco.eu/Wes/CDN/1/Attachments/L8000009-information-sheet-ModBus-(en)_636336417347448032.pdf).

Features

  • Communication via ModBus RTU and ModBus TCP
  • Automatic discovery of Duco-network topology
  • Provide read and write access to all modules in Duco-network (master, valves, sensors, ...)
  • Synchronous API
  • Caching of module information and settings, ModBus access via asynchronous queue

Status

The project is currently in alpha status and not ready for integration.

Installation

[sudo] pip install python-duco

Usage

Module

You can import the module as duco.

import duco

with DucoBox(args.modbus_type, args.modbus_port) as duco_box:
    for node in duco_box.node_list:
        print(node)

Contributing ===== Just fork the repo and raise your PR against dev branch.

License Information ===== Python-duco is not developed by Duco™ and therefore has no affiliation with Duco™. As a result no support can be claimed from Duco™.

Released under the MIT License.

About

Python API and command line tool for talking to the Duco™ Ventilation System

Resources

License

Stars

Watchers

Forks

Packages

No packages published