mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
Merge branch 'esp32_dev' of https://github.com/proddy/EMS-ESP into esp32_dev
This commit is contained in:
@@ -145,11 +145,11 @@ void Mixer::process_IPMStatusMessage(std::shared_ptr<const Telegram> telegram) {
|
|||||||
// do we have a mixed circuit
|
// do we have a mixed circuit
|
||||||
if (ismixed == 2) {
|
if (ismixed == 2) {
|
||||||
has_update(telegram->read_value(flowTemp_, 3)); // is * 10
|
has_update(telegram->read_value(flowTemp_, 3)); // is * 10
|
||||||
has_update(telegram->read_value(flowSetTemp_, 5));
|
|
||||||
has_update(telegram->read_value(status_, 2)); // valve status
|
has_update(telegram->read_value(status_, 2)); // valve status
|
||||||
}
|
}
|
||||||
|
|
||||||
has_update(telegram->read_bitvalue(pumpStatus_, 1, 0)); // pump is also in unmixed circuits
|
has_update(telegram->read_bitvalue(pumpStatus_, 1, 0)); // pump is also in unmixed circuits
|
||||||
|
has_update(telegram->read_value(flowSetTemp_, 5)); // flowSettemp is also in unmixed circuits, see #711
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mixer on a MM10 - 0xAB
|
// Mixer on a MM10 - 0xAB
|
||||||
|
|||||||
@@ -373,7 +373,7 @@ void System::show_mem(const char * note) {
|
|||||||
|
|
||||||
// send periodic MQTT message with system information
|
// send periodic MQTT message with system information
|
||||||
void System::send_heartbeat() {
|
void System::send_heartbeat() {
|
||||||
// don't send heartbeat if WiFi or MQTT is connected
|
// don't send heartbeat if WiFi or MQTT is not connected
|
||||||
if (!Mqtt::connected()) {
|
if (!Mqtt::connected()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user