A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • config.js docent work anymore

    8
    0 Votes
    8 Posts
    4k Views
    tbbearT
    @fischi87 NEIN, bestimmt nicht. War viel einfacher: location: “Strehla, Germany”, aus deiner config.
  • Wifi connection potential issue

    7
    0 Votes
    7 Posts
    2k Views
    B
    Ok sounds good to me, thank you for the help! And lol @Mykle1 thats the hope
  • first attempt .. gone wrong :)

    Solved
    9
    0 Votes
    9 Posts
    4k Views
    D
    finally here’s the solution : as mentioned here, you should use this command for installation : npm install --unsafe-perm=true and now installation is succesfull!
  • Black screen after install update v2.2

    11
    0 Votes
    11 Posts
    9k Views
    H
    @ryck said in Black screen after install update v2.2: cd modules/MMM-Buttons npm install electron-rebuild ./node_modules/.bin/electron-rebuild You are my hero… :)
  • Alexa KittAi

    1
    0 Votes
    1 Posts
    1k Views
    N
    When I try to start the wake word I get this. Is there a way to reload or check the install of kitt_ai. Alexa works when using the onscreen button otherwise. pi@raspberrypi:~ $ cd ~/Desktop/alexa-avs-sample-app/samples pi@raspberrypi:~/Desktop/alexa-avs-sample-app/samples $ cd wakeWordAgent/src && ./wakeWordAgent -e kitt_ai INFO:main: Starting Wake Word Agent INFO:WakeWordAgent: State set to IDLE(2) ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave Expression ‘paInvalidSampleRate’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2043 Expression ‘PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2714 Expression ‘PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2838 ERROR:Failed to open PortAudio stream.Invalid sample rate ERROR:KittAiSnowboyWakeWordEngine: Initialization error:Failed to open PortAudio stream. ERROR:WakeWordAgent: exception in constructor: Failed to open PortAudio stream. ERROR:main: Exception happened: Failed to open PortAudio stream. INFO:Shutting down Wake Word Agent pi@raspberrypi:~/Desktop/alexa-avs-sample-app/samples/wakeWordAgent/src $
  • MMM-Syslog not working anymore?

    9
    0 Votes
    9 Posts
    4k Views
    MrCoffeeM
    @broberg The apache server is for some smart home function. Has nothing to do with the MagicMirror … yet;-)
  • What's the difference?

    15
    0 Votes
    15 Posts
    8k Views
    Mykle1M
    @strawberry-3.141 Thank you, mate.
  • Can't access magic mirror via http ?

    Unsolved
    10
    0 Votes
    10 Posts
    12k Views
    chaseb1357C
    So I have the same issues. I was wondering if there has been any developments on this subject over the past few months. Have any workarounds been discovered so I can finally remote access my Magic Mirror?
  • Need help with config syntax error

    5
    0 Votes
    5 Posts
    3k Views
    B
    Yes… I am trying to uncomment the MMM-History area. With that area not included MM starts (still throwing errors messages but it works). Akismet won’t let me change my post :)
  • Unable to update

    15
    0 Votes
    15 Posts
    10k Views
    E
    @kidddrock said in Unable to update: Hopefully it’s not too late to help save you (and others) some time and worry. I just updated my install using ‘git pull && npm install’ and it actually aborts if it detects the update will overwrite files you’ve changed (pretty awesome feature imo). Also, you don’t need to copy your main folder or even move any files elsewhere - all you need to do is rename the files it says would be overwritten with the update, and you can leave them in the same folder. For instance, it said my main.css had changes and would be overwritten. I just renamed it to main2.css and left it where it was (and did similarly to a few other files). After updating to the latest MM, I just went to the css folder, opened up that file (sudo nano main2.css), then saved it overwriting the newly updated version (saved to main.css). That’s all I did for the few files I had customized and upon restart, all of my changes were present. Good luck! Actually it wasn’t a matter of overwriting files. That I could figure out. I couldn’t even do a git pull During the automatic installation a .git file wasn’t created or initialised. Worked out in the end thought… Just a massive ball ache.
  • Modules doesn't show

    4
    0 Votes
    4 Posts
    2k Views
    G
    Just fyi, the “location” under module currentweather is within quote marks (") but I done goofed when I did “****” instead of my real location
  • 0 Votes
    3 Posts
    2k Views
    strawberry 3.141S
    @17saiiqb https://github.com/YR/MMM-YrNow/blob/master/MMM-YrNow.js#L57 and https://github.com/YR/MMM-YrNow/blob/master/MMM-YrNow.js#L62 use arrow functions, which could be replaced with normal functions as the scope isn’t used in the function anyways. return this.list.points.filter(function(item) { item.precipitation.intensity > 0 && Date.parse(item.time) >= new Date().valueOf()})[0]; return this.list.points.filter(function(item) { item.precipitation.intensity === 0 && Date.parse(item.time) >= new Date().valueOf()})[0]; https://github.com/YR/MMM-YrNow/blob/master/printf.js#L14 return String(str).replace(RE_PRINTF, function(token) { not sure if … was also introduced in es6 or before https://github.com/YR/MMM-YrNow/blob/master/printf.js#L10
  • MagicMirror does not start at all

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    1
    I kinda gave up, I’m just going to reinstall MagicMirror, and see if that fixes anything. Can I mark a topic as closed by the way?
  • Modules disappearing randomly

    3
    0 Votes
    3 Posts
    2k Views
    R
    @Mykle1 actually I noticed that the time on the mirror freezes first, so I think actually something is corrupted. I’m going to do a fresh install and hope that fixes it. Will report back, thank you!
  • I'm very new to this

    9
    0 Votes
    9 Posts
    4k Views
    Mykle1M
    @Coltjb45 Does your entry look like this? { module: "currentweather", position: "top_right", header: "New York", config: { location: "", locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR API KEY HERE", } }, { module: "weatherforecast", position: "top_right", header: "New York City", config: { location: "", locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR API KEY HERE", } },
  • Image writing problems

    1
    0 Votes
    1 Posts
    813 Views
    P
    Not special for MM, but I have problems writing an image. Finally Jessie installed, MM with the modules I like and I want to save this image to my Windows PC. Tried to run disk32image as administrator, virusscanner disabled, but I get a error 2 message. Strange: it worked nomally a week ago. Who can help me? Peter
  • npm start doesn't work

    3
    0 Votes
    3 Posts
    2k Views
    T
    I have tried : $ sudo apt update and $ sudo apt install nodejs But there is still the same error. I hope somebody can help me.:)
  • ipWhitelist - still not working

    Solved
    10
    1
    0 Votes
    10 Posts
    5k Views
    Mykle1M
    @SimtechBen Nice!
  • Quit MM with script

    2
    1
    0 Votes
    2 Posts
    2k Views
    Mr.SpontiM
    @start-the-fire said in Quit MM with script: CTRL-C isn’t an option cause I’m us Hi, maybe you can use my bash script mmhelper.sh to start/stop MagicMirror from the command line or from another script (e.q. python, nodejs). #!/bin/bash # # mmhelper.sh start | stop | status | hdmi_on | hdmi_off| hdmi_status # # Last edited: 10.09.2017 (c) Mr.Sponti # #set -x HOME=/home/pi PATH=$PATH:$PWD MY_NAME=$(basename -- "$0") function monitor_on() { /opt/vc/bin/tvservice --preferred > /dev/null 2>&1 sudo chvt 6 sudo chvt 7 } function monitor_off() { /opt/vc/bin/tvservice --off > /dev/null 2>&1 } function monitor_status() { # get power status --> 1 = off , 0 = on power=$(/opt/vc/bin/tvservice --status |grep "TV is off"|wc -l) if [ $power -eq 1 ] then echo "off" elif [ $power -eq 0 ] then echo "on" fi } # check first runstring parameter if [ -z "$1" ] then cmd=start else cmd=$1 fi case $cmd in "start") # start MagicMirror pm2 start mm ;; "stop") # stop MagicMirror pm2 stop all ;; "status") pm2 status mm ;; "hdmi_on") # switch monitor on monitor_on monitor_status ;; "hdmi_off") # switch monitor off monitor_off monitor_status ;; "hdmi_status") monitor_status ;; *) echo "undefined command" echo "usage: $MY_NAME start|stop|status|hdmi_on|hdmi_off|hdmi_status" esac You also need the mm.sh script in your home directory! pm2 flush # start Magic Mirror system cd ~/MagicMirror DISPLAY=:0 npm start Merry Christmas!
  • mm-system-temperature

    13
    0 Votes
    13 Posts
    8k Views
    P
    Thanks! Why could I not find it? Peter