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
    52 Views
  • Scheduled restart for MM or module

    14
    0 Votes
    14 Posts
    9k Views
    zdenekZ
    I would like to ask for help - module doesn’t work for me at all. I’ve got an error: Failed to load resource: the server responded with a status of 404 (Not Found) loader.js:190 Error on loading script: modules/iFrameReload//iFrameReload.js but it’s not possible. here is my config.js: { module: 'iFrameReload', position: 'top_center', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: "http://portal.chmi.cz/files/portal/docs/meteo/rad/mobile/ra6_30min.gif", width: "160px", // Optional. Default: 400px height: "120px", // Optional. Default: 800px refreshInterval: 1800 //Optional. Default: 3600 = 1 hour } }, the url exists, feel free to try. with iFrame module it works, but without updating/refresh thanks for help
  • ENOMEM errors coming from UpdateNotification and MMM-PIR-Sensor modules

    6
    0 Votes
    6 Posts
    3k Views
    cowboysdudeC
    @malicious_banjo said in ENOMEM errors coming from UpdateNotification and MMM-PIR-Sensor modules: pihole module I would suggest uninstalling the pihole module… pihole uninstall [I believe I read somewhere]
  • Problem with PIR Sensor not working

    2
    0 Votes
    2 Posts
    3k Views
    M
    Have you confirmed the sensor itself is actually working? Write out the following python script and run it: import gpizero import MotionSensor pir = MotionSensor(x) //x = the out pin on your Pi. while True: if pir.motion_detected: print("Motion detected!") else: print("Nothing") And make sure you’re using the BCM pin numbering.
  • Error installing

    8
    0 Votes
    8 Posts
    4k Views
    cowboysdudeC
    @tunamelt that one I’m not too sure about…perhaps someone else can shed some light on this one :)
  • Hosting a local proxy to deal w/ CORS

    2
    0 Votes
    2 Posts
    1k Views
    T
    Nevermind. I get it now. Node helper is the way around this problem. I’m all set.
  • can't start on jessie with pixel

    6
    0 Votes
    6 Posts
    3k Views
    Mykle1M
    @canadrian said in can’t start on jessie with pixel: did a fresh install, not on pixel, updated, updated new version of node, did a manual install, looks ok thanks for advice You’re welcome. It’s good to know that you successfully installed MM. I’m an old “tinkerer” who likes doing things the old fashioned way. That is why I recommend the manual installation. At least you can check your steps if something goes awry. When the automatic installation fails, there’s nothing you can troubleshoot. Enjoy your mirror.
  • Black blank screen

    black blank screen
    11
    0 Votes
    11 Posts
    11k Views
    H
    So, at least for my installation I was able to sort things out. This also included as well re-installing Raspbian, but I just wanted to have a clean installation. The main culprit seem to be the node.js version which is important to be at least from the V7 branch (V8 not tested, my system shows v0.10.x before any installation steps) and an issue with the automated installation script: Problem in automated installation script: It tests for node.js V5.1.x and if not or only an earlier version is found, asks to install node.js from the V6 branch. Even with the latest node.js version from V6 the installation of electron fails in a postinstall step due to a problem in the extract-zip package (yes, complicated, indeed). Indicator for the problem in the electron installation is a missing path.txt file which should be in the electron sub folder and the message “Electron failed to install correctly, please delete node_modules/electron and try installing again” if MM is tried to be started. Even, if the electron installation is fixed as described before, you will just get a black screen: MM starts, but all areas remain empty which is optically “a black screen”. This (and actually the other problems as well) can be fixed by installing the node.js version of the V7 branch before installation. Additionally, due to the problems during the installation the final steps, e.g. creating the config file and asking, if the automatic start manager PM2 should be used, are not executed. Hint: You can check the node.js version by issuing: node -v Clean installation steps: Optional: Re-install Raspbian to get a clean system Update Raspbian: sudo apt-get update sudo apt-get upgrade Reboot Update to node.js V7.x (if you have already installed and used node.js of the V8.x branch then you may not like to execute the following lines) as described on node.js project website: curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt-get install -y nodejs Get and install MagicMirror (without starting it) from the PI home folder: git clone https://github.com/MichMich/MagicMirror cd ~/MagicMirror npm install Fix complaints about global scripts (may be optional, requires sudo due to the global option as special folders have to be accessed): sudo npm install --global stylelint sudo npm install --global coffeescript Execute post installation steps from the automatic installation script to make it perfect: cp ~/MagicMirror/config/config.js.sample ~/MagicMirror/config/config.js sudo mkdir /usr/share/plymouth/themes/MagicMirror sudo cp ~/MagicMirror/splashscreen/splash.png /usr/share/plymouth/themes/MagicMirror/splash.png sudo cp ~/MagicMirror/splashscreen/MagicMirror.plymouth /usr/share/plymouth/themes/MagicMirror/MagicMirror.plymouth sudo cp ~/MagicMirror/splashscreen/MagicMirror.script /usr/share/plymouth/themes/MagicMirror/MagicMirror.script Optional: If you would like to autostart MM and to install the automatic start tool PM2: sudo npm install -g pm2 sudo su -c "env PATH=$PATH:/usr/bin pm2 startup linux -u pi --hp /home/pi" pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json pm2 save Steps in 7&8 taken from the automatic script: https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh Oh, start MM, if you a directly working on the system (no SSH/Putty connection): npm start or while using a SSH/Putty connection: DISPLAY=:0 nohup npm start & Regards, HerrB92
  • Constant Loading at Newsfeed and Calender

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    G
    Fixed it after reinstalling everything. #Can get closed
  • Error says Read-only file system?

    13
    0 Votes
    13 Posts
    8k Views
    I
    @cowboysdude I think I got lucky with it actually being the micro-SD card. I’ve been using a SD card adapter to fit into the SD slot in my computer, and unfortunately there’s only one of those on my laptop :P For some reason, when I had the old card, formatting it (even when it was completely empty and fresh out of the box) took at least half an hour. Now with the new one it only took about 5 minutes.
  • [SOLVED] Ajax CORS Issue

    2
    0 Votes
    2 Posts
    2k Views
    cowboysdudeC
    I had to do this in one of my node_helper modules… Hope it helps: request({ url: url, method: ‘GET’, headers: { ‘User-Agent’: ‘MagicMirror/1.0 (’ + this.config.email + ‘)’ } You won’t need the +this.config.email but it was required for the data I was seeking :)
  • TeamSpeak Magic Mirror Help Desk

    19
    1
    2 Votes
    19 Posts
    13k Views
    Mykle1M
    [image: 1497484075106-capture11.jpeg] Sorry I missed you “Sneaker.” You may want to message me on the forum first so that we can arrange to meet at the Help Desk. However, feel free to use it at any time with anyone you like.
  • 0 Votes
    2 Posts
    2k Views
    I
    @Iron_Reptar Just for fun I decided to try to rerun the command again, and it first said that “dpkg was interrupted.” so I ran sudo dpkg --configure -a Like the screen told me to, then re-re-ran it, to arrive at the error "E: Sub-process /usr/bin/dpkg returned an error code (1). Help, all I want is a working mirror :(
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    17 Views
  • Problem when trying to run it

    1
    0 Votes
    1 Posts
    775 Views
    B
    Hi, I tried to install the code automatically and in getting an error code. Syntax error near unexpected token ‘then’. I looked it up and it said there should be a space between if and [ but I’m not sure how to find out which file has that error and I’m not sure why it would since I got the code straight from the source.
  • Html into Iframe

    2
    0 Votes
    2 Posts
    2k Views
    romainR
    Scratch that, the first example is working. It’s just that, because of the body black background, the text inside the iframe wasn’t visible. Justed needed to to change the css for the iframe to overide the background of the body
  • Unable to get any modules working

    5
    0 Votes
    5 Posts
    3k Views
    S
    You know, I did the same thing. Drove me NUTS for days trying to figure out what I did. My problem was the parentheses ’ from copy/pasted scripts and text file was different than the one entered via putty or the console. One of the tools I found invaluable was a code validator I found online http://esprima.org/demo/validate.html Try your MM Script in there to troubleshoot. Not sure if it will work with everything, but it worked for mine. I’ve done 5 mirrors with it. Good Luck!
  • Disable No-Singal output for any tv?

    11
    0 Votes
    11 Posts
    6k Views
    J
    @cowboysdude My cousin works for Samsung and gets an employee discount, so price was the motivator for me as well ;) Anyway I’ll give this a shot to see if behaves the same was as yours.
  • Magic Mirror is not running full screen

    4
    0 Votes
    4 Posts
    5k Views
    Mykle1M
    @wwrgsww You’re welcome. Enjoy your mirror!
  • Screen Stops Updating Server Continues

    1
    0 Votes
    1 Posts
    745 Views
    M
    I finally did a fresh install to see if I could get rid of my module problems. I did basically solve that. However, after a while my screen freezes and module updates stop showing except for the clock. (I believe) However, If I look at the mirror from my computer and ip address it is updated and fine. I don’t know if you need logs to solve this but let me know. I get a 429 error for the phone_notification app and a wifi disconnect error and thats all I’ve seen. The wifi disconnect could be the issue. My internet does tend to go out here often. Let me know what you guys think! Thanks!