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.

    Weather module not showing temperature in Celsius

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 1.2k 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.
    • C Offline
      chanster
      last edited by

      How can I get the weather module to show the forecast in Celsius? The values below are in Fahrenheit not Celsius otherwise we would be fried.

      Screen Shot 2021-07-16 at 3.44.54 PM.png

              {
                  module: "weather",
                  position: "top_left",
                  config: {
                      type: 'forecast',
                      weatherProvider: 'weathergov',
                      apiBase: 'https://api.weather.gov/points/', 
                      weatherEndpoint: '/forecast',
                      units: 'metric',
                      updateInterval: 180000,
                      timeFormat: 12,
                      degreeLabel: true,
                      colored: true,
                      fade: false,
                      roundTemp: true,
                      showPrecipitationAmount: true,
                      appendLocationNameToHeader: false,
                      initialLoadDelay: 5000,
                      lat: XX, // your latitude
                      lon: XX, // your longitude
                  }
      	    },  
      
      W 1 Reply Last reply Reply Quote 0
      • W Offline
        Wenike @chanster
        last edited by

        @chanster Do you mind me asking where you’re located? Using weather.gov as a weather provider with Celsius isn’t a standard thing (and much as I can imagine that the API handles C properly, it won’t shock me if it doesn’t).

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          chanster @Wenike
          last edited by chanster

          @wenike I’m in California but I’m a transplant from Australia and I still cannot get used to Fahrenheit ! :). So I need to use a different provider? I tried using OpenWeatherMap but I found that their forecast is not very accurate.

          I switched it over to Weatherbit and am getting the temperature in Celsius now. Thanks for pointing me in the right direction!

          Screen Shot 2021-07-16 at 6.48.27 PM.png

          W 1 Reply Last reply Reply Quote 0
          • W Offline
            Wenike @chanster
            last edited by

            @chanster I’m glad that it was! Hopefully it stays accurate for you too.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 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