A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • how to start an image slide show with a press of a button?

    10
    0 Votes
    10 Posts
    4k Views
    cruunnerrC
    So you use the camera module i posted? unfortunately i don’t use this module, so i am maybe the wrong person to ask… But i took a look at the webcam.js of the module and in line 46/47 the width and hight is defined. Maybe u should play around with that… https://github.com/alexyak/camera/blob/master/webcam.js nano MagicMirror/modules/camera/webcam.js also check the camera.js at line 62/63… nano MagicMirror/modules/camera/camera.js I don’t know if it would be necessary to set the resolution of the cam within raspbian… ? To start the cam with a button u can even use the MMM-Buttons module. This should work, if i understand the camera-module correct ^^ { module: 'MMM-Buttons', config: { maxShortPressTime: 1000, buttons: [ { pin: 15, name: "camera", shortPress: { notification: "SHOW_CAMERA", } }, longPress: { notification: "HIDE_CAMERA", }, }, ] } },
  • French mirror problem

    1
    0 Votes
    1 Posts
    699 Views
    D
    Hi, everybody I have a little problem, I have put my mirror in French language but i can’t see the accents, I see “?” in diamond. Can you help me please (Sorry for my horrible English =D)
  • Controlling Embedded Youtube Video on MM

    23
    0 Votes
    23 Posts
    16k Views
    P
    Now I control PLAY and PAUSE through voice commands in the youtube module, instead of with MMM-Remote-Control. I would like to send data like http://localhost:8080 /youtube?Id=XXXXXXX, also with voice, but I can not find the form. The idea is to have a list of videos to play, automated by voice. Any idea? It could become a very interesting module…
  • Input field forces restart instead of update

    3
    0 Votes
    3 Posts
    1k Views
    J
    Thanks @ninjabreadman, that seems to do the trick for now :)
  • Refresh every day at midnight

    2
    0 Votes
    2 Posts
    1k Views
    cruunnerrC
    i would use pm2 for that. sudo nano /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file # and files in /etc/cron.d. These files also have username fields, # that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) 59 23 * * * pi pm2 restart mm # should work…
  • Heat Problem

    15
    0 Votes
    15 Posts
    9k Views
    ?
    Thanks, I will heatsinks a try and see if they can keep it cool enough. Alexa-pi is part of the mirror, but just for asking questions, no further integration. Keeping the frame open would be nice, but then I need to have some safety around the screen electronics. Need to have a look. Thanks you.
  • Server connection

    4
    0 Votes
    4 Posts
    3k Views
    ?
    I should know this … But you are right. Thank you
  • Unable to install dependencies!

    1
    0 Votes
    1 Posts
    760 Views
    A
    I am having following errors while installing MM Cloning MagicMirror Done! Installing dependencies ... npm WARN prefer global coffeescript@1.10.0 should be installed with -g npm WARN prefer global jsonlint@1.6.2 should be installed with -g > uws@0.14.5 install /home/pi/MagicMirror/node_modules/uws > node-gyp rebuild > build_log.txt 2>&1 || exit 0 Unable to install dependencies! pi@raspberrypi:~ $
  • Can't view MM page from PC after update [Fixed]

    4
    0 Votes
    4 Posts
    2k Views
    FlatPepsiF
    Got it solved, but not sure what exactly fixed it. I changed my config lines: address: "0.0.0.0", ipWhitelist: [], And then rebooted. Didn’t fix it. Rebooted again later, and then it was fixed. Very odd - but fixed is fixed!
  • MMM-MyNotes is authorised, but is failing to load

    1
    0 Votes
    1 Posts
    873 Views
    D
    Hi folks. I have installed MMM-MyNotes, and it is reporting that it is authorised but when running, the module just constantly shows “loading”. Any ideas why?
  • Trim the fat in a JSON file?

    6
    0 Votes
    6 Posts
    3k Views
    E
    @doubleT If you think there is an improvement that can be done to that module, perhaps file an issue or PR at the module repo? I’ve been looking at that module and wondering if it’s worthwhile using it, or rather just use something more complete as a template. What do you think?
  • fs.stat SyntaxError: Unexpected token

    6
    0 Votes
    6 Posts
    3k Views
    P
    Yes, I had imported it with const fs = require ('fs'); but I was not creating the function well in the right place. Thank you. It’s crazy what I want, I know. I want to connect Kalliope (modular always-on voice controlled personal assistant) - https://kalliope-project.github.io with MagicMirror. I find it a very powerful and flexible tool. The program I already manage it well separately and I have created “neurons” and “events” … etc, but it would be wonderful to interact with MagicMirror modules. Lights, sensors, temperature, webcam, notifications, reading email, music … etc, that I already have it integrated in Kalliope
  • MMM-PIR-Sensor: Everything works fine, just one thing not...

    7
    0 Votes
    7 Posts
    3k Views
    cruunnerrC
    @Medo Glad to hear that :)
  • 0 Votes
    3 Posts
    2k Views
    MedoM
    Next problem occured: There are three kinds of entries in my fritzbox caller list and the device names the calls are directed to: telephone1 telephone2 unknown (NULL, empty Entry) I can filter out telephone1, but cannot the entries with unknown/ NULL (no name, just nothing is stated). So, how can i filter these unknown caller entries? If i try the empty brackets with the deviceFilter Option, but nothing happens…
  • MagicMirror Stuck/Freeze

    Solved
    11
    0 Votes
    11 Posts
    10k Views
    F
    Last thing I see before it crashes https://gyazo.com/b9e8990255cfe865eb0055eb414b05ae Modules alert,holiday,hello world,weather, and (motion detector had a few problems with)
  • 3rd party Module Image Slideshow options Configuration Help

    3
    0 Votes
    3 Posts
    2k Views
    P
    @Mykle1 Thanks Mykle for the help
  • Magic mirror keeps turning blank

    3
    0 Votes
    3 Posts
    2k Views
    S
    Easy… just install xscreensaver with sudo apt-get install xscreensaver then go to screensaver preferences and disable the screensaver, thats all.
  • Local file copy to Pi instead of using Github

    4
    0 Votes
    4 Posts
    2k Views
    N
    @Cyberwrights You can still download Git for Windows, or any other git client, and clone the repo. So long as you copy the entire folder to your USB, it should (afaik) also copy all of the git-specific repo files, and appear as a git repo on your Pi.
  • Trying to use MMM-MyCommute, config.js doesn't look right

    4
    0 Votes
    4 Posts
    3k Views
    cruunnerrC
    @deerbelac said in Trying to use MMM-MyCommute, config.js doesn’t look right: You’re my new best internet friend. LOL you are welcome mate ;)
  • Temperature regulated fan on RPI

    3
    0 Votes
    3 Posts
    2k Views
    cruunnerrC
    @Peter why not just using a python script? found this one here: #!/usr/bin/env python3 # coding: utf-8 import os import time import signal import sys import RPi.GPIO as GPIO pin = 36 # The pin ID, edit here to change it maxTMP = 50 # The maximum temperature in Celsius after which we trigger the fan GPIO.setmode (GPIO.BOARD) def setup(): GPIO.setmode(GPIO.BOARD) GPIO.setup(pin,GPIO.OUT) GPIO.setwarnings(False) return() def getCPUtemperature(): res = os.popen('vcgencmd measure_temp').readline() temp =(res.replace("temp=","").replace("'C\n","")) print("temp is {0}".format(temp)) #Uncomment here for testing return temp def fanON(): setPin(True) return() def fanOFF(): setPin(False) return() def getTEMP(): CPU_temp = float(getCPUtemperature()) if CPU_temp>maxTMP: fanON() else: fanOFF() return() def setPin(mode): # A little redundant function but useful if you want to add logging GPIO.output(pin, mode) return() try: setup() while True: getTEMP() time. sleep(8) # Read the temperature every 5 sec, increase or decrease this limit if you want except KeyboardInterrupt: # trap a CTRL+C keyboard interrupt GPIO.cleanup()