A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • 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()
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    24 Views
  • Problem after installing MM on Pi Zero W

    11
    0 Votes
    11 Posts
    6k Views
    W
    I had the same issue. Tried Chromium instead Midori, where it works fine.
  • MagicMirror and Domoticz

    5
    0 Votes
    5 Posts
    3k Views
    D
    @cruunnerr it worked… why didnt i think of this haha thanks! it was bothering me for weeks
  • Modifying Magic Mirror for a gift...

    5
    0 Votes
    5 Posts
    3k Views
    N
    I went ahead and did the PIR sensor. After a few frustrating days I got it working- very cool. Thank you for the suggestion. I’ve also commented out the update notifications- thank you for pointing out the setup tutorial, there were a few other things on there I’ve missed. Thanks for the help, Tom
  • Mockup size adjusting

    2
    1
    -4 Votes
    2 Posts
    2k Views
    yawnsY
    @olha wrong screenshot? Or very brash advertisement?
  • MMM-PIR-Sensor wont do anything

    2
    0 Votes
    2 Posts
    1k Views
    T
    @TS77UK said in MMM-PIR-Sensor wont do anything: echo “4” > /sys/class/gpio/export Ignore that! I was looking at the wrong pin map for my model Pi! I should have been in number 4 not 7! As soon as I typed it I realised the answer lol Thank you for your time
  • remoteFile in compliments module

    71
    0 Votes
    71 Posts
    95k Views
    Mykle1M
    @zeal I have not. By default, the compliments module looks for the compliments.json file in the compliments module folder. I suppose you could try using the path to the file on your server in your config entry remoteFile: "PATH_TO_FILE_ON_SERVER/comliments.json", Dunno if that will work though.
  • Cant run the app

    11
    0 Votes
    11 Posts
    6k Views
    cruunnerrC
    i am wondering why u use MM 2.2.1. The actual release is 2.2.2 i think. Anyhow… Try starting in development mode and take a look at errors: npm start dev or via ssh: DISPLAY=:0 npm start dev
  • Trouble With config file

    5
    0 Votes
    5 Posts
    2k Views
    cruunnerrC
    Try Xcode ;) In cyberduck do a right click and say “edit with --> Xcode” For ssh i use “terminus”
  • No start

    1
    0 Votes
    1 Posts
    793 Views
    G
    I do npm start, it looks like that the app started, but the screen just stays black
  • Fresh install MM2 RP3 wont start :(

    6
    0 Votes
    6 Posts
    3k Views
    P
    @ninjabreadman No i realy happy i got it working thanks everyone for all the help Alot of great support gong on in the forms Big Thumbs up to you all Thanks
  • Transfer to smaller SD card

    5
    0 Votes
    5 Posts
    3k Views
    C
    appreciate all the help here guys, going to try a few of these options out this afternoon Cheers
  • mp2 won"t start properly

    5
    0 Votes
    5 Posts
    2k Views
    yawnsY
    @dnzio You start the shell/terminal/bash either directly on the pi, via ssh (putty for example) or via vnc and either type or copy paste the command Then you press enter
  • Something is wrong ....

    19
    0 Votes
    19 Posts
    8k Views
    cruunnerrC
    I am glad u found out what causes your problem :D Yeah, the RPi is very limited in processor power. That is the reason, why some users went over to old laptops or small x86 solutions :)
  • PIR with a relay module

    1
    0 Votes
    1 Posts
    1k Views
    M
    So, as in this thread I am trying to use a PIR sensor that powers off my screen via a relay. I’ve had no luck so far. The module MMM-PIR-sensor works nicely as it should, as long as I don’t use relayPIN in the config.js. I also tried doing that via external python scripts, but somehow the relay doesn’t get triggered. Well, it clicks extactly once and that’s it. Has anyone managed to use a PIR sensor with a relay on a Raspberry Pi 3 B? If so, how did you do that? Edit: Btw, gpio -g write 27 0 or gpio -g write 27 1 do absoloutly nothing. Wiringpi v 2.44 is installed.
  • npm start and black screen

    5
    0 Votes
    5 Posts
    3k Views
    N
    @dexterbeng I would guess 15-30 seconds. pm2 has to detect that the process has terminated and restart. It depends on the polling interval for pm2 (which, as far as I can tell from their docs/issues, is 100ms, and cannot be changed – seems more frequent than I expected). Why are you killing mm with Ctrl+Q? Better to use pm2 restart mm or even pm2 start mm --watch which will also restart mm after file system changes (you may need to configure which directories to watch).
  • I need help with my magic mirror screen

    2
    0 Votes
    2 Posts
    1k Views
    Mykle1M
    @Areeba Rotating the screen requires that you edit the /boot/config.txt file. You simply need to add the following line to that file and save. display_rotate=1 Reboot.