• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Module shown few minute after hiding it

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 575 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.
  • R Offline
    ricky
    last edited by Sep 9, 2020, 2:24 AM

    Hi
    These days I have trying to make my own MM2.
    However there is one issue, I can’t fixed it up.

    I made MM2 with MMM-backgroudSlideshow then I’ll implement with some of sensor.
    If there is person presence in front of MM, background will be disapper.
    and if there is no person in front of MM, show background then hide all of information likes weather, weatherforcast, clock and so one.
    FYI I used background image in my NAS server and connected it by network file system(NFS).

    so problem is that few minutes later hiding all of module except background, only weather and weatherforcast shown automatically.
    other modules still in hiding mode.

    did you experience this kinds of issue?
    one more thing is that all of module hiding method called when MMM-backgroundSlideshow get DOM_CREATED_OBJECT notification.

    many thank for your help :)

    S 1 Reply Last reply Sep 9, 2020, 1:49 PM Reply Quote 0
    • S Offline
      sdetweil @ricky
      last edited by Sep 9, 2020, 1:49 PM

      @ricky I use hiding in my MMM-SleepWake module for sleeping, as my TV’s do not support cec commands to turn off.

      I don’t see the behavior u mention.

      what module does the hiding/showing for your solution?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • R Offline
        ricky
        last edited by Sep 15, 2020, 11:18 PM

        Hi Sam.

        it’s weather and MMM-weatherforecast. I think when it’s updated, it shows up.

        I just hide it when motion sensor not detected person 5 minutes.

        then show up it’s detected.

        other modules works well for example email, calendar and so on.

        S 1 Reply Last reply Sep 15, 2020, 11:21 PM Reply Quote 0
        • S Offline
          sdetweil @ricky
          last edited by sdetweil Sep 15, 2020, 11:26 PM Sep 15, 2020, 11:21 PM

          @ricky same thing my MMM-SleepWake module does. module.hide ()

          nothing shows until module.show()
          I do not use lockstrings

          welcome to look at my code, all in MMM-SleepWake.js

          I hide the background module too
          MMM-ImagesPhotos for me

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • H Offline
            hiesscher
            last edited by Oct 11, 2020, 9:22 AM

            Hey guys,

            got a similar Probem with the Weatherforecast Module working with Pages Module.
            Weatherforecast is configurated on just one Page and shows up on every Page after update.

            I guess found a solutiion on that:
            On Weatherforcast.js on line 377

            this.show(this.config.animationSpeed, { lockString: this.identifier });
            

            is called. I guess this has to be done, when Module is shown up to update UI, but not if Module is hidden.
            So

            if (!this.hidden)
                this.show(this.config.animationSpeed, { lockString: this.identifier });
            

            does the trick.

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