Open ceased-ebc opened 7 years ago
Did you test by hitting the MM module through the browser?
are there any errors in the terminal?
I can't see your image btw
Oh, you have to say the activation phrase first. Say Ok mirror
, then ask it a question.
You can also change the launch phrase "https://github.com/HackerHouseYT/AI-Smart-Mirror/blob/master/bot.py#L18"
It should be:
Found face I'm listening Found audio Google Speech Recognition thinks you said ok mirror
Then ask a question
If it translates speech to text Google Speech Recognition thinks you said ok mirror
, it should be sending a request to the MM module. Can you open up the Electron debugger to see if it's throwing any errors? You have tested the MM module by testing a /statement command with your browser, correct?
You could also try downloading something like charles proxy to see if it's actually sending a request
MM runs a server and the module I created for MM listens for incoming requests. The bot.py file sends a request to the MM server. When the module receives a request, it displays something in Electron.
In addition to dragging and dropping the modules, did you update the config with my config? That config makes sure that only my two modules are running.
Charles proxy is an application that you can use to see all network requests happening on your machine. You can delete it whenever you want.
I suspect something might be wrong with your MM. Usually it displays a listening tag at the bottom of the screen when the bot.py prints I'm listening
.
Also, I can't reiterate this enough: please make sure you test by sending a command from your web browser.
It's in the MM module I created....
https://github.com/HackerHouseYT/AI-Smart-Mirror/blob/master/magic_mirror/aiclient/face.gif
Outdated scipture