mirror of
https://github.com/arendst/Tasmota.git
synced 2026-08-07 09:12:23 -04:00
Merge pull request #11415 from oponyx/development
Fix alexa discovery problem in hue emulation
This commit is contained in:
1 file changed
+3
-2
@@ -411,9 +411,10 @@ String GetHueDeviceId(uint16_t id)
|
|||||||
{
|
{
|
||||||
String deviceid = WiFi.macAddress();
|
String deviceid = WiFi.macAddress();
|
||||||
deviceid += F(":00:11-");
|
deviceid += F(":00:11-");
|
||||||
deviceid += String(id);
|
if(id<0x10) deviceid += F("0");
|
||||||
|
deviceid += String(id,HEX);
|
||||||
deviceid.toLowerCase();
|
deviceid.toLowerCase();
|
||||||
return deviceid; // 5c:cf:7f:13:9f:3d:00:11-1
|
return deviceid; // 5c:cf:7f:13:9f:3d:00:11-01
|
||||||
}
|
}
|
||||||
|
|
||||||
String GetHueUserId(void)
|
String GetHueUserId(void)
|
||||||
|
|||||||
Reference in new issue
Block a user