diff --git a/src/console.cpp b/src/console.cpp index cc8be210c..06fd98aba 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -346,6 +346,7 @@ static void setup_commands(std::shared_ptr & commands) { return StateUpdateResult::CHANGED; }, "local"); + to_app(shell).uart_init(); }); // diff --git a/src/emsesp.cpp b/src/emsesp.cpp index 16f2d27cf..86b67b178 100644 --- a/src/emsesp.cpp +++ b/src/emsesp.cpp @@ -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) {