Google Latitude Script
-
- Senior Member
- Posts: 141
- Joined: Tue Jul 07, 2009 12:55 pm
- Location: NC
Google Latitude Script
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
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
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Google Latitude Script
Is this already working in Housebot?
-
- Senior Member
- Posts: 141
- Joined: Tue Jul 07, 2009 12:55 pm
- Location: NC
Re: Google Latitude Script
Hi,
No it is not,
but it should not be too hard todo for someone who can build scripts for housebot.
Rpator
No it is not,
but it should not be too hard todo for someone who can build scripts for housebot.
Rpator
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Google Latitude Script
Ok, I will give it a try.
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Google Latitude Script
Well, I changed some code and it is working now in Housebot.
I will make an export file and post it.
Jacco
I will make an export file and post it.
Jacco
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Google Latitude Script
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
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
- Attachments
-
- Copy of latitude.zip
- Script latitude
- (2.05 KiB) Downloaded 685 times
Last edited by jacco van der Ven on Wed Jan 05, 2011 6:16 pm, edited 1 time in total.
-
- Member
- Posts: 23
- Joined: Sun Sep 27, 2009 6:41 am
- Location: London GB
Re: Google Latitude Script
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.
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.
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Google Latitude Script
Now I posted the script file.
Jacco
Jacco
Re: Google Latitude Script
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
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
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Google Latitude Script
Can you send me your coordinates by PM, so I can test it?