Psychokiller1888 / snips-custom-hotword

Using Snowboy to customize the snips hotword
GNU General Public License v3.0
21 stars 5 forks source link

Snips isn't wake up #1

Closed wibimaster closed 6 years ago

wibimaster commented 6 years ago

Hi,

I follow your doc' from start to end, and my Hotword doesn't wake up Snips anymore :(

The hotword detection works great (can see it if I check service snipsCustomHotword status)

But if I run snips-watch -vvv, the hotword is detected by your service but not received by Snips :/

Is there a thing I have to check anywhere ? Thanks !

-- EDIT --

Seems to be Snips related, because snips watch fails to pop anything with this simple script:

import paho.mqtt.publish as publish
import json

if __name__ == "__main__":
    test = publish.single(
        'hermes/hotword/default/detected',
        payload=json.dumps({'siteId': 'default'}),
        hostname='localhost',
        port=1883
    )
    print(test)
Psychokiller1888 commented 6 years ago

Is the snips-hotword service running?

wibimaster commented 6 years ago

I tried with and without snips-hotword

--EDIT--

I can connect to MQTT server and catch "intent" event ; I can publish to hermes/dialogueManager/endSession too. Why is it just fail with hotword ? :(