mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Merge pull request #10983 from s-hadinger/fix_hue_udp
Fix Hue discovery for Zigbee and Scripting #10950
This commit is contained in:
commit
e54487fd24
@ -137,7 +137,7 @@ void PollUdp(void)
|
|||||||
// Simple Service Discovery Protocol (SSDP)
|
// Simple Service Discovery Protocol (SSDP)
|
||||||
if (Settings.flag2.emulation) {
|
if (Settings.flag2.emulation) {
|
||||||
#if defined(USE_SCRIPT_HUE) || defined(USE_ZIGBEE)
|
#if defined(USE_SCRIPT_HUE) || defined(USE_ZIGBEE)
|
||||||
if (TasmotaGlobal.devices_present && (strstr_P(packet_buffer, PSTR("M-SEARCH")) != nullptr)) {
|
if (strstr_P(packet_buffer, PSTR("M-SEARCH")) != nullptr) {
|
||||||
#else
|
#else
|
||||||
if (TasmotaGlobal.devices_present && (strstr_P(packet_buffer, PSTR("M-SEARCH")) != nullptr)) {
|
if (TasmotaGlobal.devices_present && (strstr_P(packet_buffer, PSTR("M-SEARCH")) != nullptr)) {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user