mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-02 21:08:44 +05:00
fix: added set target indoor temp to CH2 for native heating control #58
This commit is contained in:
1 parent
85011ce4ea
commit
3c0f846335
2 files changed
+18
-1
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user