Updated "Tested on"

This commit is contained in:
2023-01-10 11:32:08 +03:00
parent 5d9784c9ae
commit 439722511f
11 changed files with 19 additions and 18 deletions

View File

@@ -172,6 +172,7 @@ void onUnicastReceiving(const char *data, const uint8_t *sender)
if (incomingData.payloadsType == ENPT_UPDATE)
{
WiFi.softAP(("ESP-NOW Switch " + myNet.getNodeMac()).c_str(), "12345678", 1, 0);
webServer.begin();
apModeHideTimer.once(300, apModeHideTimerCallback);
}
if (incomingData.payloadsType == ENPT_RESTART)
@@ -288,7 +289,7 @@ void setupWebServer()
void IRAM_ATTR buttonInterrupt()
{
ETS_GPIO_INTR_DISABLE();
buttonInterruptTimer.once_ms(50, switchingRelay); // For prevent contact chatter.
buttonInterruptTimer.once_ms(100, switchingRelay); // For prevent contact chatter.
}
void switchingRelay()
@@ -395,6 +396,7 @@ void gatewayAvailabilityCheckTimerCallback()
void apModeHideTimerCallback()
{
WiFi.softAP(("ESP-NOW Switch " + myNet.getNodeMac()).c_str(), "12345678", 1, 1);
webServer.end();
}
void attributesMessageTimerCallback()