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.

    MMM-AutoDimmer

    Scheduled Pinned Locked Moved System
    7 Posts 3 Posters 1.5k Views 4 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.
    • L Offline
      lif @Fifteen15Studios
      last edited by sdetweil

      @Fifteen15Studios

      Hi,

      Thanks for creating this, I’ve installed it and while it dims and brightens, it doesn’t do it at the times I set-up in config.js

       {
          module: 'MMM-AutoDimmer',
          position: 'fullscreen_above',
          header: '',
        // Don't change anything above this line
          config: {
            schedules: [
              {}, // default schedule - 8pm to 7am daily
              {
              // will dim to default level of 0.9, from 8am to 5pm, Mon-Fri
                days: ["Monday","Tuesday","Wednesday","Thursday","Friday"],
                dimTime: 2330,
                brightTime: 730
              // defaults are used for values that are not explicitly set
              }
            ]
          }
        },
      

      Sorry, I don’t know what time it is actually dimming, the monitor is in my office but is it possible it’s taking the times from another Time Zone? I’m in CET.

      Best regards

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        Fifteen15Studios @lif
        last edited by

        @lif It looks like you have the default schedule as well as your own schedule. That means that it’s going to dim from 8pm-7am (20:00-07:00) every day (which is the default schedule) and your schedule is setting it to also dim from 11:30pm-7:30am (23:30-7:30) Mon-Fri.

        Since these schedules overlap, it’s going to be dim from 8pm-7:30am (20:00-07:30) Mon-Fri and 8pm-7am (20:00-7:00) Sat and Sun

        If you only want your schedule, simply remove this line:

        {}, // default schedule - 8pm to 7am daily
        
        L 1 Reply Last reply Reply Quote 0
        • L Offline
          lif @Fifteen15Studios
          last edited by

          @Fifteen15Studios

          Thank you very much for your reply, I’ll see if that works later tonight.

          Best regards

          1 Reply Last reply Reply Quote 0
          • C Offline
            Como
            last edited by

            I’m hoping you may be able to help me also. Based on your response to @lif I removed the default schedule which helped with making sure my screen brightens at the correct time. I also tried to add in later times for the weekend when my family tends to sleep in, but it is still brightening at the weekday times. I’ve included my config below. Of note, the default times in the MMM-AutoDimmer.js file have been set to match my Saturday and Sunday times and the screen is still brightening too early.

            module: 'MMM-AutoDimmer',
            position: 'fullscreen_above',
            header: '',
            // Don't change anything above this line
            config: {
              schedules: [
                  {
                  days: ["Sunday","Saturday"],
                  dimTime:2000,
                  brightTime:700
                        },
                {
                  days: ["Monday","Tuesday","Wednesday","Thursday","Friday"],
                  dimTime: 1930,
                  brightTime: 0530
                  // defaults are used for values that are not explicitly set
                  }
            
            F 1 Reply Last reply Reply Quote 0
            • F Offline
              Fifteen15Studios @Como
              last edited by

              @Como is it brightening early on just Saturday, or both Saturday and Sunday?

              My guess is that the Friday schedule is going from Friday night to Saturday morning, which means it would brighten early on Saturday. Then the Saturday and Sunday schedules go into Sunday morning and Monday morning. So you may want to change the days on the schedules to go from Sunday - Thursday, and Friday - Saturday and see if that helps.

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                Como @Fifteen15Studios
                last edited by

                @Fifteen15Studios great thought on the Friday schedule carrying over. I’ve adjusted tat. It seemed to brighten both weekend mornings, but my kiddos did have me up early and distracted, so I will have to test it more. Thanks for the suggestion!

                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