snipsmanager icon indicating copy to clipboard operation
snipsmanager copied to clipboard

Skill notifications like start_listening and done_listening don't receive site ID

Open sigmaris opened this issue 7 years ago • 0 comments

I am working on a multi-room system and I've noticed that when a skill gets notified of the start_listening and done_listening events, it doesn't get passed the site ID where the hotword was detected / ASR is listening - only skill and types are in scope: https://github.com/snipsco/snipsmanager/blob/d10a46f679cfc5d280f3e6594b7af1acdf09d2f1/snipsmanager/commands/run.py#L275-L283

I need to know the site ID to mute music playing in the room where the ASR is listening. The Site ID is present in the MQTT message, it's just not currently passed to the skill.

sigmaris avatar Mar 28 '18 17:03 sigmaris