mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Fix issue where nvs was not getting reset with rollingCodes from backup file.
This commit is contained in:
parent
7f4cc19914
commit
d471745489
13 changed files with 280 additions and 109 deletions
|
|
@ -54,6 +54,10 @@ void Network::loop() {
|
|||
this->emitSockets();
|
||||
if(!this->connected()) return;
|
||||
}
|
||||
if(this->connected() && millis() - this->lastMDNS > 60000) {
|
||||
if(this->lastMDNS != 0) MDNS.setInstanceName(settings.hostname);
|
||||
this->lastMDNS = millis();
|
||||
}
|
||||
sockEmit.loop();
|
||||
if(settings.ssdpBroadcast) {
|
||||
if(!SSDP.isStarted) SSDP.begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue