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.

    Calendar does not run on secondary screen

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 2 Posters 685 Views 2 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.
    • S Offline
      sdetweil @BKeyport
      last edited by

      @BKeyport

      edit MagicMirror/js/server.js

      add these two lines

      				allowEIO3: true,   // line 45
      				pingInterval: 120000,  // server → client ping every 2 mins   //add
      				pingTimeout:  120000   // wait up to 2 mins for client pong   //add	
      

      edit MagicMirror/js/socketclient.js

      add these two lines

          this.socket = io(`/${this.moduleName}`, {  // line 15
                      path: `${base}socket.io`,
                      pingInterval: 120000,  // send pings every 2 mins     // add
                      pingTimeout: 120000    // wait up to 2 mins for a pong  // add
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      BKeyportB S 2 Replies Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer @sdetweil
        last edited by

        @sdetweil Yep. that fixed it.

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

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

          @BKeyport awesome!!!

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • BKeyportB BKeyport has marked this topic as solved on
          • S Offline
            sdetweil @sdetweil
            last edited by

            This fix is in the next release , Oct 1

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 2 / 2
            • 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