Thank for answering! :-)
Yes the Assistant is https://github.com/eouia/MMM-AssistantMk2
I will test with your recommendation and let you know if I’m able to make it work.
See ya!
Thank for answering! :-)
Yes the Assistant is https://github.com/eouia/MMM-AssistantMk2
I will test with your recommendation and let you know if I’m able to make it work.
See ya!
@otto said in I am givning up.. new install:
cannot load mixer controls: Ogiltigt argument
Did you tried the command I gave you? Thoses a just to validate that your mic is working, after you can work on alsamixer. The basic command are great tools to make sure stuff is working as you want.
Maybe a long shot but did you tried the following solution provided here?
https://askubuntu.com/questions/765396/alsamixer-cannot-open-mixer-invalid-argument
It seems alsamixer can be tricky to config and some files need to be created manually (sound is muted by default at install).
Before doing any reinstall check where is your mic with lsusb
Mine is a webcam so I got the following:
Bus 001 Device 012: ID 046d:0826 Logitech, Inc. HD Webcam C525
Then I confirmed it was seeing my mic with arecord -l
pi@raspberrypi:~/MagicMirror/config $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: C525 [HD Webcam C525], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
So my device is plughw:1,0
Try this to record 3 seconds and play it
arecord -D plughw:1,0 -d 3 test.wav && aplay test.wav
If sound is faint you can adjust the ‘gain’ by doing the following
Open the Audio Device Settings :
Open the Menu in the top left corner->Preferences -> Audio Device Settings
I also tried with a 9$ amazon mic but the sound and recording was really crappy.
Good luck!
Had the same problem, change directory to MagicMirror and execute npm start. Hope it help
@AgP42 said in MMM-SmartWebDisplay : display web contents (including YouTube) on your MM:
through notification by any other module
Hello,
First: Good job, module is very nice and easy to implement.
I have a little problem to understand how to change URL by notification from another module. I am using MMM-Assistant2 with a recipe but I’m not sure how to configure it. A little help would be greatly appreciated.
config.js:
{
module: ‘MMM-SmartWebDisplay’,
position: ‘bottom_left’, // This can be any of the regions.
config: {
// See ‘Configuration options’ for more information.
logDebug: false, //set to true to get detailed debug logs. To see them : “Ctrl+Shift+i”
height:“200px”, //hauteur du cadre en pixel ou %
width:“300px”, //largeur
updateInterval: 0, //in min. Set it to 0 for no refresh (for videos)
NextURLInterval: 0, //in min, set it to 0 not to have automatic URL change. If only 1 URL given, it will be updated
displayStateInfos: false, //to display if the module is on autoloop, or stop.
displayLastUpdate: true, //to display the last update of the URL
displayLastUpdateFormat: ‘ddd - HH:mm:ss’, //format of the date and time to display
url: [“https://www.youtube.com/embed/9xXww6Yyl34?list=PLa51J4RKCoTXCfr-qubj2FUgPADypF3Gk”], //source of the URL to be displayed
scrolling: “no” // allow scrolling or not. html 4 only
}
},
Recipe (playlist.js)
var recipe = {
transcriptionHook: {
“playlist_sylvain”: {
pattern: “liste sylvain”,
command: “playlist_1”
},
},
command: {
“playlist_1”: {
moduleExec: {
module: [“MMM-SmartWebDisplay”],
exec: (module, params, key) => {
module: ({url: [“http://www.google.com”]}) //test url
}
}
},
},
}
exports.recipe = recipe
What I am missing?
Thank you!