Find a file
2023-11-20 21:09:38 +01:00
.github/workflows Create rust.yml 2023-11-20 21:09:38 +01:00
.idea initial import 2023-11-20 21:00:23 +01:00
src initial import 2023-11-20 21:00:23 +01:00
.gitignore initial import 2023-11-20 21:00:23 +01:00
Cargo.lock initial import 2023-11-20 21:00:23 +01:00
Cargo.toml initial import 2023-11-20 21:00:23 +01:00
LICENSE.txt initial import 2023-11-20 21:00:23 +01:00
README.md initial import 2023-11-20 21:00:23 +01:00

TRV Control

A small program to control thermostatic radiator valves using zigbee2mqtt. The idea is, that you write a configuration file specifying profiles, which get activated on a specified schedule.

Installation

cargo install --locked --git https://github.com/madmo/trvcontrol

Usage

Sample config:

[mqtt]
host = "localhost"
port = 1883
user = "user"
password = "password"

[profiles.workday_morning]
alarm = { days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"], time = 04:00:00 }
temperature = { bath_trv = 23.0, bedroom_trv = 21.0 }

[profiles.workday_day]
alarm = { days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"], time = 08:00:00 }
temperature = { bath_trv = 20.0, office_trv = 23 }

Starting the program:

trvcontrol config.toml

License

Distributed under the ISC License. See LICENSE.txt for more information.