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.

    sunTimes and moonTimes

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 482 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.
    • P Offline
      princemaxwell
      last edited by

      Hey,

      can someone explain sunTimes and moonTimes?

      For my city “Dortmund, Germany” i think the suntimes are not correct.

      Does it really mean, the sun rises at15:11 and goes down at 03:23 ???
      When i google the times they differ extremly:
      March 20th: 06:30 - 18:45 (sun)

      Screenshot 2024-03-20 232951.png

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @princemaxwell
        last edited by sdetweil

        @princemaxwell how did you configure your location in the module?

        can you show the module config

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          princemaxwell @sdetweil
          last edited by

          @sdetweil

          	{
          		module: "clock",
          		position: "top_left",
          		config:	{
          			clockBold: false,
          			showWeek: false,
          			showSunTimes: true,
          			showMoonTimes: true,
          			lat: 51.514244,
          			lng: 7.468429,
          		}
          	},
          

          Thats my configuration of clock module.

          S 3 Replies Last reply Reply Quote 0
          • S Away
            sdetweil @princemaxwell
            last edited by

            @princemaxwell how did you install mm?
            can you do

            cd ~/MagicMirror 
            grep version node_modules/suncalc/package.json
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @princemaxwell
              last edited by

              @princemaxwell said in sunTimes and moonTimes:

                	lng: 7.468429,
              

              ok, after testing… this parameter is incorrect

              it should be

                         lon: 7.468429
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @princemaxwell
                last edited by

                @princemaxwell did you correct your configuration and retry?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                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