• 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.

Standard Weather Module showing unwanted header

Scheduled Pinned Locked Moved Unsolved Troubleshooting
11 Posts 3 Posters 195 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.
  • R Offline
    rkorell @rkorell
    last edited by Mar 30, 2025, 12:16 PM

    @rkorell OK, just seen at least one other mistake:
    I’ve picked “appendLocationToHeader” but this should be “appendLocationNameToHeader” …

    R 1 Reply Last reply Mar 30, 2025, 12:25 PM Reply Quote 0
    • R Offline
      rkorell @rkorell
      last edited by rkorell Mar 30, 2025, 12:25 PM Mar 30, 2025, 12:25 PM

      @karsten13 ,
      yupp this seems to do the trick.
      undoing code changes and adding

      appendLocationNameToHeader: false,
      

      to weather config let the header disappear …
      Thanks!

      Ralf

      (not understood why and how but at least this way the header lines are really not present - the blackness idea makes them invisible but they still occupy room.)

      S 1 Reply Last reply Mar 30, 2025, 1:32 PM Reply Quote 0
      • S Away
        sdetweil @rkorell
        last edited by sdetweil Mar 30, 2025, 1:34 PM Mar 30, 2025, 1:32 PM

        @rkorell the old weather api returned the location Name, and someone decided to show it in the MagicMirror module header field

        but you can disable this function by setting the config property to false (default true)

        the v3 api does NOT return the location Name, so you need to set the property to false AND YOU have to set the header manually
        header:“…”, after the module:“weather”,

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Mar 30, 2025, 4:55 PM Reply Quote 0
        • R Offline
          rkorell @sdetweil
          last edited by Mar 30, 2025, 4:55 PM

          @sdetweil said

          by setting the config property to false (default true)

          Dear Sam,
          Thanks for this.
          Which one of the config properties are you referencing to?
          I‘ve set

          header: „“
          

          This definitely doesn‘t work because it‘s overwritten somewhere
          .
          Regards,
          Ralf

          S 1 Reply Last reply Mar 30, 2025, 5:22 PM Reply Quote 0
          • S Away
            sdetweil @rkorell
            last edited by Mar 30, 2025, 5:22 PM

            @rkorell said in Standard Weather Module showing unwanted header:

            Which one of the config properties are you referencing to?

            appendLocationNameToHeader: false,
            

            and for header

            {
                 module:"weather",
                 header:"something",
                 position:
                 config: {
                   ...
                 }
            }
            

            all of these properies belong to MagicMirror, same for every module
            https://docs.magicmirror.builders/modules/configuration.html#module-configuration

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Mar 30, 2025, 7:57 PM Reply Quote 0
            • R Offline
              rkorell @sdetweil
              last edited by Mar 30, 2025, 7:57 PM

              @sdetweil said

              appendLocationNameToHeader: false,
              

              Yeah.
              OK, already found this…

              Regards,
              Ralf

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 1 / 2
              1 / 2
              • First post
                10/11
                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