Merge branch 'dev' into dev2

This commit is contained in:
MichaelDvP
2023-12-08 19:15:41 +01:00
5 changed files with 143 additions and 141 deletions

View File

@@ -346,6 +346,7 @@ static void setup_commands(std::shared_ptr<Commands> & commands) {
return StateUpdateResult::CHANGED;
},
"local");
to_app(shell).uart_init();
});
//

View File

@@ -1309,7 +1309,7 @@ void Boiler::process_UBAMonitorFastPlus(std::shared_ptr<const Telegram> telegram
uint8_t syspress = sysPress_;
telegram->read_value(syspress, 21); // 0 means no sensor
if (syspress == 0) {
sysPress_ = EMS_VALUE_UINT_NOTSET;
syspress = EMS_VALUE_UINT_NOTSET;
}
has_update(sysPress_, syspress);

View File

@@ -216,6 +216,7 @@ void EMSESP::uart_init() {
}
txservice_.start(); // sends out request to EMS bus for all devices
txservice_.tx_mode(tx_mode);
// force a fetch for all new values, unless Tx is set to off
if (tx_mode != 0) {