-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT isn't connected? #4
Comments
It's literally in the code
However, it means there's no way to add/delete commands with HA - only pre-compiled stuff. |
MQTT is not enabled if you set NLU_MODE to |
Yeah that's exactly what I did, and it works. Thanks. Now basically one would able to create integration for HA, to be able to add commands from interface. Would be neat. |
@justinhunt1223 the only thing is - is there any online thing to make phonetics from text? Or should i use that python lib exclusively? |
Open up the script mentioned in the readme, it's very simple and you can repurpose the code. I'm almost done with a python script for making commands and pushing them to esp32 nodes. Just remember, there's a 200 command limit. |
Well, it seems to be not working - device reports in log about removing commands, and adding command from MQTT - so it's connected - but it doesn't affect actual set of commands on device itself. |
You meant if NLU_MODE == 0 (NLU_HASS), MQTT is not enabled. Right? Which may make sense since using HASS means not using MQTT but using a REST API (see esp-ha-speech/main/app/app_hass.c Lines 61 to 65 in e03d22e
|
Yeah I found that already, and turned it on for HA too (there's no way to edit/add commands for REST, and I don't want to recompile each time I want to add something). But it doesn't work still - see my comments above. |
Correct, it will use hass to process the commands but you can't use mqtt to add/remove commands as the readme states because mqtt is not enabled. I write a python script to send commands over mqtt for anyone interested. I modified |
I would actually write some integration for HA, that allows adding commands from UI. |
This would be great! |
Alright, I understand! Thanks for sharing your work! |
Well, it would require MQTT to work :) |
I'm using HA setup.
Tried to remove all commands to check if MQTT is working, but commands weren't deleted (no log in serial mon, commands still are being recognized.
Is it because i use non-rhasspi setup? Or there's bug?
The text was updated successfully, but these errors were encountered: