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?

    103 Topics
    720 Posts
    S
    @OrangeMirror the current docker setup will only work for multiple instances IF you use the MM_CONFIG_FILE environment variable to run instances off different config files, or the MM_PORT env variable to override the port if using the same config.js all the files will come from the ONE folder tree ~/magicmirror so this means you would have to setup multiple entries in the compose.yaml to launch multiple instances (with the different config parms) You have to change the container name too this is because all the DATA used by the container is external (on docker host filesystem) and not IN the container an example NOT using docker, but same idea here https://docs.magicmirror.builders/configuration/introduction.html#advanced-configuration-and-frequently-asked-how-to-configure-examples
  • Looking for someone with Git, JavaScript, Node and Linux experience

    6
    0 Votes
    6 Posts
    2k Views
    G
    Nobody??
  • Can't install MMM-WeatherForecast on raspberry pi Zero

    4
    0 Votes
    4 Posts
    637 Views
    S
    @Tomexx that looks ok… but your words above are confusing… What I couldn’t figure out is how to install MMM-WeatherForecast or MMM-Wallpaper. After installing both of them, they never appear, not even trying to load. they ARE in the modules folder, yes? standard rules, ALL modules get installed in the modules folder generally they come from github so the download process is cd MagicMirror/modules git clone ????? where ??? is the url provided by the github repo for the module. you find the module repo (google, or whatever), then push ‘clone or download’, and push the button (looks like clipboard with and arrow pointing to it) to get the proper clone url string, then paste that string after the words git clone, and hit enter then follow the instrucitons for the module to complete its installation and config some modules need you to run npm install to get other code they depend on installed. neither of these do
  • Magic Mirror + GassistPI and more

    1
    0 Votes
    1 Posts
    508 Views
    P
    Hello all First post on here, apologies if it’s in the wrong place. I’ve been playing with MM for about a week now, got the basics up and running, but need some help with the long term goal/ideas. I already had a GassistPi running with the GoogleAIY V1 Hat, I also have a genuine Alexa. The GasisstPi had a large 20 x 4 LCD display attached to it and I initially had the thought that with the addition of an MCP23017 I2C multiplexer, I could add some buttons to call various scripts and the info could be displayed on the LCD. Examples of the scripts I needed were: Bus arrivals at 5 local bus stops. Arrivals at my local rail station. TfL Tube status. Webscraping of DHT sensors or similar running on a Nodemcu but still on the same network. Possible logging of these. A couple of Internet radio stations start/stop. Volume up/down Did make a cool laser cut case but didn’t get as far as doing anything with the buttons, have coded MCP23107’s before on Arduino, confident of being able to do it on the Pi and also willing. Bus scripts were done for all 5 stops, but it is in Python 2 which as you will know is near end of life. Train arrivals was done in Python 3, but only one way, not a major issue as I only really need to know what they’re doing in the morning. Tube status – didn’t look into it. DHT sensors – didn’t look into it. I then found a URL for train departures which loads super quick, just what I need in the morning: http://realtime.nationalrail.co.uk/ldbcis/departures.aspx?u=039B1CD1-14D4-4CB9-83B1-A84CC3AEDF83&crs=HHY&H=6000 changing the code HHY to other station codes will give info about that station. Brilliant! But obviously, this will be better on a screen rather than an LCD character display. Some kind person then gave me a 7” HDMI touchscreen. I then discovered MagicMirror. So I can load up the Tube status via a webpage (https://unop.uk/tube/) using the smart web display module and also the national rail link above, but I need them to go to the top of the page, not below the news feed which is at the top centre and still visible. Nor do I want the weather which is top right to be visible through the station departures web page. How can this be achieved please? Should at this point say, GassistPi and MagicMirror will be/are running on the same Pi Longer term, I’d like GassistPi, Alexa and the buttons to display an individual module only when requested and for about 30 seconds before they disappear and the screen turns off. Apart from the web radio which will be an on/off thing. An infra red remote control option doing the same thing would be handy too. Anyone have any thoughts on this? My boss then challenged me to build something “funky and Linuxy” for the office. We’ve got plenty of screens around, so MagicMirror is in the running, but it may not be a mirror, more like an info board. What would be needed for the office is a clock for most of the time, some news feed maybe, weather, Tube and National rail info at home time only and some photos, probably our company values. Plus all of this only visible when someone is there, so PIR module would be installed, that’s a minor issue. Again, with some buttons, each module is displayed for a period of time as someone may leave at some random point in the day and need to know when the next train is. I appreciate this is a long first post, but any help or pointers would be good. Thanks in advance
  • Project idea for K-12 school - is this possible?

    1
    0 Votes
    1 Posts
    428 Views
    T
    I have a HS student in my creative CS course that is going to make a magic mirror. We are a K-12 school, and I would love for him to create a mirror that will do one or two things when a student walks up to it: 1 - Creates some fun images that would overlay on their face - moustache, glasses, etc. 2 - Shows a random inspiring message I think the module I would need could essentially choose from a random set of PNG images that would take up the entire screen. I suspect I would just need an ultrasonic or proximity sensor as part of the frame. Thanks!
  • 2 Votes
    4 Posts
    1k Views
    S
    I added a check for textmode os config (no xwindows)
  • Need Explanation on how to change the information in modules

    Moved
    3
    0 Votes
    3 Posts
    701 Views
    S
    @geo clock takes time from system config. You can change am/pm or 24 hour in the config.js every module has a config: { … } section in its definition in config.js each is different, and u need to look at the README.md for each module to determine what settings you need to provide, for it to operate as you wish… some are easy, some are very detailed…
  • MMM-Globe how to set up other look

    1
    1
    0 Votes
    1 Posts
    679 Views
    StoffbeuteluweS
    [image: 1571944319916-e55be34e-00fb-4456-a270-cc69aa49eb56.jpeg] does anybody know how to set up this style?
  • YAPi0 Installer Stretch Lite

    118
    0 Votes
    118 Posts
    103k Views
    B
    so lets run and let me know if you need any to test It works as designed I would say :grinning_face: @sdetweil good job! :thumbs_up:
  • “Virtual” Window How-To?

    Moved virtual window how-to mak
    4
    0 Votes
    4 Posts
    1k Views
    S
    @Tracy said in “Virtual” Window How-To?: I’ve seen the Sky Factory website, and that’s exactly what I am talking about I was only using it as a place for others to focus on your requirements/idea, not ‘the’ solution. cost should be fairly low… I put together a 32 in tv based photoframe for $125, all in. and I have a 55 in 4k tv in my office, i bought new for $220+$50 for my SBC (pi/odroid/jetson nano) the rest is software and some configuration… if you want an actual window look, the framing is a little bit more… go to a habitat for humanity store and get a removed window… (I am speaking US locations). but u can prove the system quickly with any computer monitor… I would go for the higher end SBC, if u want smoother motion on screen (more lifelike)
  • Take in the weather and write.

    2
    0 Votes
    2 Posts
    852 Views
    strawberry 3.141S
    @yeonju the default compliments module has already the possibility to show compliments based on weather https://github.com/MichMich/MagicMirror/tree/master/modules/default/compliments#compliment-configuration However, it doesn’t support the temperature, only the weather type. If you want to create your own module take a look on this parts of the code: Weather module sending the weather data to other modules https://github.com/MichMich/MagicMirror/blob/master/modules/default/currentweather/currentweather.js#L492 Compliments module processing the information https://github.com/MichMich/MagicMirror/blob/master/modules/default/compliments/compliments.js#L168-L198
  • Pi keeps crashing

    2
    0 Votes
    2 Posts
    623 Views
    qu1queQ
    Hello, I do not know what your problem is due to, but I recommend that you do not use NOOBS, use better only raspbian. You can download it here: https://www.raspberrypi.org/downloads/raspbian/ I recommend you the raspbian image with desktop (not the one with recommended software)
  • Magic Mirror Server Only Mode

    8
    0 Votes
    8 Posts
    4k Views
    S
    @preetpuri said in Magic Mirror Server Only Mode: and I can add user management module later. thats what I meant
  • [SOLVED] Can I display MagicMirror on a TV, with no mirror?

    9
    0 Votes
    9 Posts
    4k Views
    S
    @Mykle1 actually, select the reply in your topic that provides the resolution, so future users might quickly get to the answer
  • 2 sessions of MM on one pi 4

    2
    0 Votes
    2 Posts
    529 Views
    S
    @TimGV it depends on the configuration options for the two HDMI outputs… if they are always one big screen (xwindows DISPLAY=:0) then you will have to se the size/location of each MM config to position the output on each display, instead of across the single view space if they can be configured as individual (DISPLAY=:0 AND DISPLAY=:1) then you just need to adjust the startup script (installers/mm.sh) to select the DISPLAY value
  • Google assistant segmentation fault

    1
    0 Votes
    1 Posts
    595 Views
    T
    Has anyone found a fix for google assistant segmentation fault. I’ve set up the assistant and it works fine with googlesamples-assistant-pushtotalk When I try googlesamples-assistant-hotword it throws up a segmentation fault. Is there a work around for this
  • PIR Sensor

    7
    0 Votes
    7 Posts
    2k Views
    T
    Thank you, that got rid of that error. Still no joy with the PIR sensor though unfortunately. The strange thing is if i change my monitor_on and monitor_off sh files to vcgencmd display_power 0 vcgencmd display_power 1 the pir works fine and shuts off / turns on my monitor. these are my scrips #!/usr/bin/env python import sys import time import RPi.GPIO as io import subprocess io.setmode(io.BCM) SHUTOFF_DELAY = 30 # in seconds, how long the monitor will be on until next button press or PIR detection PIR_PIN = 22 # 15 on the board (this needn’t to be a PIR. Can be a button also) LED_PIN = 16 # optional, don’t use as Relay-PIN. It just shows detection time of the PIR without delay time def main(): io.setup(PIR_PIN, io.IN) io.setup(LED_PIN, io.OUT) turned_off = False last_motion_time = time.time() while True: if io.input(PIR_PIN): last_motion_time = time.time() io.output(LED_PIN, io.LOW) print ".", sys.stdout.flush() if turned_off: turned_off = False turn_on() else: if not turned_off and time.time() > (last_motion_time + SHUTOFF_DELAY): turned_off = True turn_off() if not turned_off and time.time() > (last_motion_time + 1): io.output(LED_PIN, io.HIGH) time.sleep(.1) def turn_on(): subprocess.call(“sh /home/pi/monitor_on.sh”, shell=True) def turn_off(): subprocess.call(“sh /home/pi/monitor_off.sh”, shell=True) if name == ‘main’: try: main() except KeyboardInterrupt: io.cleanup() monitor on script DISPLAY=:0 xscreensaver-command -deactivate monitor off script DISPLAY=:0 xscreensaver-command -activate
  • Looking for someone to create a smart mirror (Israel)

    3
    0 Votes
    3 Posts
    770 Views
    F
    What does he want, exactly? Just the basic configuration of adding a clock, weather, calendar/ default modules, or does he have any specifics in mind? I built my mirror not too long ago, but have been wanting to build another… I reside in the U.S. by the way…
  • ESPN bottom line

    2
    0 Votes
    2 Posts
    566 Views
    brobergB
    @myteach32 There are several Sporting stats/score modules over at : https://forum.magicmirror.builders/category/32/sport If none of them do what you want you could start a thread in the “requests” forum
  • SmartThings

    Locked
    28
    1 Votes
    28 Posts
    11k Views
    cowboysdudeC
    Someone please close this topic … It has moved here: https://forum.magicmirror.builders/topic/11270/mmm-smartthings Thank you all!! :)
  • Automatic Docker Build

    3
    0 Votes
    3 Posts
    2k Views
    D
    @bastilimbach, is this still the case? Mine is now showing that it is 2715 commits behind. I’m on Synology NAS using https://hub.docker.com/r/bastilimbach/docker-magicmirror/ and selected latest as the tag.