A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Subcategories

  • Any suggestions or wishes for the forum?

    102 Topics
    704 Posts
    S
    @mumblebaj so much fun! everybody is sliding into paywalls.
  • Developing for MagicMirror....Where do I start?

    2
    0 Votes
    2 Posts
    1k Views
    ?
    @jordanargueta said in Developing for MagicMirror....Where do I start?: What is your tech stack for developing for this project? Experiences about HTML, CSS, Javascript(Or NodeJS), *nix Whats the proper way to make new modules? Copy other’s module and research it how it works. See https://github.com/MichMich/MagicMirror/blob/master/modules/README.md https://forum.magicmirror.builders/topic/8534/head-first-developing-mm-module-for-extreme-beginners If you use webstorm how did you get this project to run on your local? (Please answer this like I’m tech illiterate. I’m obviously missing something so too many details could be a big help!) I’m not using webstorm. anyway, you should install nodejs on your computer first. Then install MagicMirror like you did on RaspberryPi. I think *nix machine (Debian/Ubuntu) is good for development, Personally, I develop my modules on Mac OSX. But you can do it on your Windows Powershell. If you use some other IDE or just use something simpler walk me through your process for creating, running, and testing your new scripts? Usually I’m using atom or vim, sublimeText and textWrangler. I don’t care whatever IDE. In my case, I begin from creating git Repository with module name. Then clone it to my workspace (under MM directory where is installed on your dev-machine). Copy some template files from my previous work or You can use https://github.com/roramirez/MagicMirror-Module-Template Or just create file named with MMM-BlahBlah.js. Then doing coding, testing, making manual, then updating git repository. Then release here.
  • END OF SERVICE FOR THE WEATHER UNDERGROUND API

    6
    0 Votes
    6 Posts
    2k Views
    eniacE
    { module: 'MMM-iFrameReload', position: 'top_left', // This can be any of the regions. config: { url: "https://gadgets.buienradar.nl/gadget/zoommap/?lat=50.8838492&lng=8.020959100000027&overname=2&zoom=8&naam=siegen&size=2&voor=0", width: "250px", height: "315px", refreshInterval: 3600 } },
  • 0 Votes
    1 Posts
    661 Views
    T
    Hello, Unfortunately, my English is not really that good, but I hope you can help me;) German post office are rather rare So now to my questions or my plans;): I want to use a second MagicMirror. Or. use a TouchDisplay without mirror in the kitchen with the SmartMirror software. I would like to have appointments, weather etc displayed Is it possible somehow to enter new appointments via the Touch Monitor? Can a Webbrwoser be integrated for surfing? I hope you can continue to help me and my post is readable Thanks and greetings Totti
  • Sensible UK sources for magic mirror glass?

    3
    0 Votes
    3 Posts
    2k Views
    M
    Thanks Damian - that is actually one of the ones I’d already seen as it turns out, but I was surprised by the price as it’s a whisker under a hundred quid to get one 45cm x70cm which isn’t exactly enormous. Maybe it’s just the case that the 2 way mirror process they add is very costly, as it’d be about a 10th of that cost to just get a piece of glass cut that size. Bit of a bugger though as I wasn’t expecting to pay nearly a hundred quid just for a pane of mirror glass. :(
  • Python Cryptography help needed please

    2
    0 Votes
    2 Posts
    954 Views
    D
    ----- I know I entered again at the very end ---- 'pip install --upgrade pip’ — using quotes, this was a C&P error, but it still wont work even without those mistaken quotes.
  • Mirror in Spain

    7
    0 Votes
    7 Posts
    3k Views
    J
    @joseaguardia Por cierto, me costó 45€ el espejo de 50x70cm. La pega es que es algo oscuro, no es color plata.
  • Google Home Hub

    4
    0 Votes
    4 Posts
    3k Views
    P
    thx @emlowe for your feedback I must admit that I hesitated going forward with this project, but I realised I’m not in to make a perfect Google Home Hub replica. I want to find out how close I can get with the features I want. The carousel seems similar to what Google does when you ask something. I also looked into the MMM-Page-Selector module because it seems to be a good way to define the different screens. It also seems to be working together with the MMM-Voice-Commands module. For now I want to make two screens working, one screensaver screen with the Google Photo background, clock and temperature. And one with some information, just to have a proof of concept.
  • Monitors

    1
    0 Votes
    1 Posts
    648 Views
    C
    Separate several types of monitors: Flat displays, plasma panels FED-displays, LCD LCD display, thin-film transistor (TFT) LCD displays. I am intrigued by a liquid crystal TFT monitor. Is it worth the attention or choose some other? What do you advise? https://www.bestadvisor.com/computer-monitors
  • disable MagicMirror update available

    2
    0 Votes
    2 Posts
    2k Views
    H
    @tv25666 You just have to remove (or comment out) the module “updatenotifier” in your config.
  • Windows tablet smart mirror

    15
    0 Votes
    15 Posts
    6k Views
    S
    Ok, I got my tablet, the small test mirror glasses and also MM installed on windows. the display is viewable through all the glasses, but through 3 of them only pretty weak. the fourth one lets much more light through, but i also can see the edges of the display, because it’s not that much of a deep black. in my mind i want a really sophisticated solution. so i will go with the lower light glass or maybe a thin white border around the display background, so it looks like a frame… when i turn off the display, the tablet locks it, so i definitely need a login solution. idea: display general data on the windows lock screen for everyone. display personal data when logged in.
  • Wechsel verschiedener Configs möglich? Deutsch

    3
    0 Votes
    3 Posts
    2k Views
    R
    Oh Super Danke Vielmals
  • Run MM on Ubuntu 16 VM

    31
    0 Votes
    31 Posts
    29k Views
    R
    Hey, i tried tu remove and reinstall MM. Here is the new error : VirtualBox:~/MagicMirror$ node serveronly/ module.js:328 throw err; ^ Error: Cannot find module 'express' at Function.Module._resolveFilename (module.js:326:15) at Function.Module._load (module.js:277:25) at Module.require (module.js:354:17) at require (internal/module.js:12:17) at Object.<anonymous> (/home/monagraphic/MagicMirror/js/server.js:8:15) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Module.require (module.js:354:17) Some one can help me ? EDIT : It works, i launch a second time “npm install”.
  • Migrating whole MMM config to Raspberry!

    5
    0 Votes
    5 Posts
    2k Views
    R
    @mykle1 That’s what I thought of :) Thanks for your help as well!
  • HTTP Server for streaming podcasts / news / volume

    1
    1
    0 Votes
    1 Posts
    634 Views
    Y
    Dear fellow Mirror Designers, I wasn’t sure where to put this so I will post it here. From various sources I created a small python httpserver that changes the mirrors volume, starts a podcast (100 Seconds german news, when brushing your teeth:grimacing_face: ) or opens a live stream. This is the code, nothing special but may be helpful for some of you. I use FHEM and Philips Hue Dimmer Switches to control it: [image: 1540136724308-img_20181021_174249.jpg] Uses: python3, livestreamer, omxplayer #!/usr/bin/python3 -u host_name = '10.0.1.49' # Change this to your Raspberry Pi IP address host_port = 8000 proc = '' import RPi.GPIO as GPIO from pathlib import Path import os import subprocess import signal from subprocess import call from time import sleep from http.server import BaseHTTPRequestHandler, HTTPServer class MyServer(BaseHTTPRequestHandler): def do_HEAD(self): self.send_response(200) self.send_header('Content-type', 'text/html') self.end_headers() def do_GET(self): global proc html = ''' <html> <body style="width:960px; margin: 20px auto;"> <h1>Magic Mirror Control</h1> <p>Current GPU temperature is {}</p> <p>Podcast: <a href="/play">Play</a> <a href="/stop">Stop</a></p> <p>ARD Livestream: <a href="/ard">Play</a> <a href="/stop">Stop</a></p> <p>Volume: <a href="/down">down</a> <a href="/up">up</a></p> <p>System: <a href="/shutdown">Shutdown</a> <a href="/restart">Restart</a></p> <div id="podcast-status"></div> <script> document.getElementById("podcast-status").innerHTML="{}"; </script> </body> </html> ''' temp = os.popen("/opt/vc/bin/vcgencmd measure_temp").read() self.do_HEAD() status = '' if self.path=='/': #GPIO.setmode(GPIO.BCM) #GPIO.setwarnings(False) #GPIO.setup(17, GPIO.IN) status='nothing' elif self.path=='/play': if proc=='': my_file = Path("/home/pi/MagicMirror/video.mp4") if my_file.is_file(): statinfo = os.stat('/home/pi/MagicMirror/video.mp4') if statinfo.st_size > 0: proc = subprocess.Popen(["omxplayer", "-o", "alsa:hw:ALSA", "--no-osd", "/home/pi/MagicMirror/video.mp4"], preexec_fn=os.setsid) status='Playing Podcast' else: proc = subprocess.Popen(["omxplayer", "-o", "alsa:hw:ALSA", "--no-osd", "/home/pi/MagicMirror/Loading.mp4"], preexec_fn=os.setsid) status='Not yet available' else: proc = subprocess.Popen(["omxplayer", "-o", "alsa:hw:ALSA", "--no-osd", "/home/pi/MagicMirror/Loading.mp4"], preexec_fn=os.setsid) status='Not yet available' else: status='Stopping Podcast' os.killpg(os.getpgid(proc.pid), signal.SIGTERM) proc='' elif self.path=='/ard': if proc=='': proc = subprocess.Popen(["livestreamer", "hlsvariant://daserste_live-lh.akamaihd.net/i/daserste_de@91204/master.m3u8", "best", "-vnp", "omxplayer -o alsa:hw:ALSA --no-osd --timeout 20"], preexec_fn=os.setsid) status='Playing ARD Livestream' else: status='Stopping Stream' os.killpg(os.getpgid(proc.pid), signal.SIGTERM) proc='' elif self.path=='/stop': if proc!='': status='Stopping Podcast' os.killpg(os.getpgid(proc.pid), signal.SIGTERM) proc='' else: status='Nothing to stop' elif self.path=='/shutdown': status='Shutdown' subprocess.Popen(["sudo", "shutdown", "-h", "now"], preexec_fn=os.setsid) elif self.path=='/restart': status='Restart' subprocess.Popen(["sudo", "reboot"], preexec_fn=os.setsid) elif self.path=='/down': status='Volume down' subprocess.Popen(["amixer", "set", "Master", "12%-"], preexec_fn=os.setsid) elif self.path=='/up': status='Volume up' subprocess.Popen(["amixer", "set", "Master", "12%+"], preexec_fn=os.setsid) self.wfile.write(html.format(temp[5:], status).encode("utf-8")) if __name__ == '__main__': http_server = HTTPServer((host_name, host_port), MyServer) print("Server Starts - %s:%s" % (host_name, host_port)) try: http_server.serve_forever() except KeyboardInterrupt: http_server.server_close()
  • beginner questions

    1
    0 Votes
    1 Posts
    596 Views
    M
    hi all, i’m new to magicmirror and pi in general,apologies if this has been answered,i searched but didn’t find the answer. i’ve been playing around with the magicmirror for the past day or 2 and i like what i see but i’m wondering if it can do what i want to achieve… what i’m trying to achieve is a touchscreen mounted in my kitchen with all the usual stuff such as calender,weather,news ticker etc. i want a web browser for looking up recipes etc and be able to add notes and entries into the calendar but i don’t want a physical keyboard but one that pops up onscreen the way it does on phones and tablets. is this possible at the moment? cheers
  • New modules - how to find them

    Unsolved
    2
    0 Votes
    2 Posts
    834 Views
    justjim1220J
    @hoddog I don’t think so, BUT, I really like the idea!!!
  • I know it's here but I cannot seem to find it.....

    7
    0 Votes
    7 Posts
    2k Views
    cowboysdudeC
    @broberg I will look into that also…that’ll be a weekend thing :) Thank you!!!
  • The "best" voice control module

    Moved
    2
    0 Votes
    2 Posts
    1k Views
    W
    Someone ?
  • Thermostat...

    23
    0 Votes
    23 Posts
    13k Views
    K
    @cowboysdude said in Thermostat...: Just curious as to which way people are leaning towards a Thermostat that has it’s own api. I’ve looked at several … I like the Honeywell thermostats but I know there are others… What are you using or thinking of using and does it have an api? I use Ecobee it is very good thermostats. I guess you need to read the review on them. They helped me a lot when choosing. Ecobee Good luck
  • MagicMirror Image von Heise

    5
    1 Votes
    5 Posts
    3k Views
    M
    @lavolp3 Die LED’s blinken beide rot bzw. zumindest die rote blinkt… erst dreimal und dann viermal. Ich teile aber deine Vermutung, dass das Image nicht für den 3B+ geeignet ist… schade, dann muss ich schauen wie ich die gewünschten Module hinzufüge. Danke für deinen Post