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

    Fillan90

    @Fillan90

    0
    Reputation
    2
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Fillan90 Unfollow Follow

    Latest posts made by Fillan90

    • RE: MMM-Moon shows only "No Image!"

      @sdetweil
      That fixed it, thank you so much.
      /F

      posted in Troubleshooting
      F
      Fillan90
    • RE: MMM-Moon shows only "No Image!"

      @sdetweil
      [https://github.com/EnderFlop/MMM-Moon](link url)

      posted in Troubleshooting
      F
      Fillan90
    • RE: MMM-Moon shows only "No Image!"

      @sdetweil
      config.js:

      module: "MMM-Moon",
              position: "top_left",
              config: {
                width: "400px",      //    as per requirement
                height: "400px",       //    as per requirement
                lat: 59.325,
                lon: 18.050,
                timezone: "Europe/Stockholm"
      

      MMM-Moon.js:

      start: function () {},
        getDom: function () {
          const outerDiv = document.createElement("div");
          if (this.content) {
            const img = document.createElement("img");
            img.src = this.content;
            img.style.width = this.config.width || "100%"; // add this line to set the width of the image
            img.style.height = this.config.height || "auto"; // add this line to set the height of the image
            outerDiv.appendChild(img);
          } else {
            outerDiv.innerText = "No image!";
          }
          return outerDiv;
      
      posted in Troubleshooting
      F
      Fillan90
    • RE: MMM-Moon shows only "No Image!"

      @sdetweil I got the same issue (No image message), a restart didn’t resolve it.

      posted in Troubleshooting
      F
      Fillan90
    • PIR-sensor control

      Re: MMM-ResRobot - Public transport information for Sweden

      Hello,
      I am wondering if it’s possible to control the updateInterval variable with signals from another module?
      I am using MMM-PIR-Sensor and would like’s to have one minute updateInterval when user presence is detected and one hour when it’s not.

      This is to minimise the API requests when the mirror isn’t used.
      Or do you have a better way of achieving this?

      Thank you for a grate module,
      Gott nytt år,
      F

      posted in Transport
      F
      Fillan90