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: Replacing snow flakes with hearts in the MMM-SNOW module

      @Hein-Jan not a bad idea. I can probably just hardcore that in and have a config setting that can enable it to only show on Feb 14th. One possible drawback of that is that module is still going to be loaded in memory other 364 days of the year.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Replacing snow flakes with hearts in the MMM-SNOW module

      @tamug1 Here you go. It’s running a little sluggish on my RasPi 2 and I don’t have RasPi 3 hooked up. Please let me know how well it performs on your system.

      [card:morozgrafix/MMM-Valentine]

      Thanks.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Replacing snow flakes with hearts in the MMM-SNOW module

      How is it his? There are 15 different Valentines themed icons and most of the code is shamelessly borrowed from MMM-Snow by @MichMich
      0_1486097486590_upload-16416aa3-f2f1-4e99-b943-89cf8acac379

      Going to get some dinner and push it up to GitHub

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

      @AAPS thank you.

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

      @AAPS It’s totally your call. I don’t think it affects anything as long as your network is closed and secure.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Replacing snow flakes with hearts in the MMM-SNOW module

      @cowboysdude Yes exactly. Almost done with MMM-Valentine :heart:

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Replacing snow flakes with hearts in the MMM-SNOW module

      @tamug1 that’s a fun idea. I think it would be easy to modify this module https://github.com/MichMich/MMM-Snow to do hearts. If I have time later tonight I will try to do it.

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

      @Mykle1 Glad it all worked out!

      @AAPS Theoretically you are fine but you are whitelisting a lot of IPs. Assuming you are talking about IPv6. Here is a brief explanation example:

      192.168.1.1/24 subnet mask on IPv4 network would cover IP 256 IP addresses ranging from 192.168.1.0 to 192.168.1.255.

      Start IP: 192.168.1.0
      End IP: 192.168.1.255
      Addresses: 256
      Class: Class C
      Netmask: 255.255.255.0.
      Binary: 11111111	11111111	11111111	00000000
      

      ::ffff:192.168.1.1/120 subnet mask on IPv6 network would also cover 256 IP addresses

      Start Range: 0:0:0:0:0:ffff:c0a8:100 (IPv4 equivalent of 192.168.1.0)
      End Range: 0:0:0:0:0:ffff:c0a8:1ff (IPv4 equivalent of 192.168.1.255)
      Addresses: 256
      

      Now if you have ::ffff:192.168.1.1/24 subnet mask on IPv6 network, you would allow 20282409603651670423947251286016 IPs to access your mirror. Which seems to be alot, but remember that devices most likely have to be on your home network in the first place.

      Start Range: 0:0:0:0:0:0:0:0
      End Range: 0:ff:ffff:ffff:ffff:ffff:ffff:ffff
      Addresses: 20282409603651670423947251286016
      

      Here is a helpful cheat sheet for IPv4 and IPv6 subnet masks: https://kthx.at/subnetmask/

      Hope this helps.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Garage Door Detectors

      @istepgueu as far as I understand MMM-Buttons only sends notifications when button is triggered (long or short press). Your sensor is acting as a long button press and you got it working so far. What I think you need is a custom module to display status of your garage door(s) that is capable of accepting notification from MMM-buttons and then changing message displayed (or image) on the MM. One thing to keep in mind (as far as i know) is that MMM-buttons assumes that no buttons are pressed when MM starts, in your case you may need some additional logic to account for times when MM starts when your garage door is opened. @Jopyth is the original creator of MMM-buttons and may have some ideas on how to deal with that.

      posted in Requests
      morozgrafixM
      morozgrafix
    • RE: Garage Door Detectors

      @istepgueu thanks for the write up. I was just looking for similar sensors for my garage.

      posted in Requests
      morozgrafixM
      morozgrafix
    • 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
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 2 / 7