A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • How to disable SSL check in python Request

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    B
    Hi, guys. Hope i’m posting this on the right place. I’ll try to be as clear as possible. I have a Home Assistant on the same raspberry pi as my Magic Mirror. And I use MMM-HASS module (https://github.com/aserramonner/MMM-HASS) to see the state of a few sensor on my Home Assistant (light, temperature, etc). I use my Home Assistant with a DuckDNS dns (xxxxx.duckdns.org) with Lets Encrypt SSL and everything worked fine, until I changed my router. My new router doesnt support a feature called NAT Loopback, that is: If I am outside my LAN (for example acessing from may phone 4G) I can access my home assistant with xxx.duckdns.org. But if I am INSIDE my LAN (for example from my PC) I can’t access with xxx.duckdns.org. I can only access it with the raspberry pi IP itself: 192.168.X.X. The thing is, these modules that integrate with home assistant with magic mirror (like MMM-HASS and MMM-homeassistant-sensors) expect a “host” variable. Since the MagicMirror is inside my LAN I have to access it with 192.168.X.X, but since I have a SSL encryption for xxx.duckdns.org, the magic mirror module get the connection error: “Hostname/IP does not match certificate’s altnames: IP: 192.168.X.X is not in the cert’s list:” With my old router I set the “host” variable to xxx.duckdns.org. But since my new router doesn’t have this “NAT Loopback” thing, I have to set my LAN IP. The solution is: I have to set these modules so they doesnt check the SSL. The Python “Request” has this option: verify=False, as I saw here: https://stackoverflow.com/questions/15445981/how-do-i-disable-the-security-certificate-check-in-python-requests But my knowledge in Python is null. So, can anyone help me setting this “verify=False” parameter in the PYthon HTTP Request? I tried editing this file “~/MagicMirror/modules/MMM-HASS/node_helper.js”, but I couldnt edit it the right way. I assume it is around these lines of code: request(get_options, function(error, response, body) { completed_requests++; if(config.debuglogging) { console.log(error); console.log(body); } outDevice[body.entity_id] = body.state; if (completed_requests == urls.length) { // All requests done for the device, process responses array // to retrieve all the states outDevice.label = device.deviceLabel; console.log(outDevice); callback(outDevice); } }); but I couldnt get it right. I tried changing the “get_options” var from var get_options = { url: urls[i], json: true }; to var get_options = { url: urls[i], json: true, verify: false }; but no success either. Hope I made myself clear, and thanks in advance!
  • Power-saving modes?

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    T
    I developed https://github.com/thobach/MMM-Gestures for that purpose which takes care of both: power saving with an infrared distance sensor gesture control to toggle between MMM-pages, news, show news details and scroll through news page It works with well for me, but needs some hardware: Arduino, gesture sensor, IR sensor.
  • Complete Options List for config.js

    Moved
    13
    0 Votes
    13 Posts
    5k Views
    P
    @nimbus78 yes. Assuming you are in Windows… download notepad++. It’s free. Once you have it open go to the plug in manager and search for java or jscript plug ins. I can not think of the one that I really like at the moment but you can then copy your config to your windows box. Hit one button and it will line everything up nice and clean jscript format. It will make looking at your config a lot easier. From there it will also tell you if you are forgetting a comma or curly bracket as you add modules to your config. Use winscp to copy the config to/from your pi. Also. Once you have a good workin config and you wanna play with a new module. Make a back up first so that if it doesn’t work out or you are frustrated you can “restore the back up” On the pi command line to create a back up. Navigate to the die with your config: cp config.filename backupfile.name cp is the copy command and it works as “from” and then “to” If you ever need to restore: cp backupfile.name config.filename. Reload and you are safely back where you started before screwing with your config. Hopefully some of this helps you.
  • 2 Votes
    13 Posts
    4k Views
    S
    @ezarlive testing… before sending the code
  • Special characters won't appear correctly on newsfeed module

    Solved
    2
    0 Votes
    2 Posts
    824 Views
    R
    I have solved it by selecting a font which really includes these characters…
  • pm2 Error auto starting

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    ejay-ibmE
    I would say is more ‘sure’ when you are in the right folder to do : sudo chmod +x ./mm.sh
  • Remote Control API

    Unsolved
    2
    0 Votes
    2 Posts
    692 Views
    S
    @Lorenz see https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin
  • Weather: RoundTemp Help

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    thedoorsfanaticT
    @eskudo12791 try this: fade: false,
  • It seems like MagicMirror is already installed.

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    bheplerB
    @kellogg76 - With the latest update of Raspbian, the installation script has not kept up with the changes. I would try a manual install instead. You’ve already deleted the folder, so run: cd ~ git clone https://github.com/MichMich/MagicMirror.git cd MagicMirror npm install npm start Let us know if you hit any errors.
  • voice control with selfie functionality?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    ?
    @batfastard First, Google Assistant is free also. I don’t know why you are thinking so. Second, as your description, I think you are running my old MMM-Assistant. It was deprecated and I have no plan to maintain. Sorry. I looked inside MMM-Selfie mentioned. Very interesting. It has no other interface except my MMM-Assistant and MMM-TelegramBot. On one hand, thanks about it as creator of both module, but the other hand, that module was too dependent to other modules. Not expandable. The best simple solution I think is; Modify MMM-Selfie to receive trigger from other modules beside MMM-Assistant and MMM-TelegramBot. Seems not so difficult. just add .notificationReceived() for some notifications from other module. Then, Just use MMM-Hotword(you are already use it?) to emit that notification. You can make your private voice model, or use just universal model for everyone.
  • Error installing electron-chromedriver with npm.

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    I
    Thank you! An updated npm did the trick for me :) My Mirror is up again! /solved
  • Weather & Newsfeed

    Solved
    11
    0 Votes
    11 Posts
    6k Views
    J
    @sonicgoose i’ve got it to work now, thanks to you all :-)
  • More then one display?

    Unsolved
    1
    0 Votes
    1 Posts
    466 Views
    C
    Hi I wonder if that is possible to have more then one display. I going to show MM on a old iPad and was thinking if that was possible to Swipe Left or Right to get a new display so if I going to have some module it does not take all space on one display.
  • unable to install dependencies

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    T
    Hi AxLed, thank you, it’s works only in “pi” user.
  • Cronjob

    Solved
    17
    0 Votes
    17 Posts
    8k Views
    CyruS1337C
    @evroom Many thanks for the detailed information. As you can see, I always executed the command as sudo sudo crontab -e So I always executed the commands in the root directory. Which thus never led to success. Thanks again for the help and the detailed listing. Greeting
  • Not response

    Unsolved
    1
    0 Votes
    1 Posts
    427 Views
    H
    Hi, everyone. I installed the MagicMirror at raspberrypai a few months ago. However, I haven’t made it completely yet… When I spoke to the microphone, it was recognizable, but there was not response. I thought it had a problem with a mirophone or a speaker, so I tested them seperately, but they worked well. I thought the MagicMirror’s update caused this problem. I’d appreciate it if you could let me know the solutions. Thank you :)
  • NOAA v3 using too many requests?

    Unsolved
    28
    0 Votes
    28 Posts
    13k Views
    M
    @Mykle1 will do. I have tried a different key. Weird thing is that the first few days has a small amount of requests then it spikes
  • Have just install MM on ubuntu and it show black screen

    Solved
    1
    0 Votes
    1 Posts
    539 Views
    C
    Hi I have for the first time install MM on a ubuntu server and it looks like everything is running. But when I access the MM from a remote browser I get nothing, just a black screen? I then add my google calender but still no Clock and no calender showing? I have run the check of the config file and it say it is ok > magicmirror@2.6.0 config:check /home/konto/MagicMirror > node tests/configs/check_config.js Checking file... /home/konto/MagicMirror/config/config.js Your configuration file doesn't contain syntax errors :) That I was looking for is add a Clock and calender and for the background a nice slideshow of my images /Update I have now install MMM-BackgroundSlideshow and I get no error but no images. /Update 2 After reinstall is now working :)
  • API google need credit card another solution?

    Unsolved
    1
    0 Votes
    1 Posts
    488 Views
    F
    Hi all, Google need credit card for api key (map, traffic), are there another solution if you don’t want to give your credit card number to google ? another module is possible for traffic map without google?(open street map or other ) thanks .
  • the installation does not end

    Solved
    2
    1
    0 Votes
    2 Posts
    685 Views
    Atelier-Made-in-iKiA
    oups… seems all is ok now i restarted the raspberry, run again npm install cp config/config.js.sample config/config.js[image: 1552833746496-2019-03-17-15_40_54-raspberrypi.png] npm start and tadaaa… work in progress for configuration ^_^ thanks Jean-Philippe