Skip to content

Commit

Permalink
Fix alexa devices invisible/uncontrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
Svennte committed Oct 21, 2024
1 parent 1ff667b commit 7879c08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wled00/src/dependencies/espalexa/Espalexa.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ class Espalexa {
uint8_t mac[6];
WiFi.macAddress(mac);

sprintf_P(out, PSTR("%02X:%02X:%02X:%02X:%02X:%02X:00:11-%02X"), mac[0],mac[1],mac[2],mac[3],mac[4],mac[5], idx);
String mymac = WiFi.macAddress();
sprintf_P(out, PSTR("%02X:%s:AB-%02X"), idx, mymac.c_str(), idx);
}

// construct 'globally unique' Json dict key fitting into signed int
Expand Down

0 comments on commit 7879c08

Please sign in to comment.