A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    9 Views
  • Weather Location / Calendar Format / Fast boot

    12
    0 Votes
    12 Posts
    12k Views
    M
    @mochman Thanks for your help. I’ll try it, when I am working the next time on my Magic Mirror.
  • Help getting MagicMirror going.

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    J
    Sorry about that my internet here went out for a few minutes. Here is the rest of what I was trying to add to my first post… I would like some help getting my pi2 running Rasbian jessie working. I think that i installed all I need to but am not 100% sure, the auto installer failed and i attempted to install manually. My first thought was that Electron was not installed or not installed correctly so i tried running the “node serveronly” option but that failed too. from the results of that i am lead to believe that it has something to do with the modules. I had originally try to customize my the config for the modules but i now have all the default settings in place. I have also included the log file from the last error 0_1464396891025_npm-debug.log This is the error that i get when i try “npm start”. pi@raspberrypi:~/MagicMirror $ npm start magicmirror@2.0.0 start /home/pi/MagicMirror electron js/electron.js /home/pi/MagicMirror/node_modules/electron-prebuilt/dist/electron: relocation error: /home/pi/MagicMirror/node_modules/electron-prebuilt/dist/electron: symbol t4lessIjESaIS2_EE17_M_insert_unique_IS2_EESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_, version GLIBC_2.4 not defined in file libm.so.6 with link time reference npm ERR! Linux 4.1.13-v7+ npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start” npm ERR! node v6.2.0 npm ERR! npm v3.8.9 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! magicmirror@2.0.0 start: electron js/electron.js npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the magicmirror package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron js/electron.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs magicmirror npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls magicmirror npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/MagicMirror/npm-debug.log This is what i get when i run “node serveronly” pi@raspberrypi:~/MagicMirror $ node serveronly module.js:442 throw err; ^ Error: Cannot find module ‘finalhandler’ at Function.Module._resolveFilename (module.js:440:15) at Function.Module._load (module.js:388:25) at Module.require (module.js:468:17) at require (internal/module.js:20:19) at Object. (/home/pi/MagicMirror/node_modules/express/lib/application.js:16:20) at Module._compile (module.js:541:32) at Object.Module._extensions…js (module.js:550:10) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3)
  • Mirror goes blank after 10 minutes...

    Solved configuration
    3
    0 Votes
    3 Posts
    3k Views
    floooF
    Ok, I did find a solution on a different forum in the interweb that did work. I post it here, so that if someone else is looking for the same thing, try the following: Before we start, I did this on a raspberry pi 3, there are a lot of solutions, but most of them don’t work on the pi3. To prevent the pi from going black, I used a little porgam thats called set. apt-get install x11-xserver-utils No you have to open the file: /etc/xdg/lxsession/LXDE/autostart,. Put the following stuff in it: xset s off # don't activate screensaver xset -dpms # disable Energy Star features xset s noblank # don't blank the video device Possibly also comment out the line that says @xscreensaver -no-splash, so the file should now look like this: @lxpanel --profile LXDE @pcmanfm --desktop --profile LXDE # @xscreensaver -no-splash xset s off xset -dpms xset s noblank As well make sure you did the stuff from the wiki in the /etc/kbd/config. In this file the following values should be set to the following: BLANK_TIME=0 BLANK_DPMS=off POWERDOWN_TIME=0 After you did all this, /reboot the pi. this worked for me… :-) cheers, Flo
  • Weather not displaying

    Unsolved
    7
    0 Votes
    7 Posts
    4k Views
    C
    I figured it out. I was putting the entire link in the line instead of just the key. Once I made that change, it came right up. Dumb mistake but that’s how I learn. Thanks for your help!!!
  • Calendar does not appear

    Unsolved
    7
    0 Votes
    7 Posts
    4k Views
    E
    Kalender-0 (out): No helper found for module: alert. Kalender-0 (out): No helper found for module: clock. Kalender-0 (out): Initializing new module helper ... Kalender-0 (out): No helper found for module: currentweather. Kalender-0 (out): No helper found for module: weatherforecast. Kalender-0 (out): Initializing new module helper ... Kalender-0 (out): All module helpers loaded. Kalender-0 (out): Starting server op port 8080 ... Kalender-0 (out): Server started ... Kalender-0 (out): Connecting socket for: calendar Kalender-0 (out): Starting node helper for: calendar Kalender-0 (out): Connecting socket for: newsfeed Kalender-0 (out): Starting module: newsfeed Kalender-0 (out): Sockets connected & modules started ... Kalender-0 (out): Launching application. Kalender-0 (out): Create new calendar fetcher for url: webcals://sharing.calendar.live.com/calendar/private/SOME-NUMBERS/calendar.ics - Interval: 300000 Kalender-0 (out): Create new news fetcher for url: http://feeds.feedburner.com/blogspot/rkEL - Interval: 300000 Kalender-0 (out): Whoops! There was an uncaught exception... Kalender-0 (out): MagicMirror will not quit, but it might be a good idea to chec k why this happened. Maybe no internet connection? Kalender-0 (out): If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Kalender-0 (err): { [Error: listen EADDRINUSE :::8080] Kalender-0 (err): code: 'EADDRINUSE', Kalender-0 (err): errno: 'EADDRINUSE', Kalender-0 (err): syscall: 'listen', Kalender-0 (err): address: '::', Kalender-0 (err): port: 8080 } Kalender-0 (err): /usr/bin/unclutter: someone created a sub-window to my sub-win dow! giving up Kalender-0 (err): /usr/bin/unclutter: someone created a sub-window to my sub-win dow! giving up Kalender-0 (err): X Error of failed request: BadWindow (invalid Window paramete r) Kalender-0 (err): Major opcode of failed request: 20 (X_GetProperty) Kalender-0 (err): Resource id in failed request: 0x2000001 Kalender-0 (err): Serial number of failed request: 46 Kalender-0 (err): Current serial number in output stream: 46 Kalender-0 (err): { [Error: getaddrinfo EAI_AGAIN feeds.feedburner.com:80] Kalender-0 (err): code: 'EAI_AGAIN', Kalender-0 (err): errno: 'EAI_AGAIN', Kalender-0 (err): syscall: 'getaddrinfo', Kalender-0 (err): hostname: 'feeds.feedburner.com', Kalender-0 (err): host: 'feeds.feedburner.com', Kalender-0 (err): port: 80 } That way? Note from admin: Please use Markdown on code and shell output snippets so it is easier to read!
  • Local host only shows NGINX server page.

    Solved
    9
    0 Votes
    9 Posts
    5k Views
    J
    @Jpseck89 As in Configuring the Raspberry Pi on the github wiki. Rotating the screen edit /boot/config.txt sudo nano /boot/config.txt Add the following line: display_rotate=1
  • ERR when running DISPLAY=:0 npm start

    Unsolved
    1
    0 Votes
    1 Posts
    2k Views
    P
    Here is the debug log: 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ] 2 info using npm@3.8.9 3 info using node@v6.2.0 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle magicmirror@2.0.0~prestart: magicmirror@2.0.0 6 silly lifecycle magicmirror@2.0.0~prestart: no script for prestart, continuing 7 info lifecycle magicmirror@2.0.0~start: magicmirror@2.0.0 8 verbose lifecycle magicmirror@2.0.0~start: unsafe-perm in lifecycle true 9 verbose lifecycle magicmirror@2.0.0~start: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/root/MagicMirror/node_modules/.bin:/usr/bin:/usr/local/sbin:/usr/local/b$ 10 verbose lifecycle magicmirror@2.0.0~start: CWD: /root/MagicMirror 11 silly lifecycle magicmirror@2.0.0~start: Args: [ '-c', 'electron js/electron.js' ] 12 silly lifecycle magicmirror@2.0.0~start: Returned: code: 1 signal: null 13 info lifecycle magicmirror@2.0.0~start: Failed to exec start script 14 verbose stack Error: magicmirror@2.0.0 start: `electron js/electron.js` 14 verbose stack Exit status 1 14 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:245:16) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at EventEmitter.emit (events.js:191:7) 14 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at ChildProcess.emit (events.js:191:7) 14 verbose stack at maybeClose (internal/child_process.js:850:16) 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5) 15 verbose pkgid magicmirror@2.0.0 16 verbose cwd /root/MagicMirror 17 error Linux 4.4.9-v7+ 18 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start" 19 error node v6.2.0 20 error npm v3.8.9 21 error code ELIFECYCLE 22 error magicmirror@2.0.0 start: `electron js/electron.js` 22 error Exit status 1 23 error Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'. 23 error Make sure you have the latest version of node.js and npm installed. 23 error If you do, this is most likely a problem with the magicmirror package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error electron js/electron.js Note from admin: Please use Markdown on code snippets so it is easier to read!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • Unable to install dependencies!

    Unsolved
    3
    0 Votes
    3 Posts
    3k Views
    S
    seems to be. I was browsing this forum on it when I posted the question.
  • HowTo use different calendar?

    Unsolved
    5
    0 Votes
    5 Posts
    5k Views
    KirAsh4K
    @DirkS, the 'repeatingCountTitle' was implemented by @MichMich (from a PR that a user created, I forgot who.) You may want to ask him.
  • npm ERR! file support request

    Solved troubleshoot error
    2
    0 Votes
    2 Posts
    4k Views
    KirAsh4K
    You need to be inside of the MagicMirror folder for that to work.
  • Fetching Calendar and Newsfeed fails

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    D
    OK i fixed it due to the log ;) I had a mistake within the config of the MMM-PIR Module. Now i fixed it and the calendar and newsfeed started to show up again!
  • Error Installing Dependecies

    Unsolved installing dependecies error problem
    4
    0 Votes
    4 Posts
    7k Views
    MichMichM
    Interesting. Could you give https://github.com/electron/electron-quick-start a try to see if that one works?
  • Config Help!

    Solved
    9
    0 Votes
    9 Posts
    9k Views
    I
    @MichMich I tried the jshint and jslint but, was not successful because of my lack of knowledge in this language. I fixed it but basically scrapping the whole file and doing one section at a time. I learnt a whole lot in two hours though haha
  • FontAwesome icons..

    Solved
    2
    0 Votes
    2 Posts
    4k Views
    KirAsh4K
    We do use FontAwesome with the Calendar module. Take a look at how that’s implemented (how to include the font-awesome.css file, and how to allow the user to pick which symbol to use.) [image: 1463470371353-calshot.png]
  • Mirror is blank even after preparing a config.js file

    Unsolved
    6
    0 Votes
    6 Posts
    4k Views
    paviroP
    @taztrk please use Markdown on code snippets so it is easier to read :) Looks like your OS or node version is not supported by Electron. Try using Raspbian especially if you do not have much experience.
  • Calling a bitmap image..

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    D
    Heya folks, I tried to use the HTML tag to call a normal BitMap, but it just returns on the screen as a square with the normal icon that an image cannot be loaded or found… I have the BitMap within the same directory as the index.html file and still this does not work, I think thought I would test the idea of loading a random image from google image using the exact link… example: This worked straight away for me, but I cannot seem to get it to load regardless of the directory I use where the image is placed within the MagicMirror directory :) If anyone cold help, put me straight that would be awesome!
  • YouTube Video Playlist issues

    Unsolved
    1
    0 Votes
    1 Posts
    2k Views
    D
    Heya folks, Fairly new to MagicMirror2, everything is installed, current version, works a treat, looks awesome too! Anyway I added this code as an tag within a tag, now this is the strange part if I open the index.html file using firefox itself runs as it should and plays the complete playlist, auto plays, repeats… Everything is fine. But once it is opened as it should be on my Raspberry Pi 2 B, it will cue to autoplay the first song/video but then just show a revolving icon meaning it is loading and nothing more. However if I use tab on my keyb and hit the pause button and then hit the enter button again it is quite happy to play the next song/video for me until the end of that said track. Here is the exact HTML You can insert that within a tag if you wish and see if that will play the next track after the first automatically yourself if you wish… Just the mind is boggling here and I’m not sure how or why this is happening… Anyhelp of an example would be awesome :D
  • Raspberry Pi 3 and Chromium

    Solved
    10
    0 Votes
    10 Posts
    8k Views
    MichMichM
    @paviro that message is already there. OP must have missed it.