Some way to autodetect current location.

28 views
Skip to first unread message

Janis Pusmucans

unread,
Dec 19, 2013, 11:52:57 PM12/19/13
to cinnamon...@googlegroups.com
It's nice that there is button in applet's preferences to quickly open site to find out WOEID string .. but can that somehow be changed to autoget it for current location to make applet more .. end-user-ish? :) In addition to working 'out-of-box' it may bring extra bonus of auto-changing for roaming users (maybe worth also add redetect frequency setting). Yes, it may misdetect sometimes requiring manual setting, but one initial preset for all seems to me worse and needs many manual changes for roaming users.
If autodetect will ever be implemented, imho worth to cache few previous locations that were detected or manually set, to be reused when failing to detect current location/it's WOEID for some reason (eg. because of unavailability some externally located site).

1) Imho not worth using IPs from actual wired or wireless interfaces, as those can be behind NAT or proxy, so first with some way find out external IP as seen from outside;
2) There are several tools & sites to get city & country (hmm, probably from whois info?);
3) which then may be used for passing location to http://edg3.co.uk/snippets/weather-location-codes/ available from pereferences, or another googled up url for WOEID: http://thale.accu-weather.com/widget/thale/city-find.asp?location= (add city name to it).

I wonder how other weather apps out there handle auto current location issue.

TM

unread,
Dec 20, 2013, 6:08:28 PM12/20/13
to cinnamon...@googlegroups.com
I agree geolocation would be nice. Please do investigate comparable
services and apps. I'm happy to discuss what might work.

Related tickets:
https://github.com/mockturtl/cinnamon-weather/issues/37
https://github.com/mockturtl/cinnamon-weather/issues/29

----

A somewhat clumsy fix is to add more instances to your panel. If you
want more than 3, edit the `max-instances` value in the applet's
metadata file.
> --
> You received this message because you are subscribed to the Google
> Groups "Cinnamon Weather" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cinnamon-weath...@googlegroups.com.
> To post to this group, send email to cinnamon...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cinnamon-weather.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages