snipsco / snipsmanager

The Snips Assistant Manager
MIT License
16 stars 16 forks source link

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

Open sigmaris opened 6 years ago

sigmaris commented 6 years ago

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.