Read the statement by Michael Teeuw here.
Weather forecast from current location/calendar location
-
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!
-
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.
-
Or try something with GPS , so it will always use your location. but then you have to (re)write some code i think.
-
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.)
-
Amazing, Thanks for the responses guys. Is this something easily achievable? And if so, where should I start? I’m a noob to code.
-
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
-
@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.
-
This is amazing. Thanks so much @mochman. Is there any more documentation anywhere to guide me through installing it?
-
@EoinOG I can make some up for you. How far have you gotten with the installation?
-
I’ve installed the module. But don’t know where to go from here with regards the configuration of it.