X10 Community Forum

🖥️ActiveHome Pro => SDK => Third Party Add-Ons & Software => Topic started by: HA Dave on February 13, 2009, 04:59:37 PM

Title: BlueTooth Connector
Post by: HA Dave on February 13, 2009, 04:59:37 PM
I had an idea... but I wasn't the first to have it.... I never am.

The idea is to plug a USB Bluetooth dongle into my Home Automation PC. The USB Dongle would allow the PC to see BlueTooth devices.. like CELL PHONES. So when I am home... and/or my wife is home AHP would know it (or not) and run the appropriate macros. Since my ideas are rarely original... I started searching to BUY this application.

Well it looks like HomeSeer has already thought of that and they call it Bluetooth Connector (http://store.homeseer.com/store/PI-BLUETOOTH---Bluetooth-Connector-P75C155.aspx). I called HomeSeer... (a side note: They answered the phone on the 2nd ring and Mark seemed very knowledgeable) and they call Bluetooth Connector (http://store.homeseer.com/store/PI-BLUETOOTH---Bluetooth-Connector-P75C155.aspx) a third party software... but said it only works with (the $199.00) HomeSeer software.

Does anyone know anything [more] about this... I am somewhat clueless. But I really want this technology in my HA setup.
Title: Re: BlueTooth Connector
Post by: Tuicemen on February 13, 2009, 06:04:13 PM
It would be interestingto see the range on this most cell phone only have a 10 meter range!
BlueSoleil (http://www.bluesoleil.com/) makers of Bluetooth dogles and software have a SDK which is probably how the  Homeseer plug-in was made.
I've downloaded the free SDK but have yet to see what can be done with it! ;)
Title: Re: BlueTooth Connector
Post by: Alan V on February 13, 2009, 07:05:38 PM
You may be better off using a Class 1 Bluetooth dongle and a Class 1 Bluetooth headset like the one below:

http://www.callpod.com/products/dragon (http://www.callpod.com/products/dragon)

Class 1 purports ~100 meter range (YMMV).  I'm not aware of a cellphone that uses Class 1, but there might be some out there.

Title: Re: BlueTooth Connector
Post by: Tuicemen on February 13, 2009, 08:07:19 PM
Alan V Most dongles are Class 1.
I know for a fact Dave's  dongle is that as I have the same one!
But I agree what ever Dave desides to use, it must be a Class 1 for 2 way support!
Title: Re: BlueTooth Connector
Post by: HA Dave on February 13, 2009, 09:06:45 PM
Range isn't really an issue. All the dongle needs to do is SEE the phone. Even at 35 feet... thats a 70 foot circle.... I can live with that.

Title: Re: BlueTooth Connector
Post by: Tuicemen on February 14, 2009, 11:21:06 AM
Range isn't really an issue. All the dongle needs to do is SEE the phone. Even at 35 feet... thats a 70 foot circle.... I can live with that.

I thought 35 feet would be more then I needed for Voice recognition too Not the case walls (more so floors) seem to cut the range by more then Half! :'(

On Another note I had a chance to look at the Bulesoleil SDK nothing of any use to me as it has no VB samples!
I need a visual example to get my brain working!  rofl
On the bright side the service pack 1 update for Visual Studio 2008 express editions has some Buletooth sample code maybe this will be usable to me ???
It is more for Vista so  not sure if it will work in XP ???
 >!
Title: Re: BlueTooth Connector
Post by: HA Dave on February 14, 2009, 12:28:40 PM
I thought 35 feet would be more then I needed for Voice recognition too Not the case walls (more so floors) seem to cut the range by more then Half!

True... but your talking about low power commucation from a headset. As you remember... even when you could no longer talk TO the computer... you could still hear it (way it worked for me). When it comes to the dongle actually (just) seeing and ID'ing the phone... that is much simpler. Although I may need to use a USB extention cord to get the dongle up higher I don't expect range to be an issue (I could be wrong).
Title: Re: BlueTooth Connector
Post by: dellzip on February 16, 2009, 09:03:26 AM
It would be interestingto see the range on this most cell phone only have a 10 meter range!
BlueSoleil (http://www.bluesoleil.com/) makers of Bluetooth dogles and software have a SDK which is probably how the  Homeseer plug-in was made.
I've downloaded the free SDK but have yet to see what can be done with it! ;)
any luck with this?
Title: Re: BlueTooth Connector
Post by: Tuicemen on February 16, 2009, 02:22:19 PM
It would be interestingto see the range on this most cell phone only have a 10 meter range!
BlueSoleil (http://www.bluesoleil.com/) makers of Bluetooth dogles and software have a SDK which is probably how the  Homeseer plug-in was made.
I've downloaded the free SDK but have yet to see what can be done with it! ;)
any luck with this?
I did look at it but since there were no VB examples I filed it ::) :'
I did Notice the Service pack 1 for the net 2008 has bluetooth examples in VB.
Althought with my limited Bluetooth Hardware I was unable to get it to work! :(
If someone were to dig into it that had a few different Bluetooth devices I'm sure this would be the  route to go as it is free! ;)
 >!
Title: Re: BlueTooth Connector
Post by: Tuicemen on December 11, 2009, 05:03:04 PM
For those interested! ::) :'
As the cold weather sets in I seem to find more time!
I've found some BT sample code (Not in VB but C#)
I converted the code with out a sucessful build :-[
So I took to the task of learning C# B:(
After some time I got a successful BlueTooth finder coded.

I now have a program (BlueWatch) in beta testing and hopefuly a release version by Christmas 2009! ::) :'
Title: Re: BlueTooth Connector
Post by: Knightrider on December 11, 2009, 05:41:50 PM
I know I'm going to want this BlueWatch program, but don't have a dongle.  Anyone want to point me to one?
Title: Re: BlueTooth Connector
Post by: Tuicemen on December 11, 2009, 07:07:26 PM
There are many out there just make sure it is a class 1 (100 meter range)  your going to want maximun range.
you can try Dealextream (http://www.dealextreme.com/search.dx/search.bluetooth) or ComputerGeeks (http://www.geeks.com/search.asp?QUERY=bluetooth)
 >!
Title: Re: BlueTooth Connector
Post by: HA Dave on December 12, 2009, 12:47:36 PM
I know I'm going to want this BlueWatch program

Everyone is going to want BlueWatch!

I've been beta testing Tuicemen's early versions. The program is simple, clean and has been working well. Still a beta but with LOTS of promise. For many people this could be a complete Occupancy Sensing (http://davesdomainonline.com/os/sensing.htm) solution.

Getting the Home Automation computer to know who is home when... has always been a difficult and/or costly problem. Merely exploiting the BlueTooth connection in (most) cellphones could be a quick easy solution.
Title: Re: BlueTooth Connector
Post by: Brandt on December 12, 2009, 03:46:29 PM
vCrib does this and its free.
Title: Re: BlueTooth Connector
Post by: Tuicemen on December 12, 2009, 05:24:22 PM
Quote
vCrib does this and its free
last time I checked it didn't support the CM15A. ::) :'
If it does now that certainly would be the better route to go with all its features!
 >!
Title: Re: BlueTooth Connector
Post by: HA Dave on December 12, 2009, 07:50:26 PM
last time I checked it didn't support the CM15A. If it does now that certainly would be the better route to go with all its features!

I checked out Vcrib. I can't say I really know what it will or won't do. I tried the download... but it didn't show-up in my software list, or tray, or give me an icon.. or anything. I tried repairing the program.. with no luck. I checked the Pages there and I did find this:

Art Says:
June 27th, 2009 at 8:07 am
If vCrib supports X10, Insteon and more, AND I already own both a CM11 and a CM15a THEN why should I need to purchase an Insteon PLC device?  

It would appear VCrib requires "the Insteon PLC device". I would really like feedback from anyone that knows.
Title: Re: BlueTooth Connector
Post by: ITguy on December 13, 2009, 11:26:37 AM
Hi Dave,

According to the vcrib forum, the CM11A, CM15A, CM17A, CM19A are all supported!
http://www.thevirtualcrib.com/phpbbdir/viewforum.php?f=7 (http://www.thevirtualcrib.com/phpbbdir/viewforum.php?f=7)

You may have already seen the Bluetooth Proximity info, but here's a link anyway:
http://www.thevirtualcrib.com/wiki/index.php?title=Bluetooth_Proximity (http://www.thevirtualcrib.com/wiki/index.php?title=Bluetooth_Proximity)

I just recently installed vcrib and yes, it is certainly a painful install.  But if you follow the step-by-step instructions in the video, it does work!  The install video is under Instructional Videos at:
http://www.thevirtualcrib.com/videos (http://www.thevirtualcrib.com/videos) 

So far, I've only experimented with the Z-wave controller and devices.  They work fine.  I'll try to take a few minutes today and see if the basic CM15A support does work.  I'll let you know.

Regards,

ITguy


Title: Re: BlueTooth Connector
Post by: HA Dave on December 13, 2009, 11:43:44 AM
According to the vcrib forum, the CM11A, CM15A, CM17A, CM19A are all supported!

.... I'll try to take a few minutes today and see if the basic CM15A support does work.  I'll let you know.

Thanks ITguy!!!!!
Title: Re: BlueTooth Connector
Post by: ITguy on December 13, 2009, 02:06:22 PM
Dave,

Here's the deal.  The CM15A is supported, but Vaughn forgot to include it in the latest build.  You can download it from the forum post at
http://www.thevirtualcrib.com/phpbbdir/viewtopic.php?p=2683#2683 (http://www.thevirtualcrib.com/phpbbdir/viewtopic.php?p=2683#2683)  Just extract the .exe from the rar file and copy it into the vcrib folder.

You will also need Interop.ActiveHomeScriptLib.dll from the ActiveHome SDK (though Vaughn may add that to the download file now that he knows it's missing).

I just did a real basic test consisting of turning a light on and off, but it does work!

After you do the install and have MySql running as a service, here's what you'll need to do to start vcrib with just the CM15A support:
1.  Goto the vcrib folder and double-click the Master.exe to start it.  This is the underlying program that provides all the support.
2.  Still in the vcrib folder, double-click the vCM15A.exe to start the support for X10.
3.  Now double-click the Admin.exe to start the GUI.
That's it, you're up and running.  Creating devices is a multi-step process that's too long to go into here, but is fairly well described in the vcrib forum posts.

I haven't done much testing with vcrib, but I'm certainly impressed by the potential power and possibilities.  It is awfully complex to set up!  But... the potential is incredible!  Being able to use X10, Insteon, Z-wave, BlueTooth, etc all from the same program just blows me away!

BTW - I'm very impressed with the S.A.R.A. concept!

Good luck!

ITguy
Title: Re: BlueTooth Connector
Post by: Brandt on December 13, 2009, 03:27:16 PM
setting up vCrib is also very obfuscated, thats why I keep going away from it.

I think one of the things they are going to develop is a calendar interface for simple scheduling.