Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve discovery endpoint cookie limitation #540

Merged
merged 1 commit into from
Dec 26, 2022

Conversation

jsetton
Copy link
Collaborator

@jsetton jsetton commented Dec 26, 2022

The Alexa SMAPI limits the endpoint cookie property included in the discovery response to 5000 bytes. When over that limit, the given endpoint is not discoverable.

This is an issue for ModeController or RangeController capabilities with more than 100 defined supported modes or presets configured especially if part of a group endpoint. Compressing the cookie property provides some additional wiggle room to include more options while adding a maximum hard cap to 150.

Signed-off-by: jsetton <jeremy.setton@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant