If a tree falls in the woods ...
Thomas Angermann · February 10, 2011 at 11:04 PM
Hi Morten
Where is this program running ? And what is it written in ?
thomas.bertram · February 14, 2011 at 4:12 AM
iPhone runs the Google Latitude background app. A PHP script on my Site5 account with cron* checks my location every 5 mins and reacts if I'm in a defined zone. If in music zone, the PHP script calls a script on my Mac Mini's webserver which then executes an Applescript that fires up the Sonos Controller and pushes the Play button via access for assistive devices.
* I'm successfully subscribed to the pubsubhuhbbub hub, but no pings go through for some reason, so I'm stuck with polling for now
Morten Just · February 14, 2011 at 8:23 AM
@angermann det er for let
Morten Just · February 15, 2011 at 2:55 PM
Sounds really cool, great way of using geo :-)
With google latitude do you use their auth api or just public data ?
thomas.bertram · February 16, 2011 at 4:48 AM
I'm using the atom feed that the Public Location Badge uses, didn't find the patience to shuffle tokens back and forth
Morten Just · February 16, 2011 at 5:32 AM