mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
text formatting
This commit is contained in:
@@ -34,7 +34,6 @@ Controller::Controller(uint8_t device_type, uint8_t device_id, uint8_t product_i
|
|||||||
|
|
||||||
// MQTT callbacks
|
// MQTT callbacks
|
||||||
// register_mqtt_topic("cmd", std::bind(&Controller::cmd, this, _1));
|
// register_mqtt_topic("cmd", std::bind(&Controller::cmd, this, _1));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Controller::add_context_menu() {
|
void Controller::add_context_menu() {
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ void Solar::process_SM100Status(std::shared_ptr<const Telegram> telegram) {
|
|||||||
uint8_t pumpmod = pumpModulation_;
|
uint8_t pumpmod = pumpModulation_;
|
||||||
telegram->read_value(pumpModulation_, 9);
|
telegram->read_value(pumpModulation_, 9);
|
||||||
if (pumpmod == 0 && pumpModulation_ == 100) { // mask out boosts
|
if (pumpmod == 0 && pumpModulation_ == 100) { // mask out boosts
|
||||||
pumpModulation_ = 15; // set to minimum,
|
pumpModulation_ = 15; // set to minimum
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1042,9 +1042,12 @@ void Thermostat::process_IBASettings(std::shared_ptr<const Telegram> telegram) {
|
|||||||
|
|
||||||
// type 0x6F - FR10/FR50/FR100 Junkers
|
// type 0x6F - FR10/FR50/FR100 Junkers
|
||||||
void Thermostat::process_JunkersMonitor(std::shared_ptr<const Telegram> telegram) {
|
void Thermostat::process_JunkersMonitor(std::shared_ptr<const Telegram> telegram) {
|
||||||
|
|
||||||
|
// ignore single byte telegram messages
|
||||||
if (telegram->message_length <= 1) {
|
if (telegram->message_length <= 1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<Thermostat::HeatingCircuit> hc = heating_circuit(telegram);
|
std::shared_ptr<Thermostat::HeatingCircuit> hc = heating_circuit(telegram);
|
||||||
|
|
||||||
telegram->read_value(hc->curr_roomTemp, 4); // value is * 10
|
telegram->read_value(hc->curr_roomTemp, 4); // value is * 10
|
||||||
|
|||||||
Reference in New Issue
Block a user