• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Looking for Beta-testers!

Scheduled Pinned Locked Moved MagicMirror
56 Posts 17 Posters 57.7k Views 18 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    MichMich Admin
    last edited by Aug 27, 2016, 10:01 AM

    Please test the following PR:
    https://github.com/MichMich/MagicMirror/pull/416

    It’s merged into the current develop branch. If you are on the develop branch, please use git pull to update to the latest version.

    Thanks!

    1 Reply Last reply Reply Quote 0
    • B Offline
      Bangee Module Developer
      last edited by Oct 11, 2016, 1:13 PM

      I’m now on the latest DEV version.

      I had some problems to run it with my PIR Sensor.
      this command helps to run it:

      npm rebuild --runtime=electron-prebuilt --target=0.37.8 --disturl=https://atom.io/download/atom-shell --build-from-source
      

      IpWithelist:
      I’ve added my Subnet to de Withelist, but I can’t access my MagicMirror using a browser:

      This device is not allowed to access your mirror.
      Please check your config.js or config.js.sample to change this.
      

      Would it be possible to add something like “Your IP-Adress: 192.168.0.99”?

      ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", ["192.168.0.99", "192.168.0.254"]],
      

      This sould add a range from 192.168.0.99-192.168.0.254, or am I wrong?

      Thanks for your help.

      1 Reply Last reply Reply Quote 1
      • M Offline
        MichMich Admin
        last edited by Oct 11, 2016, 7:46 PM

        @bangee: Check your node log. It should tell you which IP is trying to access the server. Good idea to add it to the “access denied” message. Will put it on my todo list. (PR is welcome!)

        J 1 Reply Last reply Oct 16, 2016, 9:31 AM Reply Quote 0
        • B Offline
          Bangee Module Developer
          last edited by Oct 12, 2016, 6:06 AM

          @MichMich Thank you. I’ve had to update my config:
          the Log told me:
          Access denied to IP address: ::ffff:192.168.0.99

          It works with this:

          ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.1/24", "192.168.0.1/24"],
          
          1 Reply Last reply Reply Quote 0
          • J Offline
            Jopyth Moderator @MichMich
            last edited by Jopyth Oct 16, 2016, 9:33 AM Oct 16, 2016, 9:31 AM

            My mirror is now also running the development version, and I am experiencing restarts more often than before. I guess it is related to # 150 since there is no error in the log. Anyway I saw this twice yesterday, but this might just be something with a newer electron version, so maybe nothing we can fix. It is still a little bit annoying.

            @MichMich By the way, do you have any particular date in mind for the release?

            Helpful sticky: How to troubleshoot

            1 Reply Last reply Reply Quote 0
            • M Offline
              MichMich Admin
              last edited by Oct 16, 2016, 9:37 AM

              No, can’t give you an ETA.

              Keep me posted on the restart issue.

              J 1 Reply Last reply Oct 16, 2016, 2:59 PM Reply Quote 0
              • J Offline
                Jopyth Moderator @MichMich
                last edited by Jopyth Oct 16, 2016, 3:00 PM Oct 16, 2016, 2:59 PM

                I am a little bit in the dark on the restart issue. It happens every time I change any file in my source code directory, i.e. config/config.js or even package.json.

                All I have so far, is this appeared after I updated to development branch (hence updated all npm dependencies), plus I had to update my PIR-Sensor module (got a version XX expected, got XX error), and rebuild dependencies there also.

                Does anyone have any idea on this? And is anyone else even seeing this behavior also? If I have time, I will try a complete reinstall and see if that fixes it.

                Helpful sticky: How to troubleshoot

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MichMich Admin
                  last edited by Oct 16, 2016, 3:46 PM

                  Arent you running any tool that watches your directory and restarts? Like nodemon or pm2?

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jopyth Moderator
                    last edited by Jopyth Oct 17, 2016, 6:32 AM Oct 17, 2016, 5:59 AM

                    I am using pm2 but watch & reload was disabled.

                    I did a complete update, which apparently helped people before with #150, that seems to have fixed it:

                    sudo apt-get update
                    sudo apt-get upgrade
                    sudo apt-get dist-upgrade
                    sudo apt-get clean
                    sudo rpi-update
                    

                    Helpful sticky: How to troubleshoot

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      gismo2006
                      last edited by Oct 17, 2016, 7:47 AM

                      @Jopyth some time ago my mirror suddenly didn’t work whit pm2. From one day to the other. I changed nothing and it works fine before. I didn’t know what happens. But then I found a little order in the display when I prompt pm2 start mm… I didn’ t rember the order but I know pm2 worked some second displayed something and then everything works fine again. …

                      Maybe you found something , too

                      Greets gismo

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy