1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-15 07:10:33 +01:00

increased the reboot wait time in case of unsuccessful connection to the network

This commit is contained in:
Chelios 2024-10-19 07:57:29 +03:00
parent 0c55dbb7a4
commit 44b4dde121

View File

@ -81,9 +81,9 @@ class ModemComponent : public Component {
{ModemComponentState::TURNING_OFF_PWRKEY, ModemComponentStateTiming(2000, 0)},
{ModemComponentState::TURNING_ON_RESET, ModemComponentStateTiming(2000, 0)},
{ModemComponentState::TURNING_OFF_RESET, ModemComponentStateTiming(2000, 0)},
{ModemComponentState::SYNC, ModemComponentStateTiming(2000, 15000)},
{ModemComponentState::REGISTRATION_IN_NETWORK, ModemComponentStateTiming(2000, 15000)},
{ModemComponentState::CONNECTING, ModemComponentStateTiming(2000, 15000)},
{ModemComponentState::SYNC, ModemComponentStateTiming(2000, 30000)},
{ModemComponentState::REGISTRATION_IN_NETWORK, ModemComponentStateTiming(2000, 30000)},
{ModemComponentState::CONNECTING, ModemComponentStateTiming(2000, 60000)},
{ModemComponentState::CONNECTED, ModemComponentStateTiming(5000, 0)},
};