A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • 0 Votes
    1 Posts
    1k Views
    B
    Hello, after the new update of the MMM-Podcast Module, I can not start the MMM-Podcast with the module MMM-Buttons. Before it was running fine. Can anyone help me? Thanks Christian
  • Synchronus socketNotification ?

    5
    0 Votes
    5 Posts
    3k Views
    romainR
    Right, I think this is the only way too. It’s kind of annoying though because the value can change so I would need to send it to send node helper every single time it change to keep it up to date. Oh well.
  • Random text fetch from Reddit

    1
    0 Votes
    1 Posts
    983 Views
    S
    Hello everyone. I’m trying to display random text from random subreddits on my mirror. I have found a code that uses jQuery to fetch 10 titles from a page and that can be used successfully inside a html page. Link to the function -> https://gist.github.com/sente/947491 The problem comes when I try to integrate that inside my module. So I try to fetch that data inside my function but using $ I don’t think it does the job. I have no idea how to call a jQuery function inside my script since the example uses a html page. I tried with the getScripts function but the result is the same. My code right now looks like this randomQuote: function() { var script = document.createElement('script'); script.src = 'http://j.mp/jqymin'; script.type = 'text/javascript'; document.getElementsByTagName('head')[0].appendChild(script); var a=[]; script.getJSON( "http://www.reddit.com/r/showerthoughts.json?jsonp=?", function foo(data) { script.each( data.data.children.slice(0, 10), function (i, post) { a.push(post.data.title); } ) } ) return a; }, Any help would be much appreciated since I’m a noob with JavaScript, I’m just starting out.
  • Calendar - not able top open particular Google Calendar

    7
    0 Votes
    7 Posts
    4k Views
    S
    I’m in the same boat. Some of my calendars will show up but others will not. Any new thoughts?
  • mm-music-player errors

    13
    0 Votes
    13 Posts
    7k Views
    F
    Here you got the old Version: https://github.com/MichMich/MagicMirror/tree/v2.1.0/js It worked perfectely @gismo2006 :)
  • MMM-Motion with RPi3 and RPi Official TFT

    1
    0 Votes
    1 Posts
    1k Views
    markbajajM
    I thought I would post this here as I was trying to get my motion sensor to work with the official RPi TFT 7" screen. The module for motion only turns off the HDMI port and not the TFT that is connected via the display connector on the RPi3. What I did to get it to work is to write a short python script that checks for motion. Please excuse my poor python…it’s the first one I’ve written :) #!/usr/bin/env python import RPi.GPIO as GPIO import time import os GPIO.setmode(GPIO.BCM) PIR_PIN = 22 GPIO.setup(PIR_PIN, GPIO.IN) os.system("echo 0 > /sys/class/backlight/rpi_backlight/bl_power") while True: i=GPIO.input(PIR_PIN) if i==1: os.system("echo 0 > /sys/class/backlight/rpi_backlight/bl_power") time.sleep(1) elif i==0: os.system("echo 1 > /sys/class/backlight/rpi_backlight/bl_power") time.sleep(1) Basically, the PIR is on GPIO pin 22 and all this script does is to check for motion and if there is any then turn on the backlight, if not it turns it off. The delay is set on the PIR to about 1 min 30 secs before the pin turns off. I saved it in my home directory (/home/pi). Don’t forget to make it executable by typing: chmod +x motion.py I then added an entry in the /etc/rc.local file to run it at boot as below: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address python /home/pi/motion.py & _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi exit 0 Also, don’t forget the ‘&’ at the end as the script is intended to run in the background and the Pi may not boot if you forget. I hopes this helps someone :)
  • MMM-Temperature-Humidity NODE_VERSION Error

    9
    0 Votes
    9 Posts
    4k Views
    U
    Ok for module_version you have to run npm rebuild --runtime=electron --target=1.3.4 --disturl=https://atom.io/download/atom-shell --abi=49 where 1.3.4 is you current version of electron and 49 is version which is required. After this i have another problem: **2017-06-12 11:58 +02:00: bcm2835_init: Unable to open /dev/mem: Access denied** 0|mm | 2017-06-12 11:58 +02:00: TypeError: Failed to initialize 0|mm | at DHT.read (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rpi-dht-sensor/main.js:7:18) 0|mm | at Class.checkTemperature (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_helper.js:36:32) 0|mm | at Timeout._onTimeout (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_helper.js:29:18) 0|mm | at ontimeout (timers.js:365:14) 0|mm | at tryOnTimeout (timers.js:237:5) 0|mm | at Timer.listOnTimeout (timers.js:207:5) When i run sudo npm start in MagicMirror folder i get errors.;/ npm ERR! Linux 4.9.24-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! magicmirror@2.1.1 start: `sh run-start.sh` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.1.1 start script 'sh run-start.sh'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the magicmirror package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! sh run-start.sh npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs magicmirror npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls magicmirror npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/MagicMirror/npm-debug.log Sameone can help now?
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    177 Views
  • Wunderlist - your todos on the mirror

    113
    0 Votes
    113 Posts
    194k Views
    P
    Hi @paviro ! Great module. I was wondering if it is possible to add the bullet simbol to each task. Kind regards
  • AlexaPI and MagigMirror at same raspberry

    6
    0 Votes
    6 Posts
    4k Views
    E
    @j.e.f.f thanks! arecord test.wav and aplay test.wav works fine. I install pulse too, but still not detect Alexa trigger…
  • Problems with MMM-awesome-alexa install

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    jproehlJ
    Re: MMM-awesome-alexa Hi: Thanks for putting this module together. But I need some help. I walked through your procedure as best I could trying to set up my own Alexa voice service and failed. I have created an Amazon device, but I cannot connect to it. The first wall I believe I ran into was that my Raspberry Pi would not accept the connection from Amazon (but there may have been another issue) because it hadn’t been authorized. Then I saw that there were a couple of ways to attempt to do this and they diverge in what you need to enter into the Amazon device. I tried both and neither seemed to work. So now I’m very confused as to where I am, what I should do to move forward, etc. I’m thinking that I should delete the Amazon device and start over. But if I do that, which procedure should I follow? Is there a final defined procedure that is the best to use? If so, which one? If I can’t delete the Amazon device precisely how should it be configured to talk the the Magic Mirror on my RPi 3? Thanks! jproehl
  • [MMM-PIR-Sensor] Install failing

    75
    0 Votes
    75 Posts
    104k Views
    yawnsY
    @pepemujica No. You can connect the PIR sensor to the GPIO pins of your raspberry (make sure your wiring is proper) and work with the PIR sensor after installing the specific libraries
  • MMM-AlexaPi

    9
    0 Votes
    9 Posts
    5k Views
    michael24hM
    @bminer1 said in MMM-AlexaPi: /etc/opt/AlexaPi This should work pi@Clock: cd /etc/opt/AlexaPi pi@Clock:/etc/opt/AlexaPi ls config.yaml pi@Clock:/etc/opt/AlexaPi nano config.yaml
  • Simple Music Player Module

    19
    0 Votes
    19 Posts
    16k Views
    F
    @EoF I updated my Magic Mirror on 2.1.1. I wanted to try your modul but after copying it into my modules folder and adding the module in the config, I started the mirror and get a blackscreen. I’ve read that more people got the same issue. Got an Idea what’s the problem? :)
  • Default weather module config units issue

    insteon
    2
    0 Votes
    2 Posts
    6k Views
    Mykle1M
    @crafttanner said in Default weather module config units issue: Can someone please tell me what I’m doing wrong? At the very beginning of your config.js you will see units: "imperial", or units: "metric",. With this set to units: "imperial", there is no need to add the units entry to the weather modules at all. Now, if you want to override the global setting at the top, you would have to add the units: "imperial", to the weather modules. In any case, this is how your weather entries should look. { module: "currentweather", position: "top_right", header: "New York", config: { location: "", locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR API KEY GOES HERE", units: "imperial", // default` = Kelvin, `metric` = Celsius, `imperial` =Fahrenheit // your other options can go here. Just remove this line } }, { module: "weatherforecast", position: "top_right", header: "New York", config: { location: "", locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR API KEY GOES HERE", units: "imperial" // default` = Kelvin, `metric` = Celsius, `imperial` =Fahrenheit // your other options can go here. Just remove this line } },
  • monthly calendar - not update

    2
    0 Votes
    2 Posts
    4k Views
    D
    @zdenek Mine didn’t update too. Not sure why.
  • Black Screen after Launching application.

    13
    0 Votes
    13 Posts
    12k Views
    bheplerB
    @dhirajv12 Let’s double-check some things. Please enter the following. cd ~/MagicMirror rm -rf modules/aiclient git pull npm install cp config/config.js.sample config/config.js npm start With luck, that should at the very least get you a basic interface with the calendar, clock, compliments and newsfeed. @dhirajv12 said in Black Screen after Launching application.: In the terminal it says No helper found for module: clock no helper found for module: complements This is normal. The system is checking for a node_helper.js file for every module. Those modules do not have one, so it is reported as such during the startup process.
  • MMM-Stock (issues with 'height' of the module)

    7
    0 Votes
    7 Posts
    5k Views
    B
    i try to disable the animation but without success. has someone a solution?
  • MMM-Wunderlist multiple lists

    2
    0 Votes
    2 Posts
    2k Views
    D
    Sorry for the noise. I found this was already a known issue as of the April 2017 when I finally looked at the Issues section of the GitHub repository. https://github.com/paviro/MMM-Wunderlist/issues/13
  • Todoist not Updating

    1
    0 Votes
    1 Posts
    1k Views
    joela85J
    My Todoist isn’t updating and I can’t work out why. Re-installed, refreshed Api key, same problem. No changes in config file from when it was previously working. I use this app to send reminders or messages to my mirror.