Skip to content

fix alexa with a new messageId and add delay on some answers#66

Merged
zoic21 merged 1 commit into
jeedom:betafrom
jlayec:fix-alexa
May 19, 2026
Merged

fix alexa with a new messageId and add delay on some answers#66
zoic21 merged 1 commit into
jeedom:betafrom
jlayec:fix-alexa

Conversation

@jlayec

@jlayec jlayec commented May 11, 2026

Copy link
Copy Markdown
Contributor

Description

ash plugin currently reuse messageId on replies which seems to be forbidden by Alexa API. It has to be unique whatever the direction.
moreover when actions takes some seconds the real status is not correctly reported to alexa so I introduced a sleep of 0.5 seconds which seems to be enough

Suggested changelog entry

fix unstable alexa answers (from jeedom to alexa)

Related issues/external references

https://community.jeedom.com/t/alexa-ash-problemes-aleatoires/146129/

Types of changes

  • Bug fix (non-breaking change which fixes)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • This change is only breaking for integrators, not for external standards or end-users.
  • Documentation improvement

PR checklist

  • I have checked there is no other PR open for the same change.
  • I have read the Contribution Guidelines.
  • I grant the project the right to include and distribute the code under the GNU.
  • I have added tests to cover my changes.
  • I have verified that the code complies with the projects coding standards.
  • [Required for new sniffs] I have added MD documentation for the sniff.

@jlayec jlayec changed the title fix alexa with a new messageId and add 5s delay on some answers fix alexa with a new messageId and add delay on some answers May 12, 2026
@zoic21
zoic21 merged commit b698e01 into jeedom:beta May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants