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.

    Currentweather and weatherforecast do not stay hidden

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 3 Posters 980 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.
    • ? Offline
      A Former User
      last edited by A Former User

      @kayakbabe said in Currentweather and weatherforecast do not stay hidden:

      module.hide(1000, null, {lockstring:“GESTURE”})

      module.hide(1000, {lockString:"GESTURE"})

      after it’s the same scheme for module.show()

      ;)

      kayakbabeK 1 Reply Last reply Reply Quote 0
      • kayakbabeK Offline
        kayakbabe @Guest
        last edited by

        @Bugsounet I found that in the config.js for the grove gestures and changed it. … no effect. I fully stopped and restarted the magic mirror.

        the other modules stayed hidden like the are supposed to, but not the current weather or weather forecast.

        1 Reply Last reply Reply Quote 0
        • kayakbabeK Offline
          kayakbabe @sdetweil
          last edited by

          @sdetweil what sleepwake module are you using?

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

            @kayakbabe https://github.com/sdetweil/MMM-SleepWake

            I wrote this because I did not have a PIR sensor at the time, but did have a webcam.

            I also didn’t want to learn how to manage the camera so use a system module,
            motion.
            sudo apt-get install motion

            the module gets triggered by something executing the trigger script i provide.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            kayakbabeK 1 Reply Last reply Reply Quote 0
            • kayakbabeK Offline
              kayakbabe @sdetweil
              last edited by

              @sdetweil Having what you have on hand makes a ton of sense. I would probably go that on route myself except I’m making this as a gift for my Dad. He is an absolute paranoid dude when it comes to cameras especially in his bathroom or bedroom, which is where this will go. And the PIR sensors are cheap. cheaper than even a pi camera. And this mirror will always be on due to the cheap monitor I"m using.

              I do think something in the currentweather and forecastweather is tossing out dom information that is switching the style css from display off to display block.
              i have commented out all the other modules except the MMM-grovegestures and the two weather modules. So it’s not coming from elsewhere.

              From looking at the code, it appears that there is an onIdle somewhere. I want to find that.

              I wish I had Coda on this pi. I’m used to coding in a Mac environment. I’m being stubborn and trying to do this all on the pi.
              Is there a graphic code editor which can search files in a project and not just the file you have open?

              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