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.

    Clock , weather module problems

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 3.7k 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.
    • A Offline
      Akzariel
      last edited by Akzariel

      I set the time format to 24 in the beginning, but it still goes to the 12 format on both sides. Now my question is how to change both of them to 24 and since I already have a clock module on the left I don’t know what it needs to be on the right in weather ( it even goes 1 hour and 30 min faster than actual clock so I have no idea whats wrong with it ) . 0_1509200607720_22883241_1924553824461575_1424527918_n.jpg

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @Akzariel
        last edited by

        @Akzariel

        Have you set your time format in the config.js file to 24 hour?
        0_1509203347484_121.JPG

        The time in the weather module is not a clock. It shows the time of sunrise and sunset. Notice the little sunset icon to the left of 5:51 pm in your picture

        Create a working config
        How to add modules

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Akzariel
          last edited by

          0_1509204259917_ef61ae8bda7bf4ad8cd917115365bd86.png

          The whole config.js file , sir :)

          1 Reply Last reply Reply Quote 0
          • A Offline
            Akzariel @Mykle1
            last edited by

            This post is deleted!
            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Akzariel
              last edited by

              @Akzariel

              I assume you corrected the time format?

              All the configuration options available for the currentweather module are at the bottom of the readme, here.
              https://github.com/MichMich/MagicMirror/tree/master/modules/default/currentweather.

              I believe that adding this to the currentweather entry in your config will do what you are asking.
              onlyTemp: true,

              If you want to target just the sunset timer and icon you would have to do that via custom.css. It’s not recommended that you edit the currentweather.js.

              In the future, if you would post your code in a code block instead of a picture, it would be easier for others to see and to help you.

              Cheers, mate.

              Create a working config
              How to add modules

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Akzariel @Mykle1
                last edited by

                @Mykle1 No, sir I didn’t … I just corrected that currentweather problem with the code you gave me , the time format is still pm/am

                Mykle1M 1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @Akzariel
                  last edited by Mykle1

                  @Akzariel said in Clock , weather module problems:

                  the time format is still pm/am

                  Well, the module is supposed to default to your config.js timeFormat: 24, as I pointed out in the picture earlier. Have you set that to 24? I just changed 3 different machines and they all displayed the 24 hour time format when that is set to 24

                  Create a working config
                  How to add modules

                  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