MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. fribse
    3. Posts
    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 35
    • Posts 159
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Newsfeeder is going way to fast when showing news

      Yup, I saw it again this morning, odd.

      posted in Troubleshooting
      F
      fribse
    • RE: Newsfeeder is going way to fast when showing news

      @sdetweil Currently it shows the news in a proper speed, not sure what starts the problem?

      posted in Troubleshooting
      F
      fribse
    • RE: Newsfeeder is going way to fast when showing news

      Like this:
      c6d12504-e82f-47aa-a7d2-8f93b35b736a-image.png
      ?

      pi@bathmirror:~ $ npm --version
      7.6.3

      posted in Troubleshooting
      F
      fribse
    • MMM-MyCommute module shows up a bit random

      I’m not sure what is going on. I see the mmm-mycommute show the distance sometimes, and other times not.
      To save on API calls I’ve limited the showing of the module to mornings on workdays.

      {
            module: "MMM-MyCommute",
            position: "bottom_right",
            classes: "xsmall",
            config: {
              apiKey: "xxx",
              startTime: "05:00",
              endTime: "12:00",
              hideDays: [0,6],
              origin: "My road 1, 2670 Greve",
              destinations: [
                {
                  destination: "Borgergade 14, 1300 Koebenhavn K",
                  label: "Motorvej",
                  mode: "driving",
                  color: "#82E5AA"
                },
                {
                  destination: "Borgergade 14, 1300 København K",
                  label: "Landevej",
                  mode: "driving",
                  color: "#82E5AA",
                  avoid: "highways"
                }
              ]
            }
          },
      

      Sometimes it shows up, other times it doesn’t, I can figure out the pattern.
      Is it a timezone problem (so it’s not in local time, or is there an error somehow I don’t understand it.

      posted in Troubleshooting
      F
      fribse
    • RE: Newsfeeder is going way to fast when showing news

      @sdetweil Interesting

      My config looks like this

      {
            module: "newsfeed",
            position: "bottom_bar",
            classes: "day_schedule",
            config: {
              feeds: [
                {
                  title: "Ekstra Bladet",
                  url: "https://ekstrabladet.dk/rssfeed/all/"
                },
                {
                  title: "DR nyheder",
                  url: "https://www.dr.dk/nyheder/service/feeds/allenyheder"
                },
                {
                  title: "BT",
                  url: "https://www.bt.dk/bt/seneste/rss"
                },
                {
                  title: "Berlingske.dk",
                  url: "https://www.berlingske.dk/content/3/rss"
                },
                {
                  title: "TV2 Øst",
                  url: "https://www.tv2east.dk/rss"
                }
              ],
              updateInterval: 30000,
              showSourceTitle: true,
              showPublishDate: true,
              broadcastNewsFeeds: true,
              broadcastNewsUpdates: true
            }
          },
      

      And it hasn’t changed for years.
      animationSpeed, isn’t that for the transition?
      That’s not what’s happening here, it goes through all the news in a minute or so.

      posted in Troubleshooting
      F
      fribse
    • Newsfeeder is going way to fast when showing news

      I’ve set up the delay to 30000, so it should take it’s time between rolling the news.
      It’s the original news module, with an added QR code module.
      It fetches news from some RSS feeds.
      I’ve tried rebooting the pi, and also just restarting MM.
      It has about 12 GB available space, so that’s not the problem.
      What on earth is suddenly going on? This has worked for at least a year?
      Everything is fully updated on the modules and core.

      posted in Troubleshooting
      F
      fribse
    • RE: MMM-News-QR doesn't ACTUALLY work.

      @j0539h That sounds odd, I know that saying so is about as constructive as your post, but it works fine here.

      My config looks like this:

          {
            module: "newsfeed",
            position: "bottom_bar",
            classes: "day_schedule",
            config: {
              feeds: [
                {
                  title: "Ekstra Bladet",
                  url: "https://ekstrabladet.dk/rssfeed/all/"
                },
                {
                  title: "DR nyheder",
                  url: "https://www.dr.dk/nyheder/service/feeds/allenyheder"
                },
                {
                  title: "BT",
                  url: "https://www.bt.dk/bt/seneste/rss"
                },
                {
                  title: "Berlingske.dk",
                  url: "https://www.berlingske.dk/content/3/rss"
                },
                {
                  title: "TV2 Øst",
                  url: "https://www.tv2east.dk/rss"
                }
              ],
              updateInterval: 30000,
              showSourceTitle: true,
              showPublishDate: true,
              broadcastNewsFeeds: true,
              broadcastNewsUpdates: true
            }
          },
         {
            module: "MMM-News-QR",
            position: "bottom_bar",
            classes: "day_schedule",
            config: {
              updateType : "push",
              animationSpeed: 2500,
              colorDark: "#fff",
              colorLight: "#000",
              imageSize: 100
            }
          },
      
      posted in Troubleshooting
      F
      fribse
    • I can't get screencast to show up longer?

      Not sure what the h… happened here.
      My MMM-Screencast doesn’t show up in the Youtube app any longer.

      I did a reinstall with

      git clone https://github.com/kevinatown/MMM-Screencast.git
      cd MMM-Screencast
      npm install
      

      Config looks like this

      {
            module: "MMM-Screencast",
            position: "bottom_right",
            config: {
              castName: "Spejl",
              position: "bottomCenter",
              height: 600,
              width: 800,
            }
          },
      

      Just to be sure that I had the latest, but nothing shows up.
      Is there a special trick for this?

      Looking in the logs, I did find something, but I don’t understand the meaning, except that it says it’s already listening?

      0|MagicMir | [24.04.2021 17:30.32.266] [ERROR] Error [ERR_SERVER_ALREADY_LISTEN]: Listen method has been called more than once without clo
      sing.
      0|MagicMir |     at Server.listen (net.js:1386:11)
      0|MagicMir |     at DialServer.start (/home/pi/MagicMirror/modules/MMM-Screencast/DialServer.js:123:17)
      0|MagicMir |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Screencast/node_helper.js:22:21)
      0|MagicMir |     at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:109:11)
      0|MagicMir |     at Socket.emit (events.js:210:5)
      0|MagicMir |     at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:434:28
      0|MagicMir |     at processTicksAndRejections (internal/process/task_queues.js:75:11) {
      0|MagicMir |   code: 'ERR_SERVER_ALREADY_LISTEN'
      0|MagicMir | }
      

      I looked a bit with
      sudo netstat -tulpn | grep LISTEN
      And without MagicMirror running it shows

      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      490/sshd
      tcp6       0      0 :::22                   :::*                    LISTEN      490/sshd
      

      with MagicMirror it shows

      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      490/sshd
      tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      5754/electron.js
      tcp6       0      0 :::22                   :::*                    LISTEN      490/sshd
      tcp6       0      0 :::8569                 :::*                    LISTEN      5754/electron.js
      

      So the port 8569, isn’t that screencast? If I uncomment the screencast config, it doesn’t show the port as opened…
      So why doesn’t it show up in the app?

      posted in General Discussion
      F
      fribse
    • RE: weather module just shows loading?

      Ok, I found out what was wrong, despite the confusion with the ’ or " use.
      It’s the appid, it’s called apiKey in the weather module.
      So after changing that (and also changing all ’ to " in the config), removing quotes around numbers, only have the locationID instead of both location and locationID and other cleanup stuff, it is shows properly :-)

      So I replaced both my currentweather and YrThen modules with two weather modules:

      {
            module: "weather",
            position: "top_right",
            classes: "day_schedule",
            config: {
              weatherProvider: "openweathermap",
              type: "current",
              units: "metric",
              timeFormat: 24,
              decimalSymbol: ",",
              initialLoadDelay: 0,
              onlyTemp: false,
              locationID: 2621215,
              apiKey: "xxx"
            }
          },
          {
            module: "weather",
            position: "top_right",
            classes: "day_schedule",
            config: {
              weatherProvider: "openweathermap",
              type: "forecast",
              units: "metric",
              timeFormat: 24,
              decimalSymbol: ",",
              initialLoadDelay: 0,
              onlyTemp: true,
      		maxNumberOfDays: 7,
      		colored: true,
      		appendLocationNameToHeader: false,
              locationID: 2621215,
              apiKey: "xxx"
            }
          },
      

      Looks very nice indeed
      72f6ceb8-742c-4a07-8b3f-61bb47375ee4-image.png

      posted in Troubleshooting
      F
      fribse
    • weather module just shows loading?

      I just noticed that the ‘currentweather’ module I’ve set up a long time ago, is now deprecated, and I should use weather instead.
      So I tried setting it up, but it just shows ‘loading’.
      The config I’ve built looks like this:

      {
        module: 'weather',
        position: 'top_right',
        classes: 'day_schedule',
        config: {
          weatherProvider: 'openweathermap',
          type: "current",
          units: 'metric',
          timeFormat: '24',
          decimalSymbol: ',',
          initialLoadDelay: '0',
          onlyTemp: 'true',
          location: 'Greve',
          locationID: '2621215',
          appid: 'xxx'
        }
      },
      

      I then tried stripping it to the example:

      {
        module: "weather",
        position: "top_right",
        config: {
          // See 'Configuration options' for more information.
          type: 'current'
        }
      },
      

      Still just shows loading…

      posted in Troubleshooting
      F
      fribse
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 15
    • 16
    • 6 / 16