Magic Mirror addon for home assistant

@fernandex00 facing the same issue here … could the author please take note of this?

I laso get no_module error… would you mind throwing an eye on it please?

Got it fixed by adding "cmd": "cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js"

  "gitupdate": true,
  "npmupdate": false,
  "npminstall": false,
  "modules": [
    {
      "name": "MMM-OnScreenMenu",
      "git": "https://github.com/sytone/MMM-OnScreenMenu.git",
      "cmd": ""
    },
    {
      "name": "DailyXKCD",
      "git": "https://github.com/Blastitt/DailyXKCD.git",
      "cmd": ""
    },
    {
      "name": "MMM-pages",
      "git": "https://github.com/edward-shen/MMM-pages.git",
      "cmd": ""
    },
    {
      "name": "MMM-iFrame",
      "git": "https://github.com/alberttwong/MMM-iFrame.git",
      "cmd": ""
    },
    {
      "name": "MMM-homeassistant-sensors",
      "git": "https://github.com/leinich/MMM-homeassistant-sensors.git",
      "cmd": "cd $MIRROR_APP_PATH/modules/MMM-homeassistant-sensors && wget https://github.com/Templarian/MaterialDesign-Webfont/archive/master.zip && unzip master.zip"
    },
    {
      "name": "MMM-HASS",
      "git": "https://github.com/aserramonner/MMM-HASS.git",
      "cmd": "cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js"
    }
  ]
}
1 Like

@thundergreen, not sure what this does, but your fix was added to my github.

well… it pulls the list again … I found a fix on giithub and tried it… and it works well :slight_smile:

Hi, i’m just realized that the magic mirror addon stop working, got this in the logs

--------------------------------
 Running Magic Mirror setup
 GITUPDATE: true
 NPMUPDATE: false
 NPMINSTALL: false
 MM_CONFIG_ROOT: /config/magicmirror
 MM_CONF_PATH: /config/magicmirror/config
 MM_MODULES_PATH: /config/magicmirror/modules
 MM_CSS_PATH: /config/magicmirror/css
--------------------------------------------------------------------------------
[INFO] Magic Mirror already installed
[INFO] Magic Mirror configuration folder exists @ /config/magicmirror/config
[INFO] Magic Mirror module folder exists @ /config/magicmirror/modules
[INFO] Magic Mirror css folder exists @ /config/magicmirror/css
[INFO] Magic Mirror configuration exists
[INFO] Copying configuration and modules
[INFO] Node Version: v10.16.3
[INFO] NPM Version: 6.11.3
[INFO] Updating Magic Mirror install
From https://github.com/MichMich/MagicMirror
   a31546b..500147e  master     -> origin/master
 * [new tag]         v2.9.0     -> v2.9.0
 * [new tag]         V2.2.1     -> V2.2.1
 * [new tag]         v.2.1.3    -> v.2.1.3
 * [new tag]         v2.0.0     -> v2.0.0
 * [new tag]         v2.0.1     -> v2.0.1
 * [new tag]         v2.0.2     -> v2.0.2
 * [new tag]         v2.0.3     -> v2.0.3
 * [new tag]         v2.0.4     -> v2.0.4
 * [new tag]         v2.0.5     -> v2.0.5
 * [new tag]         v2.1.0     -> v2.1.0
 * [new tag]         v2.1.1     -> v2.1.1
 * [new tag]         v2.1.2     -> v2.1.2
 * [new tag]         v2.2.0     -> v2.2.0
 * [new tag]         v2.2.2     -> v2.2.2
 * [new tag]         v2.3.0     -> v2.3.0
 * [new tag]         v2.3.1     -> v2.3.1
 * [new tag]         v2.4.0     -> v2.4.0
 * [new tag]         v2.4.1     -> v2.4.1
 * [new tag]         v2.5.0     -> v2.5.0
 * [new tag]         v2.6.0     -> v2.6.0
 * [new tag]         v2.7.0     -> v2.7.0
 * [new tag]         v2.7.1     -> v2.7.1
Updating a31546b..500147e
error: Your local changes to the following files would be overwritten by merge:
	package-lock.json
Please commit your changes or stash them before you merge.
Aborting

Is it possible to show mm on hassio host hdmi (in my case rpi3)?

The rPI3 needs a web browser to display MM, so the easiest way would be to install Raspian desktop version (with UI), install Hassio and MM using Docker, then open a web browser on the UI that points to the MM address (localhost + port #).

Maybe it’s not that easy, but it is possible. You’re also pushing the rPi3 to its limit, so I wouldn’t run any more intensive applications.

Now I’m having issues starting this up after install. This is what I get:

[INFO] Checking - MMM-HASS @ https://github.com/aserramonner/MMM-HASS.git
[INFO] Installing - MMM-HASS @ https://github.com/aserramonner/MMM-HASS.git
Cloning into 'MMM-HASS'...
added 49 packages from 60 contributors and audited 64 packages in 8.897s
found 0 vulnerabilities
[INFO] running cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js
error: pathspec 'modules/node_modules/node_helper/index.js' did not match any file(s) known to git

I was finally able to get this to complete and it shows that all modules have been started and is ready to go. But when I go to my “local.host:8181” I receive page cannot be displayed. No errors in the logs. Anyone have any ideas?

Thanks,

I don’t think you can. This is just a webserver. You will need a second RPi with raspian or something installed on it that you can open in a browser. Hassio seems to be pretty locked down when it comes to command line execution.

What did you do to get this to complete? I am throwing the same error but am in the noob category and cannot figure it out.

I still cannot get this to work.

Is this still working?

Hi, I just found this addon and would LOVE to use it to host my MM2 Server on Home Assistant but it seems i cannot add the repository and that it’s been locked.

Is this project still active at all? It’s a fantastic add-on from the looks of things and it’s exactly what i want for use with a few of my rpi Zero Ws and some screens around the house.

Did you try my repo? https://github.com/bouwew/sytone-hassio-addons
I’ve kept the code as up-to-date as possible, based on contributions from actual users that had provided fixes.

You can add the repository but it will not install

Update: I have included a new pull-request from the original repo, does that help?

Please provide more info: is there any error message shown when you try the installation?
Is there any error-info shown in Configuration --> Logs?

@bouwew is there a way to show Magic Mirror on a display connected to the Home Assistant server?

Sorry, no idea. I don’t use the addon myself, I just volunteered to host the code on my github.