fix: added set target indoor temp to CH2 for native heating control #58

This commit is contained in:
Yurii
2024-04-23 08:13:03 +03:00
parent 85011ce4ea
commit 3c0f846335
2 changed files with 18 additions and 1 deletions

View File

@@ -136,6 +136,16 @@ public:
return isValidResponse(response);
}
bool setRoomSetpointCh2(float temperature) {
unsigned long response = this->sendRequest(buildRequest(
OpenThermMessageType::WRITE_DATA,
OpenThermMessageID::TrSetCH2,
temperatureToData(temperature)
));
return isValidResponse(response);
}
bool setRoomTemp(float temperature) {
unsigned long response = this->sendRequest(buildRequest(
OpenThermMessageType::WRITE_DATA,