Really nice work !
Read the statement by Michael Teeuw here.
Posts
-
RE: Passing Variables Around
Hello,
I was trying to clean my config file and the following is working for me.
Let me know if it’s working for you.
/* Magic Mirror Config Sample
*- By Michael Teeuw http://michaelteeuw.nl
- MIT Licensed.
*/
var stocks_list = “INDEXSTOXX:SX5E”;
var weather_api_key = “XXXXXXXX”;
var weather_pws = “XXXXXXXX”;
var hue_bridge_ip = “XXXXXXXX”;
var hue_user_id = “XXXXXXXX”;
var voice_code = “JARVIS”;var alert = { module: ‘alert’ };
var stocks = { module: ‘mmm-stocks’, position: ‘top_bar’, config: { stocks: stocks_list, updateInterval: 37000 } };
var clock = { module: ‘clock’, position: ‘top_left’ };
var weather = { module: ‘MMM-WunderGround’, position: ‘top_left’, config: { apikey: weather_api_key , weather_pws ,hourly: ‘1’, alerttruncatestring: “french:” } };var hue = { module: ‘MMM-Hue’, position: ‘top_right’, config: { bridgeip: hue_bridge_ip , userid: hue_user_id ,colour: false} };
var hide = { module: ‘mm-hide-all’, position: ‘bottom_right’ };
var voice = { module: ‘MMM-voice’, position: ‘bottom_bar’, config: { keyword: voice_code, microphone: 1, debug: true } };
var config = {
port: 8080,
language: ‘en’,
timeFormat: 24,
units: ‘metric’,
modules: [ clock, hue, stocks, voice, weather ]
};/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== ‘undefined’) {module.exports = config;} -
RE: MMM-synology-ds
Hi,
I got this error when i launch the Magic Mirror :
Loading module helpers ... No helper found for module: alert. Initializing new module helper ... App threw an error during load Error: /home/plumcraft/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEi at Error (native) at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:178:20) at Object.Module._extensions..node (module.js:583:18) at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:178:20) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object.<anonymous> (/home/plumcraft/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:3:13) Whoops! There was an uncaught exception... Error: /home/plumcraft/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEi at Error (native) at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:178:20) at Object.Module._extensions..node (module.js:583:18) at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:178:20) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object.<anonymous> (/home/plumcraft/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:3:13)
npm dependencies are installed, here is my config file :
{
module: ‘MMM-synology-ds’,
position: ‘left_bottom’,
header: ‘Download Station’,
config: {
host: ‘xxxxxxx’,
port: ‘5000’, // Server port (not required if default port (5000) is used)
login: ‘xxxxxxx’,
passwd: ‘xxxxxxx’,
refreshInterval: 10, // in seconds
compactMode: true, // recommanded in left or right position.
}
}Thanks
-
RE: Hide a module while still having it work
Interested about it too.
@DevilRev : How are you going to know which mode is active ?
-
RE: MMM-WunderGround
I’ve updated the module too and i got the same issue.
After restarting, it works and sometimes i have the error.
Thanks
-
Microphone issue
Hello,
I have some trouble with my microphone.
When i’m recording to try my micro with :- arecord -D plughw:1,0 test_mic.wav.
I can not hear properly, just a little bit in the background with a lot of noise.I got a usb microphone, i also tried with usb sound card with micro (with jack plug).
I put at 100% the microphone settings in alsamixer too.
Have you done with custom configuration ?
Thanks
-
RE: MMM-voice
With @strawberry-3-141 help, thanks again by the way, it’s working now :)
If you got the same issue, here the solution :
- delete the node_modules folder and then rerun the installer.
- remove the words.json file on root module folder and restart the magic mirror.
(It’s going to be regenerated when the module starts)
That should be it.
-
RE: MMM-voice
Hello,
I’m trying the MMM-voice but no luck for now.
I got “Error” on the Magic mirror and i have the following error in the debug.log :
INFO: continuous.c(295): Specify ‘-infile <file.wav>’ to recognize from file or ‘-inmic yes’ to recognize from microphone.
ERROR: “cmd_ln.c”, line 641: Duplicate argument name in arguments: -adcdev
ERROR: “cmd_ln.c”, line 704: Failed to parse arguments list
INFO: continuous.c(295): Specify ‘-infile <file.wav>’ to recognize from file or ‘-inmic yes’ to recognize from microphone.And got “12712712712712712712712711111111111111111111” in error.log
I already tried couple of things :
- reinstall the module by deleting the node_modules folder and rerun the dependencies.sh script.
- upgrade everything with apt-get upgrade
- Configure the usb microphone by creating .asound.rc file
I’m using a standart usb microphone (http://www.banggood.com/fr/USB-Microphone-For-Raspberry-Pi-p-993726.html)
I’ve found couple of differents versions how to setup an usb microphone on a RPI3 but no luck either to have a clear sound when i’m recording wav file to test it with following command :
- arecord -D plughw:1,0 test_mic.wav
Is there a excellent microphone for RPI3 ?
Really looking forward to use this module.
Thanks for your help