MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    Weatherbit Unit

    Troubleshooting
    6
    16
    850
    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
      Matthewlawson3 last edited by

      Hi, I have been having a hard time finding a Weather module that allows a free API and works. I am trying out the MMM-NOAA3 module found out the link below and am trying to use Weatherbit. I need to change the units to Fahrenheit. Can I do this?

      Also, can anyone recommend a working good module besides NOAA3?

      link text

      G swvalenti BKeyport 3 Replies Last reply Reply Quote 0
      • G
        George @Matthewlawson3 last edited by

        @matthewlawson3 Hi, I do not use this module but for other similar modules the change of temperature units, distance, wind measurement units … can be set in the module’s config.js. Search there.

        M 1 Reply Last reply Reply Quote 0
        • swvalenti
          swvalenti Project Sponsor @Matthewlawson3 last edited by

          @matthewlawson3

          https://github.com/jclarke0000/MMM-OpenWeatherForecast

          1 Reply Last reply Reply Quote 0
          • BKeyport
            BKeyport Module Developer @Matthewlawson3 last edited by

            @matthewlawson3 MMM-OpenWeatherForecast is the best.

            The "E" in "Javascript" stands for "Easy"

            M 1 Reply Last reply Reply Quote 0
            • M
              Matthewlawson3 @BKeyport last edited by

              @bkeyport I noticed that on the city list provided by Open Weather that it has the wrong latitude and longitude for my city. I’ll have to double check, but if I recall correctly it had it wrong.

              I don’t suppose one can input coordinates manually?

              S 1 Reply Last reply Reply Quote 0
              • S
                scumbelly @Matthewlawson3 last edited by

                @matthewlawson3

                All I did was go to Google maps, found my “village” coordinates and plugged them into lat and long in the config.sys and “Bob’s your uncle”.

                M 1 Reply Last reply Reply Quote 0
                • M
                  Matthewlawson3 @George last edited by Matthewlawson3

                  @george Thanks. I tried using “unit” in the config area of the module and set it to imperial and also tried just the letter “I” and when I launched with npm start it said something was wrong with the config file.

                  1 Reply Last reply Reply Quote 0
                  • M
                    Matthewlawson3 @scumbelly last edited by

                    @scumbelly this was with OpenWeather? If so, I’ll try that rather than going through the OpenWeather city ID list and looking for my city.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      scumbelly @Matthewlawson3 last edited by sdetweil

                      @matthewlawson3

                      From the module .js file…

                      Module.register(“MMM-OpenWeatherForecast”, {

                      /*
                      This module uses the Nunjucks templating system introduced in
                      version 2.2.0 of MagicMirror. If you’re seeing nothing on your
                      display where you expect this module to appear, make sure your
                      MagicMirror version is at least 2.2.0.
                      */
                      requiresVersion: “2.2.0”,

                      defaults: {
                      apikey: “”,
                      latitude: “”,
                      longitude: “”,

                      …and add lat and long into the config.js (sorry for wrong extension in earlier post).

                      Example,

                      {
                      			module: "MMM-OpenWeatherMapForecast",
                      			disabled: false,
                      			header: "",
                      			position: "top_right",
                      			config: {
                      			apikey: "wholelottanumbers",
                      			latitude: "4X.XXXXXX",
                      			longitude: "-7X.XXXXXX",
                      			iconset: "4c",
                      			concise: false,
                      			forecastLayout: "table",
                      			showCurrentConditions: false,
                      			showExtraCurrentConditions: false,
                      			showSummary: false,
                      			showForecastTableColumnHeaderIcons: false
                      			}
                      		},
                      

                      Cheers

                      M 2 Replies Last reply Reply Quote 0
                      • M
                        Matthewlawson3 @scumbelly last edited by

                        @scumbelly @scumbelly I am running version 2.14.0

                        I don’t see that particular information in the config file. Below is what I see. Do I need to install OpenWeather from the 3rd party modules even though it was pre-installed? Or can I just copy and paste in what you have given me?

                        {
                        module: “currentweather”,
                        position: “top_right”,
                        config: {
                        location: “Dandridge”,
                        locationID: “5128581”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                        appid: “YOUR_OPENWEATHER_API_KEY”
                        }
                        },
                        {
                        module: “weatherforecast”,
                        position: “top_right”,
                        header: “Weather Forecast”,
                        config: {
                        location: “New York”,
                        locationID: “5128581”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                        appid: “YOUR_OPENWEATHER_API_KEY”
                        }
                        },

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy