mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
fix alexa discovery problems
This commit is contained in:
parent
4128f0d260
commit
8cb98dac18
1096
.history/tasmota/xdrv_20_hue_20210321091627.ino
Normal file
1096
.history/tasmota/xdrv_20_hue_20210321091627.ino
Normal file
File diff suppressed because it is too large
Load Diff
1097
.history/tasmota/xdrv_20_hue_20210321092038.ino
Normal file
1097
.history/tasmota/xdrv_20_hue_20210321092038.ino
Normal file
File diff suppressed because it is too large
Load Diff
1097
.history/tasmota/xdrv_20_hue_20210321092519.ino
Normal file
1097
.history/tasmota/xdrv_20_hue_20210321092519.ino
Normal file
File diff suppressed because it is too large
Load Diff
@ -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-");
|
||||||
|
if(id<9) deviceid += F("0");
|
||||||
deviceid += String(id);
|
deviceid += String(id);
|
||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user