Read the statement by Michael Teeuw here.
MMM-NOAA3 - user defined lat & lon values
-
Hi,
I stopped using NOAA due to the wunderground issue.
Luckily NOAA3 now has been issued and that works like a charm, but for one issue.It uses http://ip-api.com/json to determine latitude and longitude.
After (re)starting MM, a file called latlon.json it being created, with the info provided by ip-api.com.
As I mentioned before in another thread, in my case the location is of by 67 km’s, which is quite a bit.
And some users are interested in other locations (rotating through different locations would be anoher feature request).As a work-around I updated the providers/wb.js file and adopted the line with “var text = fs.readFileSync(‘modules/MMM-NOAA3/latlon.json’,‘utf8’)” and provided my own latlon.nuremberg.json file.
But it would be nice to have a config option to do so.
Something like:userLatlonJson: “latlon.nuremberg.json”
When empty or not present, then to the http://ip-api.com/json routine, when present, then use userLatlonJson file.
The work-around works for me, but it would be nice to do without.
-
@evroom You are reading my mind…working on it … instead of having it read a json file it would be easier to just allow users to add their own lat and lon…
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