MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    HELP -- MMM-calendarExt2 was not displayed

    Scheduled Pinned Locked Moved Forum
    22 Posts 4 Posters 5.9k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • swvalentiS Offline
      swvalenti Project Sponsor @SARCux
      last edited by

      @SARCux Are you running MagicMirror with pm2? Or manually?

      Please run sudo netstat -lnptu to check which application is blocking 8082

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        SARCux @swvalenti
        last edited by

        @swvalenti

        > magicmirror@2.19.0 start
        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev"
        
        [16.04.2022 21:59.19.108] [LOG]   Starting MagicMirror: v2.19.0
        [16.04.2022 21:59.19.126] [LOG]   Loading config ...
        [16.04.2022 21:59.19.142] [LOG]   Loading module helpers ...
        [16.04.2022 21:59.19.150] [LOG]   No helper found for module: alert.
        [16.04.2022 21:59.19.204] [LOG]   Initializing new module helper ...
        [16.04.2022 21:59.19.210] [LOG]   Module helper loaded: updatenotification
        [16.04.2022 21:59.19.215] [LOG]   No helper found for module: clock.
        [16.04.2022 21:59.19.227] [LOG]   Initializing new module helper ...
        [16.04.2022 21:59.19.232] [LOG]   Module helper loaded: MMM-DWD-WarnWeather
        [16.04.2022 21:59.19.285] [LOG]   Initializing new module helper ...
        [16.04.2022 21:59.19.289] [LOG]   Module helper loaded: MMM-bsh-tides
        [16.04.2022 21:59.19.293] [LOG]   No helper found for module: MMM-OpenmapWeather.
        [16.04.2022 21:59.19.432] [LOG]   Initializing new module helper ...
        [16.04.2022 21:59.19.434] [LOG]   Module helper loaded: MMM-OpenWeatherForecast
        [16.04.2022 21:59.19.825] [LOG]   Initializing new module helper ...
        [16.04.2022 21:59.19.829] [LOG]   Module helper loaded: MMM-CalendarExt2
        [16.04.2022 21:59.19.833] [LOG]   All module helpers loaded.
        [16.04.2022 21:59.20.096] [LOG]   Starting server on port 8081 ...
        [16.04.2022 21:59.20.117] [WARN]  You're using a full whitelist configuration to allow for all IPs
        [16.04.2022 21:59.20.136] [LOG]   Server started ...
        [16.04.2022 21:59.20.139] [LOG]   Connecting socket for: updatenotification
        [16.04.2022 21:59.20.143] [LOG]   Starting module helper: updatenotification
        [16.04.2022 21:59.20.145] [LOG]   Connecting socket for: MMM-DWD-WarnWeather
        [16.04.2022 21:59.20.147] [LOG]   MMM-DWD-WarnWeather helper started...
        [16.04.2022 21:59.20.149] [LOG]   Connecting socket for: MMM-bsh-tides
        [16.04.2022 21:59.20.151] [LOG]   Starting module helper: MMM-bsh-tides
        [16.04.2022 21:59.20.154] [LOG]   Connecting socket for: MMM-OpenWeatherForecast
        [16.04.2022 21:59.20.156] [LOG]   ====================== Starting node_helper for module [MMM-OpenWeatherForecast]
        [16.04.2022 21:59.20.161] [LOG]   Connecting socket for: MMM-CalendarExt2
        [16.04.2022 21:59.20.163] [LOG]   Sockets connected & modules started ...
        [16.04.2022 21:59.20.629] [ERROR] Whoops! There was an uncaught exception...
        [16.04.2022 21:59.20.648] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8081
            at Server.setupListenHandle [as _listen2] (node:net:1334:16)
            at listenInCluster (node:net:1382:12)
            at GetAddrInfoReqWrap.doListen [as callback] (node:net:1520:7)
            at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8) {
          code: 'EADDRINUSE',
          errno: -98,
          syscall: 'listen',
          address: '127.0.0.1',
          port: 8081
        }
        
        swvalentiS 1 Reply Last reply Reply Quote 0
        • swvalentiS Offline
          swvalenti Project Sponsor @SARCux
          last edited by

          @SARCux not too sure now, have to call in the big guns to help good luck

          1 Reply Last reply Reply Quote 0
          • swvalentiS Offline
            swvalenti Project Sponsor
            last edited by

            you sure there is not another instance of magicmirror running somewhere?

            1 Reply Last reply Reply Quote 0
            • S Offline
              SARCux @swvalenti
              last edited by

              @swvalenti

              Server started is this correct??

              Aktive Internetverbindungen (Nur Server)
              Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
              tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      517/vncserver-x11-c
              tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      519/sshd: /usr/sbin
              tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      487/cupsd
              tcp6       0      0 ::1:631                 :::*                    LISTEN      487/cupsd
              tcp6       0      0 :::5900                 :::*                    LISTEN      517/vncserver-x11-c
              tcp6       0      0 :::22                   :::*                    LISTEN      519/sshd: /usr/sbin
              udp        0      0 0.0.0.0:68              0.0.0.0:*                           862/dhcpcd
              udp        0      0 0.0.0.0:631             0.0.0.0:*                           545/cups-browsed
              udp        0      0 0.0.0.0:5353            0.0.0.0:*                           368/avahi-daemon: r
              udp        0      0 0.0.0.0:51486           0.0.0.0:*                           368/avahi-daemon: r
              udp6       0      0 :::40941                :::*                                368/avahi-daemon: r
              udp6       0      0 :::5353                 :::*                                368/avahi-daemon: r
              
              BKeyportB 1 Reply Last reply Reply Quote 0
              • BKeyportB Offline
                BKeyport Module Developer @SARCux
                last edited by

                Let’s get all the info we can on this - strip your config of anything like passwords and private urls, and post it.

                The "E" in "Javascript" stands for "Easy"

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  SARCux @BKeyport
                  last edited by

                  @BKeyport

                  let config = {
                          address: "localhost",   // Address to listen on, can be:
                                                                          // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                                                          // - another specific IPv4/6 to listen on a specific interface
                                                                          // - "0.0.0.0", "::" to listen on any interface
                                                                          // Default, when address config is left out or empty, is "localhost"
                          port: 8081,
                          basePath: "/",  // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
                                                          // you must set the sub path here. basePath must end with a /
                          ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],  // Set [] to allow all IP addresses
                                                                                                                                          // or add a specific IPv4 of 192.168.1.5 :
                                                                                                                                          // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                                                                                                                                          // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                                                                                                                                          // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                  
                          useHttps: false,                // Support HTTPS or not, default "false" will use HTTP
                          httpsPrivateKey: "",    // HTTPS private key path, only require when useHttps is true
                          httpsCertificate: "",   // HTTPS Certificate path, only require when useHttps is true
                  
                          language: "de",
                          locale: "de-DE",
                          logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
                          timeFormat: 24,
                          units: "metric",
                          // serverOnly:  true/false/"local" ,
                          // local for armv6l processors, default
                          //   starts serveronly and then starts chrome browser
                          // false, default for all NON-armv6l devices
                          // true, force serveronly mode, because you want to.. no UI on this device
                  
                          modules: [
                                  {
                                          module: "alert",
                                  },
                                  {
                                          module: "updatenotification",
                                          position: "top_bar"
                                  },
                                  {
                                          module: "clock",
                                          position: "top_right"
                                  },
                                  {
                                          module: "MMM-DWD-WarnWeather",
                                          position: "top_right",
                                          config: {
                                                  warnCellID: "803455020",
                                                  changeColor: true,
                                                  
                                                                                  minutes: false,
                                                  
                                                                                  displayRegionName: true,
                                                  
                                                                                  displayInnerHeader: true,
                                                  
                                                                                  interval: 5 * 60 * 1000, // every 5 minutes
                                                  
                                                                                  loadingText: "Warnungen werden geladen...",
                                                  
                                                                                  noWarningText: "Keine Warnungen",
                                                  
                                                                                  severityThreshold: 1
                                                  
                                                                                  }
                                                  
                                                                  },
                                                                  {
                                                  
                                                                          module: "MMM-bsh-tides",
                                                  
                                                                          position: "top_right",
                                                  
                                                                          header: "*********",
                                                  
                                                                          config: {
                                                  
                                                                                  filename: "*********", // file from https://tableau.bsh.de/views/Gezeitenvorausberechnung_V02/Download-Bereich
                                                  
                                                                                  todayLabel: "Heute",
                                                  
                                                                                  tomorrowLabel: "Morgen",
                                                  
                                                                                  highTide: "Hochwasser",
                                                  
                                                                                  lowTide: "Niedrigwasser",
                                                  
                                                                                  showIcons: false, // Hide or show arrow icons
                                                  
                                                                                  updateInterval: 60 * 60 * 1000, // 1 hour
                                                  
                                                                                  }
                                                  
                                                                  },
                                                                  {
                                                                          module: "MMM-OpenmapWeather",
                  
                                                                          position: "top_left",   // This can be any of the regions. Best results in left or right regions.
                                                  
                                                                          header: "Current Weather", //Location is the default value if header is empty or not defined.
                                                  
                                                                          config: {
                                                  
                                                                                  // See 'Configuration options' for more information.
                                                  
                                                                                  location: "*******",
                                                  
                                                                                  locationID: "***********", //Location ID from http://openweathermap.org/help/city_list.txt
                                                  
                                                                                  appid: "***************",  //openweathermap.org API key
                                                  
                                                                                  colorIcon: true
                                                  
                                                                                  }
                                                  
                                                                  },
                                                  
                                                                  {
                                                  
                                                                          module: "MMM-OpenWeatherForecast",
                                                  
                                                                          position: "top_left",
                                                  
                                                                          header: "Wettervorhersage Hooksiel",
                                                  
                                                                          language: "de",
                                                  
                                                                          config: {
                                                  
                                                                                  apikey: "*****************", //only string here
                                                  
                                                                                  latitude: 53.640873,            //number works here
                                                  
                                                                                  longitude: 8.093848,          //so does a string
                                                  
                                                                                  units: "metric",
                                                  
                                                                                  iconset: "5c",
                                                  
                                                                                  colored: true,
                                                  
                                                                                  concise: true,
                                                  
                                                                                  requestDelay: "2000",
                                                  
                                                                                  showFeelsLikeTemp: true,
                                                  
                                                                                  showCurrentConditions: false,
                                                  
                                                                                  showSummary: false,
                                                  
                                                                                  showExtraCurrentConditions: true,
                                                  extraCurrentConditions: {
                                                          highLowTemp: true,
                                                          precipitation: true,
                                                          sunrise: true,
                                                          sunset: true,
                                                          wind: true,
                                                          barometricPressure: true,
                                                          humidity: true,
                                                          dewPoint: false,
                                                          uvIndex: true,
                                                          visibility: true
                                                          },
                                                  }
                                  },
                  
                  
                  
                                  {
                                          module: "MMM-CalendarExt2",
                                          config: {
                                          calendars : [
                                          {
                                                  name: "******",
                                                  url: "***********",
                                                  scanInterval: 7200000, //(already tried: 1000*60*60*2, 2*60*60*1000, )
                                          },
                                                  ],
                                          views: [
                                          {
                                                  name: "view1",
                                                  mode: "week",
                                                  calendars: ["******"],
                                                  hideOverflow: false,
                                                  position: "top_bar",
                                                  slotCount: 3,
                                                  filterPassedEvent: true,
                                                  locale: "de-DE",
                                          },
                                          {
                                                  name: "upcoming",
                                                  mode: "upcoming",
                                                  position: "top_center",
                                                  maxItems: 5,
                                                  maxDays: 7,
                                                  locale: "de-DE",
                                                  hideOverflow: false,
                                                  filterPassedEvent: true,
                                          },
                                                  ],
                                          scenes: [
                                          {
                                                  name: "DEFAULT",
                                          },
                                                  ],
                                                  },
                                  },
                  
                          ]
                  };
                  
                  /*************** DO NOT EDIT THE LINE BELOW ***************/
                  if (typeof module !== "undefined") {module.exports = config;}
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @SARCux
                    last edited by sdetweil

                    @SARCux how did you install MagicMirror?

                    did u do the manual install, git clone and npm install

                    or use my script?

                    looks like manual install

                    u set auto start at boot. can’t start it again unless u shutdown the other instance

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      SARCux @sdetweil
                      last edited by

                      @sdetweil

                      tomorrow i would like to install all new (sdcard)
                      after that i install MM
                      where can i find your script for install it?

                      1 Reply Last reply Reply Quote 0
                      • swvalentiS Offline
                        swvalenti Project Sponsor
                        last edited by

                        https://github.com/sdetweil/MagicMirror_scripts

                        S 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy