MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mortenbirkelund
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 58
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: *NEW LIST 29.06.2021* Two way community order for mirror glass for all european countries - Open until at least 10 people have entered

      @Goldjunge_Chriz thanks for the offer but as the frame is allready build, this mirror is a bit larger than what I need

      posted in Hardware
      M
      mortenbirkelund
    • RE: *NEW LIST 29.06.2021* Two way community order for mirror glass for all european countries - Open until at least 10 people have entered

      @lavolp3 I am in the exact same situation. I bought the mirror from here, but it is way too dark and not very mirror-like.

      https://www.glas-star.de/spionsspiegelnachmass/chrome-spy-spiegel/chrome-spy-4mm-nach-maß/

      @Goldjunge_Chriz are there any chance that the ordering can be speeded up? The thread is 5 months old and only 3 on the list. I would love to buy one but the wait seem to be very long.

      posted in Hardware
      M
      mortenbirkelund
    • Run MagicMirror https

      I guess it would be possible to just make some changes in js/server.js and then create some certificates using openssl but are there anyway of running magicmirror secure (https instead of http) without having to modify the core? So that new updates to magicmirror wouldn’t erase the changes i’ve made?

      posted in Feature Requests
      M
      mortenbirkelund
    • RE: start on reboot

      I think the reason why you get the “MM doesnt exist” error is just because the script isnt running.

      You are asking pm2 to show you status of a process that doesn’t exist. So this error is not the problem, but just a symptom of the fact that pm2 doesnt start mm.sh after reboot as it should. . Hope that makes sense.

      From what i can see on your screenshots, you seems to be doing it correctly so i dont know why pm2 will not start mm.sh for you. Sorry

      posted in Troubleshooting
      M
      mortenbirkelund
    • RE: myModule/public folder not working

      The full path of the location is /home/pi/MagicMirror/modules/myModule/public/myFile.htm

      According to the documentation this file should be reachable from http://localhost:8080/myModule/myFile.htm
      but this doesnt work.

      After tried several different combinations i’ve found that this one works.
      http://localhost.8080/modules/myModule/public/myFile.htm

      Have i misread the documentation or is that an error?

      posted in Troubleshooting
      M
      mortenbirkelund
    • myModule/public folder not working

      Hi
      When i read the readme. for module development, it says

      modulename/public - Any files in this folder can be accesed via the browser on /modulename/filename.ext.
      

      But whenever i place a file in that folder, i get the following error

      Cannot GET /myModule/myFile.htm
      

      Is this an error in MagicMirror, or is it an error in my setup? I have tried to set permission to 777 of the files in public, without any luck.

      posted in Troubleshooting
      M
      mortenbirkelund
    • RE: Nothing showing but app is running

      @fiskaren Then i dont know what could be wrong. Perhaps someone else will see this post and can point you in the right direction.
      Your solution will start MM each time the computer is started, where pm2 will only start MM, if it was running when the reboot was initiated. But if it works for you.

      posted in Troubleshooting
      M
      mortenbirkelund
    • RE: Nothing showing but app is running

      Have you saved the current state of the PM2?

      Run

      pm2 start mm.sh
      pm2 save
      sudo reboot
      
      posted in Troubleshooting
      M
      mortenbirkelund
    • RE: Using an Old (2 years old) windows Laptop in place of raspberry pi.

      @johnnyboy missing something.
      I’ve tried it on a Linux laptop and a Windows laptop.
      On Linux it worked good, but on the windows machine partially worked, as I am limited by the fact that some of the programs that are needed can’t be installed as they only works on Linux.

      posted in Hardware
      M
      mortenbirkelund
    • RE: Using an Old (2 years old) windows Laptop in place of raspberry pi.

      Install linux on the laptop, and then install magicmirror using the manuall installation as found here.
      https://github.com/MichMich/MagicMirror
      Perhaps there will be some glitches because MagicMirror was designed for raspberry pi but I did it with an old laptop for testing purpose and it worked fine. Currently I am working with magicmirror on a windows machine, and here i get a lot more glitches because i cant install the same programs (“sudo apt-get” doesnt exist ;)

      posted in Hardware
      M
      mortenbirkelund
    • RE: Nothing showing but app is running

      Can we see the content of your mm.sh script?
      What is the response when you start the mm.sh script ? (pm2 start mm.sh).

      Are you connecting using VNC?

      posted in Troubleshooting
      M
      mortenbirkelund
    • RE: Wake up the mirror and put it to sleep?

      yes, i believe it should work along with a raspberry pi.

      posted in Hardware
      M
      mortenbirkelund
    • RE: Wake up the mirror and put it to sleep?

      If you cant find one in sweden, then I use to order from thePiHut as it is located within the EU and therefore free from import tax, (atleast until Brexit)
      https://thepihut.com/pages/search-results?q=pir&page_num=4,

      posted in Hardware
      M
      mortenbirkelund
    • RE: MMM-Wunderlist add / MM won't start

      for future reference, http://jshint.com/ as suggested in the faq, is a very good tool for finding errors in the config.js

      posted in Troubleshooting
      M
      mortenbirkelund
    • RE: Wake up the mirror and put it to sleep?

      This module is what you need. Along with one of the pir sensors, as linked to in the readme.
      https://github.com/paviro/MMM-PIR-Sensor

      If you dont want it to start everytime you pass by your mirror, then you just place the sensor pointing up or down, and then you change swipe your hand in front of the sensor to activate the mirror.

      posted in Hardware
      M
      mortenbirkelund
    • RE: Return URI with Https

      Shouldn’t the files in the public folder be accessible from a browser?

      posted in Troubleshooting
      M
      mortenbirkelund
    • RE: Swiper only works on first update...

      If anybody would be interested in trying to help solving it, then here is a link.

      https://github.com/mortenbirkelund/MMMT-Newsfeed

      Notices that if you uncomment the lines from 92-113, then the swiper is applied correctly.
      https://github.com/mortenbirkelund/MMMT-Newsfeed/blob/master/MMMT-Newsfeed.js

      But for some reason it doesnt work when i apply the same coding to the rest of the getDom function…

      posted in Troubleshooting
      M
      mortenbirkelund
    • RE: Return URI with Https

      Whenever I try to access a file in a myModule/public/ then i get an error

      Cannot GET /myModule/callback.js
      
      posted in Troubleshooting
      M
      mortenbirkelund
    • RE: MMM-NetworkScanner returns error

      That seems to work. Thanks

      posted in Troubleshooting
      M
      mortenbirkelund
    • Return URI with Https

      Hi. I am trying to create a module for my Neato Botvac D5. (robot vacuum cleaner).

      Neato have an official javascript SDK (https://github.com/NeatoRobotics/neato-sdk-js) that i am using.

      My problem is that whenever i logon, i am returned to https page. So i have 2 questions.

      How should the url looks like in order to be returned to my module, so that the SDK can pick up the auth_token?
      How do i handle the fact that OAuth require the return uri to be https?

      posted in Troubleshooting
      M
      mortenbirkelund
    • 1
    • 2
    • 3
    • 1 / 3