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 forecast from current location/calendar location

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 0 Posters 7.5k 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.
    • E Offline
      EoinOG
      last edited by

      Hi all! Loving my Magic Mirror. Quick one. Is there any way to use the current location for the weather forecast instead of typing in a specific location in the config? Or if current location isn’t possible, could it load the current location from a calendar?

      I move weekly on tour and would hate to have to edit the config every week.

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • KirAsh4K Offline
        KirAsh4 Moderator
        last edited by

        It might be possible to write a module helper that fetches your location from a calendar entry, but if that location doesn’t resolve in the weather database (because it doesn’t have a station reporting), you’ll end up with some weird stuff.

        A Life? Cool! Where can I download one of those from?

        1 Reply Last reply Reply Quote 0
        • Wilco89W Offline
          Wilco89
          last edited by

          Or try something with GPS , so it will always use your location. but then you have to (re)write some code i think.

          1 Reply Last reply Reply Quote 0
          • KirAsh4K Offline
            KirAsh4 Moderator
            last edited by

            Adding a GPS will add more code, yes. And you’d also have to figure out how to tell it to get an area location, as opposed to a pin-point location (which a GPS is excellent at.)

            A Life? Cool! Where can I download one of those from?

            1 Reply Last reply Reply Quote 0
            • E Offline
              EoinOG
              last edited by

              Amazing, Thanks for the responses guys. Is this something easily achievable? And if so, where should I start? I’m a noob to code.

              mochmanM 1 Reply Last reply Reply Quote 0
              • Wilco89W Offline
                Wilco89
                last edited by

                I can’t help you with that, i’m a noob in coding JS. but i think first of all is to look if there is an GPS module you can use for the raspberry

                1 Reply Last reply Reply Quote 0
                • mochmanM Offline
                  mochman Module Developer @EoinOG
                  last edited by

                  @EoinOG I made something similar to what you want. It takes a GPS location from your phone and updates a webpage that the raspberry pulls in and give you weather in that location.

                  MMM-GPSWeather

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    EoinOG
                    last edited by

                    This is amazing. Thanks so much @mochman. Is there any more documentation anywhere to guide me through installing it?

                    mochmanM 1 Reply Last reply Reply Quote 0
                    • mochmanM Offline
                      mochman Module Developer @EoinOG
                      last edited by

                      @EoinOG I can make some up for you. How far have you gotten with the installation?

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        EoinOG
                        last edited by

                        I’ve installed the module. But don’t know where to go from here with regards the configuration of it.

                        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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy