Read the statement by Michael Teeuw here.
Hello-Lucy
-
Also, please open a new terminal and type
cat /proc/asound/cards
and post the result here please.Mine looks like this:
pop@e8300:~/MagicMirror$ cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xf7130000 irq 29 1 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xf7080000 irq 17
-
-
Definitely a problem
-
0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA bcm2835 ALSA 1 [Device ]: USB-Audio - USB Audio Device C-Media Electronics Inc. USB Audio Device at usb-0000:01:00.0-1.1, full speed
-
@TheGeekfather said in Hello-Lucy:
It seems all my modules are in
modules/default/We went over this earlier, I think. Only the default MM modules go there. All other modules go on the root of the modules folder
-
Other modules installed there are working but had to change paths for icons to work
-
@TheGeekfather said in Hello-Lucy:
Other modules installed there are working but had to change paths for icons to work
I don’t even know how to reply to that. Modules belong in the modules folder
-
@TheGeekfather The problem is when you try to change things you also are changing the way the mirror works and this will lead to issues…the kind you are having LOL.
Default modules are wired to work out of that directory - /modules/default
3rd party modules are wired to work out of the modules directory. /modulesSeems like a lot of extra work and if you miss something then you will have issues. So my suggestion is that if you get a module from github you do this:
in the MagicMirror/modules directory
git clone https://github.com/mykle1/Hello-Lucy.gitThen go to the dir you just cloned the repository in ie MagicMirror/modules/Hello-Lucy
[typically from there if a module has dependencies you’d run ‘npm install’… for Lucy you have to be in the MagicMirror/modules/Hello-Lucy/installers directory and you would run a bash command]Put the module in your config and you’re off an running…
This will put your modules in the correct place to run without having to change the module itself… Where you are going to run into issues is when a developer hard codes something you can’t find…
It’s already happened and that creates issues that are VERY difficult to solve…But I am glad you are trying to learn something and seem very enthusiastic about it :)
-
I guess the best thing is to re-install all my modules in the correct folder. Is that the only way to get Lucy to work.
Thank you again for all your help
-
OK, here is what I did
- deleted Hello-Lucy folder from default directory
- cloned hello-lucy in modules directory
- cd installers and ran bash dependencies.sh
- npm start
in modules/default directory In the defaultmodules.js file I added
var defaultModules = [ "alert", "calendar", "clock", "compliments", "currentweather", "helloworld", "newsfeed", "weatherforecast", "updatenotification", "MMM-Swipe", "MMM-NHL", "MMM-BMW-DS", "modules/Hello-Lucy", "MMM-iFrame", "MMM-Astro",
lucy started and microphone icon no longer had “undefined” error but icon not flashing and commands like “show clock” or hide “clock” don’t seem to be working