Skip to main content

Read values from Jäspi Ecowatti boiler

Project description

Ecowatti

Simple utility to read values from Jäspi Ecowatti boiler.

Installation

Install using pip

pip install ecowatti

Usage

Basic usage is to import Ecowatti and EcowattiConfig.

Initialize EcowattiConfig with proper settings and use it to initialize Ecowatti itself.

from ecowatti import Ecowatti, EcowattiConfig

config = EcowattiConfig("/dev/ttyUSB0", serial_timeout=1)
ecowatti = Ecowatti(config)

ecowatti.update_all_temperatures()

for sensor in ecowatti._temperature_sensors:
    print(sensor.description, sensor.value)

Command-line usage

Basic command-line usage

Display all sensors and their values

|> python3 -m ecowatti -d /dev/ttyUSB0 -a
T1 22.1
T2 0.4
T3 None
T4 23.3
T5 22.1
T6 22.7
T7 None
T8 21.6
T9 51.0
T10 3.5

Display values for specific sensors

|> python3 -m ecowatti -d /dev/ttyUSB0 -s T1 -s T5 -s T6
T1 22.1
T5 22.1
T6 22.7

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

ecowatti-1.0.0.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

ecowatti-1.0.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

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