• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @Akzariel
    last edited by Oct 28, 2017, 3:08 PM

    @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 Oct 28, 2017, 3:29 PM Reply Quote 0
    • A Offline
      Akzariel
      last edited by Oct 28, 2017, 3:24 PM

      0_1509204259917_ef61ae8bda7bf4ad8cd917115365bd86.png

      The whole config.js file , sir :)

      1 Reply Last reply Reply Quote 0
      • A Offline
        Akzariel @Mykle1
        last edited by Oct 28, 2017, 3:29 PM

        This post is deleted!
        M 1 Reply Last reply Oct 28, 2017, 3:44 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @Akzariel
          last edited by Oct 28, 2017, 3:44 PM

          @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 Oct 28, 2017, 4:20 PM Reply Quote 0
          • A Offline
            Akzariel @Mykle1
            last edited by Oct 28, 2017, 4:20 PM

            @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

            M 1 Reply Last reply Oct 28, 2017, 8:55 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @Akzariel
              last edited by Mykle1 Oct 28, 2017, 8:58 PM Oct 28, 2017, 8:55 PM

              @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
              1 / 1
              • First post
                6/7
                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