I think the developer has to make an update
Figured it out: you can install it from the EDGE repository of community add-ons. Fair warning, Iâm already hitting bugs to report so itâs not 100% but pretty dang close. The community add-on github repo looks to be where current work is being done, but who knows when itâll get to stable release.
Yes, but I couldnât install any module, and there are no config file, do you managed to install modules?
After installing the add-on I was able to get MM modules installed (there is a config file, itâs in a magicmirror folder in your config folder), but my bugs center around the add-on container not restarting nginx properly so Iâm not able to see the updates yet. Fwiw I got to âhello worldâ, watched in the logs as the add-on installed the modules I specified in the config, and will just have to wait for the restart bug to get worked out or I figure out a workaround. But it does look like the wheels are in motion.
This addon creates a magicmirror folder, what is the location of the community edge addon,?
for completeness, thereâs also
Thank you but you donât understand my question, i got magic mirror addon from the edge repository, you said there was a magicmirror folder where you can edit the config file, this folder is in a different location to the the old magicmirror addon creates ?
Would also be keen to know where that config folder is created for the edge add-on
To get this working the long lived toked has to be handed over as environmental variable. For this purpose I created a magic mirror.config.js in the same folder as the mm.sh
module.exports = {
apps : [
{
name: "MagicMirror",
script: "./mm.sh",
watch: true,
env: {
"HASSIO_TOKEN": âXXXXXXXXXXXXâ
}
}
]
}
In the absense of @sytone Iâve fixed what was causing the error, it was an easy fix, please try my repository. Iâve also included the pull-request and added extra info where needed.
@sytone, let me know if you want to receive a pull-request with my changes.
Any suggestions for improving the README.md are welcome, Iâm not using this add-on (yet).
"What I wanted was to show a camera feed in the middle of the mirror when I would say âhey google show outside cameraâ
Any ideas?
here my HA Config for my magic mirror
#=======================================================================
# Do a FIND REPLACE
# MMIPADDRESS with the the magicMirror ipaddress ???.???.???.???
#=======================================================================
homeassistant:
customize:
package.node_anchors:
customize: &customize
package: 'Magic Mirror'
sensor.mm_display:
icon: mdi:monitor
friendly_name: Mirror Display
switch.mm_display:
icon: mdi:monitor
friendly_name: Mirror Display
script.mm_reboot:
icon: mdi:lock-reset
script.mm_shutdown:
icon: mdi:power
sensor:
- platform: rest
resource: http://MMIPADDRESS:8080/remote?action=MONITORSTATUS
name: mm display
value_template: '{{ value_json.monitor }}'
#=======================================================================
#
#=======================================================================
switch:
- platform: command_line
switches:
mm_display:
command_on: "curl -s 'http://MMIPADDRESS:8080/remote?action=MONITORON'"
command_off: "curl -s 'http://MMIPADDRESS:8080/remote?action=MONITOROFF'"
#=======================================================================
#
#=======================================================================
shell_command:
mm_reboot: "curl -s 'http://MMIPADDRESS:8080/remote?action=REBOOT'"
mm_shutdown: "curl -s 'http://MMIPADDRESS:8080/remote?action=SHUTDOWN'"
#=======================================================================
#
#=======================================================================
script:
mm_reboot:
alias: Magic Mirror Reboot
sequence:
- data: {}
service: shell_command.mm_reboot
mm_shutdown:
alias: Magic Mirror ShutDown
sequence:
- data: {}
service: shell_command.mm_shutdown
I just put it a Packages folder.
he is the lovelace look
Do you use âmagic mirror add onâ?
No
But looking at also righting my own add on I can read the api and get a list of modules loaded my python is Google reading
Thanks for the response
Can this integrate Magic Mirror Modules?
eg: Module MM-Clock
Hi there,
I added the Magic Mirror git-repo to my hass.io. After adding, nothing happened⌠nothing magic mirror related showed up.
But, the logging contains this message:
19-09-01 14:18:30 WARNING (MainThread) [hassio.store.data] Canât read /data/addons/git/64f57845/magic_mirror/config.json: required key not provided @ data[âarchâ]. Got None
Could someone tell me how to deinstall magic mirror, please ?
Sorry, I had to move the improved copy of the repository, it is now here:
Donât worry, nothing was installed.
You can just remove the repo and try again with my repo.
hi guys.
I have a question regarding lovelace and magicmirror. Is it possible to show custom cards of lovelace on magicmirror? has anyone tried it?
thanks.
hi i get this error, anyone with this problem?
[INFO] Start serveronly magic mirror process
--------------------------------------------------------------------------------
Starting MagicMirror: v2.8.0
Loading config ...
Loading module helpers ...
No helper found for module: alert.
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node_helper'
Loading module helpers ...
No helper found for module: alert.
Whoops! There was an uncaught exception...
{ Error: Cannot find module 'node_helper'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/opt/magic_mirror/modules/default/updatenotification/node_helper.js:6:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3) code: 'MODULE_NOT_FOUND' }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues