• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. jorgh6
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
J
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 2
  • Posts 6
  • Groups 0

jorgh6

@jorgh6

0
Reputation
278
Profile views
6
Posts
0
Followers
0
Following
Joined Apr 5, 2019, 4:37 PM
Last Online Mar 5, 2020, 8:02 AM

jorgh6 Unfollow Follow

Latest posts made by jorgh6

  • RE: Installing MagicMirror in a Docker container

    Assuming you’re running the container as per instruction on the magicmirror website and have stored the config and modules on the filesystem of your host.

    1. Stop the running container.
    2. Remove the container
    3. Pull the new version from docker hub.
    4. Start the container using the new version.

    So assuming you’ve used the command as instructed on the website:

    docker run -d
    –publish 80:8080
    –restart always
    –volume ~/magic_mirror/config:/opt/magic_mirror/config
    –volume ~/magic_mirror/modules:/opt/magic_mirror/modules
    –name magic_mirror
    bastilimbach/docker-magicmirror

    Updating to the latest version can be done by:

    1. docker stop magic_mirror
    2. docker container rm -v magic_mirror
    3. docker pull bastilimbach/docker-magicmirror
    4. docker run -d
      –publish 8080:8080
      –restart always
      –volume ~/magic_mirror/config:/opt/magic_mirror/config
      –volume ~/magic_mirror/modules:/opt/magic_mirror/modules
      –name magic_mirror
      bastilimbach/docker-magicmirror

    I’ve however noticed, that although the Magic Mirror docker image is just a couple of days old, the Magic Mirror version within the container is over 2500 commits old. So apparently the daily update script is not updating the contents of the docker image on docker hub correctly (missing --no-cache option???). I’ve build a container myself using the associated Dockerfile on github and that results in a up to date version.

    I would recommend making a backup of you’re config and modules folder, just to be on the safe side.

    Using the above method, the old image is still available, so you could easily revert back to the old image, if required. You can remove that image using the ‘docker image rm’ command.

    Kind regards,

    Jorg

    posted in Tutorials
    J
    jorgh6
    Apr 9, 2019, 8:40 PM
  • Not all modules working correctly within MMM-Facial-Recognition

    Hi all,

    I’ve got the facial recognition working. However not all modules seem to work properly when activated for a user.
    For example the google route when activated for a user displays a zoomed out view of the whole of europe when activated for a specific user. If I however also add it for the ‘default’ class, it functions properly (both default and the specific user it’s activated for). I would however only like to display that module for a specific user only.
    Same goes for the compliments module. It only functions properly when it’s also added to the ‘default’ class.
    The calendar module, works perfectly fine when displayed only for a specific user.
    Anyone faced similar issues and found a solution?

    Kind regards,

    Jorg

    posted in Troubleshooting
    J
    jorgh6
    Apr 7, 2019, 8:06 PM
  • RE: Can't get MMM-Facial-Recognition working

    Got it working by changing two lines in node_helper.js (changes in bold).

    Line 4:
    const {PythonShell} = require(‘python-shell’);
    Line 11:
    const pyshell = new PythonShell(‘modules/’ + this.name + ‘/facerecognition/facerecognition.py’, { pythonPath: ‘python’, mode: ‘json’, args: [JSON.stringify(this.config)]});

    posted in Troubleshooting
    J
    jorgh6
    Apr 7, 2019, 7:14 PM
  • RE: Can't get MMM-Facial-Recognition working

    @jorgh6 said in Can't get MMM-Facial-Recognition working:

    TypeError: PythonShell is not a constructor

    This issue is discussed at https://github.com/paviro/MMM-Facial-Recognition/issues/58 . So I’ll pick it up from there. Apparently some api changes on recent PythonShell updates, there are more modules suffering from the same issue.

    posted in Troubleshooting
    J
    jorgh6
    Apr 7, 2019, 11:08 AM
  • RE: Can't get MMM-Facial-Recognition working

    Ok, thanks for the info. I’ve found that the magicmodule is supspended as a result of it crashing. Error in the log:
    0|MagicMir | TypeError: PythonShell is not a constructor
    0|MagicMir | at Class.python_start (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:11:21)
    0|MagicMir | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:40:14)
    0|MagicMir | at Socket. (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
    0|MagicMir | at Socket.emit (events.js:182:13)
    0|MagicMir | at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
    0|MagicMir | at process._tickCallback (internal/process/next_tick.js:61:11)

    I’ve seen other reports of this issue, at least now I’ve got a lead where to look.

    Kind regards,

    posted in Troubleshooting
    J
    jorgh6
    Apr 7, 2019, 9:32 AM
  • Can't get MMM-Facial-Recognition working

    Hi All,

    I’m running Magic Mirror on a Pi 3B+, and I’m using the Pi V2 camera module.
    I’ve installed the module MMM-Facial-Recognition and the required training tools. After training the model, and verified it positively identifies me using the supplied test tooling, I’ve configured and enabled the module within Magic Mirror.
    The module seems active, as only default classes appear on the mirror, however, if I’m in front of the camera, nothing changes.
    I’ve basically used the config as supplied followed the instructions.
    Anyone a clue on where I can check what’s going wrong here?

    Kind regards,

    Jorg

    posted in Troubleshooting
    J
    jorgh6
    Apr 5, 2019, 4:48 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy