Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
BREAKING CHANGE if you have Alexa/Hue emulation with more than 1 device, or with Zigbee. In such case, you need to remove the devices in the Alexa app and discover them again. No change if you have only 1 Alexa device per Tasmota.
There is now a problem with Alexa / Hue emulation when multiple devices are on the same Tasmota. Before, mutiple devices would be distinguished by:
It seems now that the Alexa app gets confused if they differ only by the characters after
-
. We are now changing the encoding as follows:where XX is the high 8 bits of id (unchanged) and YY is the low 8 bits xor 0x10 (so default
1
becomes0x11
)If the endpoint is not zero, XOR the second byte (rare case)
Related issue (if applicable): fixes #22227
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass