So … comparing your log output and the configuration file reveals that snips is not connecting to the given IP address and is opening a default connection at 127.0.0.1 . Hence it does not find any intent at this IP .
Please change the IP to 127.0.0.1 for the mqtt broker in the co figuration.yaml file for test and restart the rpi3.
@ako You may have figured it out but you don’t need the user info in the intent name. HA strips that off so you would just use off if that is the intent name.
You can monitor the mqtt broker to see what the intents are
On the HA server, I use mosquitto_sub from mosquitto-clients package, don’t just watch hermes/# or you get a lot of audio noise. Note this is also a good reason to run your mqtt broker on the snips server since snips uses mqtt to pass all the audio data around. You get a ton of network traffic otherwise.
I have my snips working, but wanted to do a test with snips on a different pi.
You can test your intent_script by publishing the right json to the right topic.
You can test by publishing to the MQTT broker you use to hermes/nlu/intentParsed
Paste the code in which you can directly copy from the console test in snips.io.
You only have to remove “Alpha” before the intentName or add it to HA.
From my point of view and based on other comments in this thread snips on hassio with hassio addon doesnt work (HA + Snips on same rasperry).
The problem seems always the same:
Hotword detected
STT Works
Intents won’t be parsed (no intent through mqtt)
On the other hand if sending mqtt “fake intent” (this is what @Romkabouter told above) works fine (HA does what it should).
Does snips installed through hassio addon fully work for somebody (does somebody get intents)?
Yes, it works for me. But the addons is for version 0.5.5 and when you are downloading a new assisant now, that will not work. There were breaking changes, for instance the assistant is now in /usr/share/snips
The result is that your new assistant will not work with the Hassio addon.
My final thoughts about using Snips on same raspberry like HA; Don’t do it.
Using Snips on a separate rasperry pi 3 model b (don’t use model b+ - it won’t work !!) makes everything easier;
Updating and debugging are a lot safer / faster and response time of snips improved.
it looks like the issue @zubay spotted and @Romkabouter linked to is still present. I attempted the hassio plugin install last night and got the same error.
“Couldn’t find any assistant"
hopefully this will be an easy fix - i’m very much looking forward to using snips as a multi room system, amd i’m hoping that with some templating snips can become essentially ‘room aware’ by simply injecting the streaming servers (room) id into the message. exciting times!
the warning is just that - a warning, not an error. As i understand it the big problem is the ‘couldn’t find any assistant’ message - i’ve got that error too and there’s currently no fix available to my knowledge. a fix to the hassio snips plugin is required
Next issue seems to be ERROR:snips_tts: Error: Unsupported bus type: localhost:1883, which can be reproduced with: /usr/bin/snips-dialogue --bus localhost:1883