FileNotFoundError: [Errno 2] No such file or directory: ‘/home/pi/.config/rhasspy_handler/intentDispatcher.py’: ‘/home/pi/.config/rhasspy_handler/intentDispatcher.py’
And setting system command make me loosing system remote, so no more post to server (jeedom plugin).
My Jeedom plugin is set to handle only intentNameJeedom names (finish with jeedom), so I could have a python script handling other intents. But can’t get it starting, and can’t get the two, command AND remote.
I could handle to post myself to jeedom plugin in the intent handler, but do you have an exemple of path working ?
pip3 install rhasspyclient
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting rhasspyclient
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/rhasspyclient/
@duch, I wrote the script intending it to be a standalone script that runs continuously, handling intents that Rhasspy detects. I took this approach because I am not running home assistant in my project. Rhasspy needs to also be running (I run it in docker).
What is your context? How you are calling this script?
it’s alive ! But seems that something has changed with rhasspy-client :
python3 intentDispatcher.py
Got unhandled command:
Let me check. It is 5 45.
Task exception was never retrieved
future: <Task finished coro=<speak() done, defined at intentDispatcher.py:13> exception=AttributeError("'RhasspyClient' object has no attribute 'text_to_speech'")>
Traceback (most recent call last):
File "intentDispatcher.py", line 18, in speak
await client.text_to_speech(text)
AttributeError: 'RhasspyClient' object has no attribute 'text_to_speech'
Yes, it’s working here. I run a deployment with the official docker container. Have you looked at the server logs? The python error is printed there if there is one.
I have the same problem though the script works perfectly in command line when i feed it with the json found in the logs.
No error triggered in rhasspy logs