That’s right, I change the path (via profile.json) of the Python file (it’s on the desktop). I said “Hello” and nothing happened, I’m doing something wrong?
Note 1: I change the patch manually from the file (profile.json), and also change it from the web (from the web I only change the patch and the file profile.json was automatically changed).
Note 2: With the 2nd code all the commands are executed correctly via websocket, but I guess it is not the right way to do it, right?
If you’re using Docker, make sure that you give the running container access to /path/to/program with a -v /path/to:/path/to in the docker run command.
It does not do anything when I say a phrase, I am waiting for when I call the robot react according to the code (honestly I do not know what the typical operation is).
The code that I put on robot.py was this:
Under “Hello” I add that it reproduces an audio when you recognize it, but nothing happens.
This is what comes out in the log, I assure you that the attempt that registers the log is the same as I place in the code:
Note: When I try the second code and I run the Python with Socket works well, the first code I do not run, I guess the first code I should not execute it.
With “Execute” I mean that in console I run Python3 + Path. The code 1 I do not run it, I suppose that Rhasspy does it and that’s why I must place the path in profile.json
The code 2 (the one you have socket) if I run and when I pronounced a phrase the robot recognizes it and runs the conditional that places in the code.
I say it because I want it to be clear what I do, so you can help me with a better precision. Also, because I do not know what “intent handling” of Rhaspy, so he would appreciate it if you explain me, please.