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

    Posts

    Recent Best Controversial
    • RE: How to set ipWhitelist for all device can acess to MagicMirror v2?

      @Mykle1 Sorry about delay. It looks like your RasPi is using IPv6 and earlier I gave you instructions for IPv4. Sorry about misinformation.

      For IPv6 setting ipWhitelist subnet mask to ::ffff:192.168.1.1/120 will give you access to 256 IP addresses. So your setting for ipWhitelist part in config.js would look like this:

      ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.1/120"]
      

      After making changes restart MM and try to access from browser on your computer.

      Let me know if it worked. Thanks.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: How to set ipWhitelist for all device can acess to MagicMirror v2?

      @Mykle1 I will try to reproduce it once I get home and will get back to you. Hang tight.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Garage Door Detectors

      @ooom416354 this may get you started http://docs.unofficialliftmastermyq.apiary.io

      posted in Requests
      morozgrafixM
      morozgrafix
    • RE: Garage Door Detectors

      @istepgueu Please share your findings and code if possible. I’m looking into modding my garage door and using project that I mentioned above. Would be interested in getting info on sensors hookup and anything that you find while building it.

      posted in Requests
      morozgrafixM
      morozgrafix
    • RE: Garage Door Detectors

      @istepgueu you may find this project relevant and interesting https://github.com/davidgeller/hodor

      posted in Requests
      morozgrafixM
      morozgrafix
    • RE: Adding a jQuery Module

      In addition to @strawberry-3.141 response. I wanted to chime in with option of running it locally on your dev machine and using node serveronly and pointing your browser at http://localhost:8080 using familiar tools while developing. One of the catches is it will not work well if you are developing module that needs to interact with GPIO or other proprietary RasPi functionality.

      My personal workflow is roughly outlined here: https://forum.magicmirror.builders/post/13272

      posted in Development
      morozgrafixM
      morozgrafix
    • RE: Module programming preview, jsfiddle?

      @washichi Interesting idea for the module. And glancing at your code you seem to be on the right track.

      I may be not understanding what you trying Sublime Text to do. It’s just a text editor with ability to add various packages on top of it. It’s not a full blown IDE. I don’t believe that you can compile or preview the JavaScript module directly in Sublime.

      My general workflow for module creation is something like this:

      1. Create MMM-mymodule directory inside MagicMirror/modules
      2. Open MagicMirror directory in sublime
      3. Add barebones config for the module to modules array in config.js, for example:
      {
      	module: "MMM-mymodule",
      	position: "bottom_right",
      	config : {
      		
      	}
      },
      
      1. Start node serveronly and point my Chrome with dev tools open to the http://localhost:8080
      2. Create/edit MagicMirror/modules/MMM-mymodule/MMM-mymodule.js, save it. (or other files that you need for the module)
      3. Refresh the browser to pickup my changes, debug etc.
      4. Repeat steps 5-6 as I go along. If adding/editing node_helper.js repeat steps 4-6 since node needs to pickup that file.

      Some of restarts/refreshes can be automated on file save with different tools, but I’m not going to get into that right now.

      posted in General Discussion
      morozgrafixM
      morozgrafix
    • RE: MMM-horoscope - daily horoscope

      @istepgueu no problem. Let me know if you find something that can be used.

      posted in Entertainment
      morozgrafixM
      morozgrafix
    • RE: How to set ipWhitelist for all device can acess to MagicMirror v2?

      @nobita are you looking to open access to MM from all of the devices on your local network? If that’s the case you can add subnet mask of your local network.

      For example if your router gives you IP address of 192.168.1.XXX (last 3 digits aren’t important and used for example only) then you would edit ipWhitelist setting in config.js as follows:

      ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.1.1/24"],
      

      192.168.1.1/24 is a subnet mask for all 256 IP addresses that your router can give out to devices. (this is the most common scenario and there is a chance that your setup may be different).

      Don’t forget to restart MM app after making this change.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Looking for Beta-testers!

      @ESOB Thanks for flagging the issue. @roramirez thanks for the fix

      posted in MagicMirror
      morozgrafixM
      morozgrafix
    • 1 / 1