Added PIR sensor night time presets.

Added PIR sensor Disable/Enable button.
UI refinements.
Added colorUpdated() on HTTP API in IR JSON.
This commit is contained in:
Blaz Kristan
2021-09-28 23:27:40 +02:00
parent 9092549f07
commit dc9d48850f
8 changed files with 2298 additions and 2233 deletions

View File

@@ -713,12 +713,10 @@ void WLED::initInterfaces()
// Set up mDNS responder:
if (strlen(cmDNS) > 0) {
#ifndef WLED_DISABLE_OTA
if (!aOtaEnabled) //ArduinoOTA begins mDNS for us if enabled
MDNS.begin(cmDNS);
#else
// "end" must be called before "begin" is called a 2nd time
// see https://github.com/esp8266/Arduino/issues/7213
MDNS.end();
MDNS.begin(cmDNS);
#endif
DEBUG_PRINTLN(F("mDNS started"));
MDNS.addService("http", "tcp", 80);