MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Need Help Changing Background Image Based on Time

    Troubleshooting
    4
    16
    281
    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.
    • M
      MMRIZE @sdetweil last edited by

      @sdetweil
      First url was set in start(), so I put that next of update in recursive.

      S 1 Reply Last reply Reply Quote 0
      • E
        easty @tonkxy last edited by

        @tonkxy

        Time based background is a great idea. Are you planning on releasing this as a module?

        T 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @MMRIZE last edited by

          @mmrize ok. my experience and training on maintaining software teaches me never to do this. you have two places where state is set.

          Sam

          Create a working config
          How to add modules

          M 1 Reply Last reply Reply Quote 0
          • M
            MMRIZE @sdetweil last edited by

            @sdetweil you are right. It was just an example. 🙂

            1 Reply Last reply Reply Quote 0
            • T
              tonkxy @easty last edited by

              @easty i am! Im going to integrate it with weather conditions. It’ll have a gif background that resembles the time of day / condition. Ill be adding in overlays for hrly breakdowns, 5 day etc.

              M 1 Reply Last reply Reply Quote 0
              • M
                MMRIZE @tonkxy last edited by

                @tonkxy
                Just for reference, there is a similar module already. You’d better get a hint from it.
                https://github.com/BrianHepler/MMM-WeatherBackground
                It derive the background image from unsplash collections by weather and season condition(and ideally, everything if it can be translated and notified from any modules.)

                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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy