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

    Posts

    Recent Best Controversial
    • RE: MMM-Hue CORS Policy Issue

      @karsten13 Awesome. That worked. Much appreciated for the assist.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Electron Security Issues

      Thanks @karsten13. Will await your post there. I am rewriting the module but am running into all kinds of issues. It is ugly. :-(

      posted in General Discussion
      mumblebajM
      mumblebaj
    • RE: Electron Security Issues

      @sdetweil Yep, understood. node-fetch has also had some changes which could cause some issues in future. I am trying to see if I can fix the MMM-Hue module and it calls out to a bridge which sits on the local network and runs into this CORS issue. Other modules have the same issue. This is going to make module dev a bit difficult, but I am sure we will adapt. :smiling_face_with_sunglasses:

      posted in General Discussion
      mumblebajM
      mumblebaj
    • RE: Electron Security Issues

      Thanks @sdetweil. I have noticed that. Is there plans on making changes to align to https?

      posted in General Discussion
      mumblebajM
      mumblebaj
    • Electron Security Issues

      Hi all, Is there a bigger issue with the CORS policy updates? I have noticed the below warnings in the Developer window.

      03b5d84f-81f3-4758-9e45-e222f6bfa9ba-image.png
      7c75540e-35d6-428b-8748-638ef1ac26eb-image.png

      The list goes. Are there any recommendations on how to get rid of this? The CORS policy update seems to be affecting other modules that now stopped working as the responses are being blocked.

      Would downgrading the Electron version resolve this or is a lower version not compatible with v2.18?

      posted in General Discussion
      mumblebajM
      mumblebaj
    • RE: MMM-Hue CORS Policy Issue

      Thanks @karsten13 , seems like it does not work as mentioned below by @Fozi . Seems like the modules uses jQuery and does a call to the bridge to get the data. Seems like I need to log an issue on Github for the module but it has not been touched in the last 3 to 4 years. I will fork it and see if I can make some changes to get it working. The last suggestion you made below seems like code changes module side so I will see what I can do to change it from jQuery to something that would work. Thanks for the replies.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • MMM-Hue CORS Policy Issue

      I seem to be having an issue after updating to 2.18 yesterday. MMM-Hue seems not to be working anymore. I get the following error:

      Access to XMLHttpRequest at 'http://bridgeip/api/user/groups' from origin 'http://0.0.0.0:8080' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `private`.
      

      Has anybody else had the same issue after updating? There are no errors in the logs. The above error is from the Developer Console.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Merry Christmas and Happy New Year!

      @cowboysdude Same to you too from South Africa.

      posted in General Discussion
      mumblebajM
      mumblebaj
    • RE: How to send notification to module via external REST API call?

      @aderoks said in How to send notification to module via external REST API call?:

      socketNotificationReceived: function (notification, payload) {
      console.log(“Receiving notification from MMM-Test”);
      if(notification === “date_sent”) {
      console.log(“Received”);

      Generally, in the module.js you would use Log.log and it would print to the developer window Console. Or you could just do as Sam suggested and it would print to the terminal window.

      posted in Development
      mumblebajM
      mumblebaj
    • RE: MMM-Jeedom - align to left

      @sdetweil said in MMM-Jeedom - align to left:

      .MMM-Jeedom .time.align-right
      {
      text-align: left;
      }

      Should go into custom.css and not main.css right?

      posted in Custom CSS
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @sdetweil Lets see which one he is using. I am off to bed. Been a long day.

      posted in Forum
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @sdetweil And there is this one as well:
      https://github.com/schramkef/MMM-Carousel

      posted in Forum
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @sdetweil Unless there is a 3rd one that we are not aware of…:face_with_monocle:

      posted in Forum
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @sdetweil Ah, now I understand the earlier differences. We were looking at different modules. Which one is @pastormingle using?

      posted in Forum
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @pastormingle So, what @sdetweil meant was that in the terminal window in the ~/MagicMirror/modules/MMM-Carousel/ folder you should run the command git remote -v and post the output of that.

      For me it is:

      origin  https://github.com/barnabycolby/MMM-Carousel (fetch)
      origin  https://github.com/barnabycolby/MMM-Carousel (push)
      posted in Forum
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @pastormingle Do you see any of the module suspended or module resumed stuff?

      posted in Forum
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @pastormingle As mentioned previously, are the any errors in the developers window? Do you have any errors in the terminal window? I am using the exact same config as you for Carousel and it work just fine for me

      posted in Forum
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @pastormingle What Sam was saying was the when posting your config, you need to set it in a code block. That is done by selecting the config you posted and then pressing the </> button at the top of the window. That would wrap the config in a code block and make it look “pretty”.

      I am glad your Carousel is now working.

      posted in Forum
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @pastormingle That means that something is already running with that IP. Do you only have 1 instance of MM running?

      posted in Forum
      mumblebajM
      mumblebaj
    • RE: MMM-Carousel not displaying

      @pastormingle Are there any errors where you start the mirror? I.e. if you do npm start are there any errors in the terminal window or if you use pm2 you can check the pm2 logs. You can also check the Developer Console, do shift_ctrl + i and select the console tab. See if there are any errors there. If no errors you should see something like the below, modules suspended…module resumed
      a984130d-1aeb-4cf0-8a06-a93746a19df0-image.png
      c18f2dba-fb0f-4f55-b663-d4d47b5e56ce-image.png

      posted in Forum
      mumblebajM
      mumblebaj
    • 1
    • 2
    • 25
    • 26
    • 27
    • 28
    • 29
    • 38
    • 39
    • 27 / 39