Skip to main content

Python3 library for single-room energy recovery ventilators from Vents / Blauberg / Flexit

Project description

pyEcoventV2

Python3 library for single-room energy recovery ventilators from Vents / Blauberg / Flexit

Install

pip3 install pyEcoventV2

Example usage

from ecovent import Fan
""" Create a new fan with IP Address """
""" The Fan object takes 'host', 'name', 'port' as arguments """
""" 'host' (IP address) is the only mandatory argument """
""" 'name' is optional and will default to ecofan """
""" 'port' is also optional and will default to 4000 """"
fan=Fan("192.168.0.22")

""" Optinally create a Fan with a name  
fan=Fan("192.168.0.22", "Cellar Fan")

""" Update the current values of the fan """
fan.update()


""" Print the current configured values """
print(fan.state)
print(fan.speed)
print(fan.man_speed)
print(fan.airflow)
print(fan.humidity)

""" Set speed to medium (low=1 / medium=2 / high=3) """
fan.set_speed(2)
print(fan.speed)

""" Set fan state to off/on """
fan.set_state_off()
fan.set_state_on()

""" Set manual speed to 123 (valid values 22 -> 255) """
fan.set_man_speed(123)
print(fan.man_speed)

""" Set airflow to 'Air Supply' (ventilation=0 / heat recovery=1 / air supply=2)"""
fan.set_airflow(2)
print(fan.airflow)

Intended usage

The intended usage of this library is to include ventilation fans from Vents / Blauberg / Flexit in https://www.home-assistant.io/

Tested fans

This library has only been tested on the following fans:

Fans from Flexit are identical and should work, but this is not yet tested:

Changelog

  • v 0.9.9. -- initialize _battery_voltage with 0 not None
  • v 0.9.16 -- fix undocumented boost_status 2 (delay switching on state)
  • v 0.9.17 -- enabled write only params (to allow filter timer reset)
  • v 0.9.18 -- Add some support for Vents Breezy 160-E (from https://pypi.org/project/Vents-Breezy) -- fix filter_timer_countdown setter to support 4 bytes input
  • v 0.9.19 -- revert filter_timer_countdown setter to 3 bytes, to show correct information on Blauberg
  • v 0.9.23 -- merged fixes from github contributors

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

pyecoventv2-0.9.26.tar.gz (11.2 kB view details)

Uploaded Source

File details

Details for the file pyecoventv2-0.9.26.tar.gz.

File metadata

  • Download URL: pyecoventv2-0.9.26.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for pyecoventv2-0.9.26.tar.gz
Algorithm Hash digest
SHA256 b77897b740faa0a024849ee7f621265e03afd11e2d0185f532288b29f6438211
MD5 30468e925830bb8c69e134f2808b9efb
BLAKE2b-256 84057369cf1d631a8a962ab5124e552b0d33ed39a62815b6fe1f7a6048400630

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