Bodhi Linux 5.1-32bit- How to set town for Forecast 2.0?
BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Bodhi Linux 5.1-32bit- How to set town for Forecast 2.0?
Just installed the Forecast 2.0 in my Bodhi, which is working with the wttr API, but now I cannot find any information on how to set up the wanted town?
Adding the town's name to the settings of Forecast 2.0 has no effect.
The only way to change the location is in the terminal, when I enter curl wttr.in/
followed without space by the wanted town, but this doesn't affect Forecast 2.0 either.
No entry in textbox means the place will be automatic considering the IP address. If you do not agree with the location, put the city or place name there. It is working here OK. Try to use + in case of multiple town name.
Unfortunately, I do consider this private information. The town is one word only.
I just tried to pm you, but this forum doesn't seem to offer such an option.
Zipcodes do not work for the moksha module and city names aren't very specific and the weather stations it has are named after tiny places nobody has heard of (at least in my area), so to determine how to set it you have to trial and error various cities around you if your own city doesn't work and see what it gives you back and look it up on a map and see close to you then check another website to see if the weather is similar to you there....
I live in the 10th biggest city in America (San José, California) and can't get it to work exactly right here either. I use a VPN so my ip is somewhere else so can't use automatic. The place it picks when i put San Jose is somewhere called Coyote, Caifornia (which I'd never heard of but when I look it up it is just a little bit south but weather is different there cuz farther from bay). I found by trying various cities around me that if I pick "Cupertino, California" it gives me somewhere called "Austin, California" that is closer weather to me, but still not quite right cuz thats closer to the mountains, but still better than Coyote - also another place I'd never heard of and had to look up on a map.
Point is I think its the weather provider. I live fairly close to San Jose Reid-Hillview Airport, so in other websites/apps I often use that as my weather station, and when not available my zipcode 95121 usually finds somewhere nearby. Even SJC (San Jose International Airport) or San Jose downtown would be better than "Austin" and much better than "Coyote", so I agree it is not the most easy way to pick location and dont understand why it only has obscure places (at least near me)...
I do get some location more or less near by, but actually I'd prefer to have to proper town, if possible.
@ enigma9o7
If I try the wttr command in the terminal, the town is in fact displayed properly. If it is working there, shouldn't it be the same in Forecast 2.0, too?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.