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.

    module weather

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 3 Posters 200 Views 3 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.
    • B Offline
      benoit73
      last edited by

      hello,
      i don’t understand why i can’t show weather ?

        {
                  module: "weather",
                  position: "top_center",
                  header: "Currently in",
                  config: {
                    weatherProvider: 'openweathermap',
                    type: "current",
                    apiBase: 'https://api.openweathermap.org/data/',
                    weatherEndpoint: '/weather',
                    lat: 45.95,
                    lon: 4.5333,
                    locationID: 2987410,
                      aptKey: 'a6ac7aa4c11903918f355eb3bedcd72b',
                  },
              },
      
      i write something wrong ? 
      
      S KristjanESPERANTOK 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @benoit73
        last edited by sdetweil

        @benoit73 take off the weatherEndpoint and apiBase let the module do that.

        if you are using openweather, make sure you have a v3 spi key(requires a credit card)
        and set

        apiVersion:"3.0",
        

        in a couple weeks this will be corrected in the module I hope, for tye July 1 release

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • KristjanESPERANTOK Offline
          KristjanESPERANTO Module Developer @benoit73
          last edited by

          @benoit73 said in module weather:

          aptKey

          apiKey

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @KristjanESPERANTO
            last edited by

            @KristjanESPERANTO good catch!

            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