Read the statement by Michael Teeuw here.
Hello-Lucy
-
Well ok then! You’re happy? I’m happy! Lucy’s happy! :-)
Seriously, I’m glad you’re up and running and I’m glad you’re pleased. :thumbsup:
Now, can you do something simple for me? Can you please tell me:
- Your hardware ( Pi3? 4? whatever)
- Your microphone (including if it’s USB or analog)
- Your OS (if not using a Pi?)
- Your response time from the time you issue a command until Lucy responds or you hear the confirmation sound. Instantly? 1 second? 3? 5?
-
I love it when a plan comes together…
-
Happy :)
- Pi 4
- Mic is Analog plugged in to a sound card (came with mic - Zax Sound)
- Buster
- 2-3 seconds
Just a small note - Sometimes I have to unplug sound card and plug back in - Works with either a speaker plugged in to card or using HDMI sound.
-
@TheGeekfather Try using a Omnidirectional mic… like this :
https://www.walmart.com/ip/Stereo-Omnidirectional-Condenser-Microphone-Mic-3-5mm-Connector-for-Meeting-Business-Conference-Desktop-Computer/392379431Can’t say it will solve the delay…the Pi’s seem to have that delay…
-
You are absolutely right, CBD. That microphone extends the active listening distance dramatically. Across the room without shouting and it improves the success of the commands.Thanks for recommending it to me. I’m going to get another. :thumbsup:
Yes, I just finish testing Lucy on a Pi 4, with a usb microphone and with a usb sound card that accepts an analog microphone. In both cases, the latency is pretty annoying. And even though you (and I) were using an analog microphone, the presence of the USB adapter slows things up. The usb microphone by itself was just as slow.
Now, take that same analog microphone and use it on a 12+ year old laptop board running ubuntu and MM with Lucy. The response is measured in milliseconds. It’s fantastic!
-
@Mykle1 I added a few modules to Hello-Lucy following your easy instructions. Not sure if this is the best way to contact you with the info but just following through with the last step in your instructions which is to tell you the command and module name :)
Here is a diff of my sentences.json and yours:
80,81d79 < "HIDE IFRAME", < "SHOW IFRAME", 86,87d83 < "HIDE LIGHTS", < "SHOW LIGHTS", 92,93d87 < "HIDE NETWORK", < "SHOW NETWORK", 108,109d101 < "HIDE SOLAR", < "SHOW SOLAR", 116,117d107 < "HIDE STOCKS", < "SHOW STOCKS",
And a diff of my checkCommands.json and yours:
7,21d6 < ["SHOW","IFRAME","","","true","MMM-iFrame",""], < ["HIDE","IFRAME","","","false","MMM-iFrame",""], < < ["SHOW","LIGHTS","","","true","mmm-hue-lights",""], < ["HIDE","LIGHTS","","","false","mmm-hue-lights",""], < < ["SHOW","NETWORK","","","true","MMM-NetworkScanner",""], < ["HIDE","NETWORK","","","false","MMM-NetworkScanner",""], < < ["SHOW","SOLAR","","","true","MMM-Solar",""], < ["HIDE","SOLAR","","","false","MMM-Solar",""], < < ["SHOW","STOCKS","","","true","MMM-stocks",""], < ["HIDE","STOCKS","","","false","MMM-stocks",""], < 124,125c109,110 < ["SHOW","STATS","","","true","MMM-SystemStats",""], < ["HIDE","STATS","","","false","MMM-SystemStats",""], --- > ["SHOW","STATS","","","true","MMM-PC-Stats",""], > ["HIDE","STATS","","","false","MMM-PC-Stats",""], 145,148c130,133 < ["SHOW","WEATHER","","","true","currentweather",""], < ["HIDE","WEATHER","","","false","currentweather",""], < ["SHOW","WEATHER","","","true","weatherforecast",""], < ["HIDE","WEATHER","","","false","weatherforecast",""] --- > ["SHOW","WEATHER","","","true","MMM-BMW-DS",""], > ["HIDE","WEATHER","","","false","MMM-BMW-DS",""], > ["SHOW","WEATHER","","","true","MMM-NOAA3",""], > ["HIDE","WEATHER","","","false","MMM-NOAA3",""]
As you can see, I added support for the following modules:
MMM-iFrame, mmm-hue-lights, MMM-NetworkScanner, MMM-Solar, and MMM-stocksI also modified your existing support for the STATS and WEATHER commands, altering them to act upon different modules.
Thanks for the really cool module and easy instructions to extend!
-
@doctorwhen said in Hello-Lucy:
Thanks for the really cool module and easy instructions to extend!
You’re welcome. I tried to make the installation instructions as clear as possible. You have just confirmed that for me, so thank you.
I went ahead and added your modifications to the repo so that they now work by default for anyone that cares to use Lucy.
Many thanks!
-
Hello-Lucy.
Minor Update
Add 4 more modules to the defaults:
- MMM-EveryNews
- MMM-MercuryInRetrograde
- MMM-PLOW
- MMM-WeatherOrNot
Bringing the total of modules that now work by default to 58
-
@Mykle1
I have installed Hello Lucy.
My microphone and speakers are working correctly.
And Hello Lucy logo also appears on the magic mirror screen,But when I give command like Hello Lucy it won’t respond.
Only temperature module is showing and not working.
I’m using Raspberry pi 3 B plus model. -
So, Hello-Lucy does not show either? You should see a microphone icon with the words “Say, Hello Lucy” next to it.
Did you complete all 3 installation steps in the readme?
Using the default config? You would still need to install those modules. Using other than the default modules you would have to follow the directions in the “How to add modules to Hello-Lucy” file included in the clone of Lucy AND install those modules. Have you done that?
What is the result of
arecord -l
in your terminal? (That’s a lower case L)Lastly, post your config entry for Hello-Lucy in a code block so I can see it. All modules in the config must be installed separately for Lucy to control them. This is one of mine:
{ disabled: false, module: "Hello-Lucy", position: "top_center", config: { keyword: 'HELLO LUCY', // keyword to activate listening for a command/sentence timeout: 15, // timeout listening for a command/sentence standByMethod: 'DPMS', // 'DPMS' = anything else than RPi or 'PI' microphone: "0,0", // run "arecord -l" card # and device # mine is "0,0" sounds: ["1.mp3", "11.mp3", "a.mp3", "best.mp3", "c.mp3", "1.mp3", "listening.mp3", "me2.mp3", "nice.mp3", "weather.mp3"], // welcome sound at startup. Add several for a random choice of welcome sound confirmationSound: "ding.mp3", // name and extension of sound file startHideAll: true, // All modules start as hidden EXCEPT PAGE ONE // *** Page One is your default startup page *** This overrides startHideAll: true, pageOneModules: ["Hello-Lucy", "MMM-EasyPix"], // default modules to show on page one/startup pageTwoModules: ["Hello-Lucy", "MMM-BMW-DS", "MMM-EventHorizon"], // modules to show on page two pageThreeModules: ["Hello-Lucy", "MMM-Lunartic"], // modules to show on page three pageFourModules: ["Hello-Lucy", "MMM-PC-Stats"], // modules to show on page four pageFiveModules: ["Hello-Lucy", "MMM-Searchlight"], // modules to show on page five pageSixModules: ["Hello-Lucy", "MMM-NOAA3"], // modules to show on page six pageSevenModules: ["Hello-Lucy", "MMM-Nascar"], // modules to show on page seven pageEightModules: ["Hello-Lucy", "MMM-rfacts"], // modules to show on page eight pageNineModules: ["Hello-Lucy", "MMM-History"], // modules to show on page nine pageTenModules: ["Hello-Lucy", "MMM-HardwareMonitor"] // modules to show on page ten } },