Read the statement by Michael Teeuw here.
Hello-Lucy sometimes not working
-
Hi,
First of all I would like to thank you @Mykle1 and @sdetweil for creating such an amazing module. :)I am having problems while giving voice commands.
I am using a Rasberry PI4 which I have connected to a Sceptre monitor via HDMI cable. And connected a USB mic to my PI4.These are all the modules I am using - MMM-GoogleFit , MMM-MyCommute, MMM-OpenmapWeather, MMM-Worldclock, calendar_monthly, MMM-GoogleAssistant, MMM-Assistant2Display, calendar (Default), clock (default), compliments(Default), newsfeed(Default), weatherforecast(Default)
— This is my output for checking the microphone -----
pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****card 2: Device [USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
---- This is my config.js file —
{{ falsedisabled: false, falsemodule: "Hello-Lucy", falseposition: "top_center", falseconfig: { false keyword: 'HELLO LUCY', // keyword to activate listening for a command/sentence false timeout: 15, // timeout listening for a command/sentence false standByMethod: 'DPMS', // 'DPMS' = anything else than RPi or 'PI' false microphone: "2,0", // run "arecord -l" card # and device # mine is "0,0" false sounds: ["1.mp3", "11.mp3"], // welcome sound at startup. Add several for a random greetings false confirmationSound: "ding.mp3", // name and extension of sound file false startHideAll: true, // All modules start as hidden EXCEPT PAGE ONE false // *** Page One is your default startup page *** This overrides startHideAll: true, false pageOneModules: ["Hello-Lucy","MMM-EasyPix"] // default modules to show on page one/startup false /*pageTwoModules: ["Hello-Lucy", "MMM-BMW-DS", "MMM-EventHorizon"], // modules to show on page two false */ false } false},
When I start the Magic mirror, it says the welcome message and then the mic icon appears with text “Say, Hello Lucy” in front of it. By default it doesn’t hide all the Modules. On the main page it still shows 2 modules weatherforecast(default one) and MMM-OpenmapWeather. It hides rest of the modules
Question 1 - I am not sure why is it showing these 2 modules? Default weather forecast is already supported by the Hello Lucy module and should be hidden. And I tried adding MMM-OpenmapWeather to be supported by Hello Lucy but it still comes on the default page when I start the mirror first time.Question 2 - Mic worked only few times. Sometimes it doesn’t do anything after saying “Hello Lucy”. I tried to stop and start the MM again. Out of 5 times only 1 time it worked. Any thoughts on what can be wrong?
Question 3- The only commands I am planning to use are “Show Modules” (which should show all the modules) and “Hide Modules” (Which should hide all the modules). How can I set up this command?
I apologies if my questions are very basic :)
Any help is appreciated! -
@scarecrow u can’t have Lucy and Google Assistant both active. they both want total control of the mic. no sharing available.
-
@sdetweil said in Hello-Lucy sometimes not working:
u can’t have Lucy and Google Assistant both active
True that. That would account for it not working, for sure.
-
Even after removing Google assistant the results are same, lucy is not responding. Any other solution?
Model: 3B+ -
This is a double post
-
@varad-wattamwar i posted in your github issue, you determined it was a dialect problem and I gave you options for trying to resolve it
just as Mykle mentioned, posting in multiple places does not make an answer appear faster