Page 1 of 1
Google Latitude Script
Posted: Tue Sep 21, 2010 10:44 am
by raptor_demon
Hi Guys,
while browsing the inter webs i found this:
http://board.homeseer.com/showthread.php?t=143249
it seems to be a Google latitude VBScript for homeseer.
From what i can see is the only homeseer specific part is how it writes the variables to Homeseer.
I would have thought this would be very easy to modify for use with housebot.
I have spoken to the Author and he said we can use the script and chage it as needed so long as it stays Public Domain.
What the script does is allow you to use google latitude location data to trigger actions such as turn down the hvac etc..
Can someone who knows about scripting point me in the right dircetion for this?
Raptor
Re: Google Latitude Script
Posted: Thu Dec 30, 2010 12:08 pm
by jacco van der Ven
Is this already working in Housebot?
Re: Google Latitude Script
Posted: Thu Dec 30, 2010 12:57 pm
by raptor_demon
Hi,
No it is not,
but it should not be too hard todo for someone who can build scripts for housebot.
Rpator
Re: Google Latitude Script
Posted: Thu Dec 30, 2010 1:01 pm
by jacco van der Ven
Ok, I will give it a try.
Re: Google Latitude Script
Posted: Sat Jan 01, 2011 11:51 am
by jacco van der Ven
Well, I changed some code and it is working now in Housebot.
I will make an export file and post it.
Jacco
Re: Google Latitude Script
Posted: Sun Jan 02, 2011 6:43 am
by jacco van der Ven
Raptor has spoken to the Author and he said we can use the script and change it as needed so long as it stays Public Domain.
So I rebuild the script and we can use it now in Housebot.
I made an device called "Positie Jacco" and an device "P_1min" and an task that will be run every minute.
In the script you can fill in your home location, the script will calculate your distance between you and your location.
Also you have to fill in your Google badge you can create own at
https://www.google.com/latitude/b/0/apps
Thanks to Mike Scott,
http://board.homeseer.com/showthread.php?t=143249
Regards, Jacco
Re: Google Latitude Script
Posted: Wed Jan 05, 2011 5:46 pm
by Autodomain
Hi there,
Jacco, I have imported your hbx file but I can't find the vbs script
Can you publish it to the forum please?
Thanks in advance.
Re: Google Latitude Script
Posted: Wed Jan 05, 2011 6:18 pm
by jacco van der Ven
Now I posted the script file.
Jacco
Re: Google Latitude Script
Posted: Sat Jan 22, 2011 10:40 am
by PServais
Hi Jacco,
i have setup the script in Housebot and made the required device and properties.
The timer for the script runs the script every minute.
The strange thing is that the distance from me to home is approx. 5000 km.????
To test the the script i have entered the same latitude and longtiude as the current position from google latitude.
The distance tells me that I am 4995,15 km from home, but the home coords in the script are the same as my current coords.
Any suggestions??
Thanks, Patrick
Re: Google Latitude Script
Posted: Sat Jan 22, 2011 12:41 pm
by jacco van der Ven
Can you send me your coordinates by PM, so I can test it?