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.

    DIY Module Displays Nothing

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 3 Posters 1.2k 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 Do not disturb
      sdetweil @hokie-bird
      last edited by sdetweil

      @hokie-bird not sure, but two things

      1. the sendSocketNotification() in start should be removed , the browser side is not up yet.

      2. you are sending requests for playing info 1/second,
        can the server handle multiple concurrently?
        how long is the response time ?

      i would change that to 5 seconds to test,
      you can change it in config.js

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • H Offline
        hokie-bird
        last edited by

        Thank you again @sdetweil

        I implemented both of your changes (removing sendSocketNotification() in start and 5 second refresh interval) and it seems the refresh interval is what is impacting the display. At 1 second, basically nothing, but at 5 seconds I get a 5 second display, then maybe a 2 second disappearance and then a 5 second display repeating pattern. (Which is somewhat interesting as the browser console is reporting accurate data every 1 second, despite nothing being displayed.) Not sure how to get a constant/non-disappearing display (when music is playing) while still getting an accurate reflection/countdown of the time remain, but I’ll experiment with that.

        Of course, suggestions welcome. And thanks again.

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @hokie-bird
          last edited by sdetweil

          @hokie-bird you are also asking for a 4 second transition on the changes w updateDom(…)

          so 2 seconds fade out and 2 seconds fade in

          this.updateDom(this.config.fadeSpeed);
          and you are interrupting the fade with another updateDom

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • H Offline
            hokie-bird
            last edited by

            It was the fade! when I switch the fade to 0, even the refresh of 1 seconds works and displays perfectly. @sdetweil you are brilliant!

            Thank you!

            1 Reply Last reply Reply Quote 0
            • S sdetweil has marked this topic as solved on
            • 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