Announcement

Collapse
No announcement yet.

alternate occupancy sensor using BT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bestgear
    replied
    Originally posted by wpiman View Post
    Just another idea for you- if you have a wifi enabled phone- you can set it up with a static IP that you can ping.

    I had thought of something around that, but, running with WLAN enabled will hit the battery even more than BT does!

    David

    Leave a comment:


  • wpiman
    replied
    Just another idea for you- if you have a wifi enabled phone- you can set it up with a static IP that you can ping.

    Leave a comment:


  • damage
    replied
    Originally posted by Bestgear View Post
    Guys - looks interesting.

    Damage - are you saying you have somthing that is already integrating this into HS?

    David
    the script version of my app can communicate with HS via activex scripting. the sample script i posted above should help you get started. as a non-HS user, i can't help with the exact implementation/syntax, but it shouldn't be too hard to figure out as i dug up those HS code bits searching the forums.

    i've also updated BlueTrackerScript to v1.1 for better handling of script errors and updated the download link on my page http://bit.ly/8Rhb6B
    Last edited by damage; January 18, 2010, 02:28 PM.

    Leave a comment:


  • Bestgear
    replied
    ...reading the blurb, it says...

    "The program also writes a connection .txt file which updates when each device is located."

    I wonder if Jon could be convinced to update his script to read BlueWatch's text file as an alternate.....

    David

    Leave a comment:


  • Bestgear
    replied
    Guys - looks interesting.

    I have found blue.exe really painful as it keeps hanging (screen stops scrolling, fails to update) so an alternative would be great!

    Damage - are you saying you have somthing that is already integrating this into HS?

    David

    Leave a comment:


  • damage
    replied
    here's what i think might work with my bluetrackerscript app based on some sample code i've seen. save it as blue.vbs and rename/remove blue.js that's included in the zipfile.
    Code:
    set hs = CreateObject("Homeseer.Application")
    
    sub Init()
    end sub
    
    sub Cleanup()
    end sub
    
    sub DeviceIn(dev)
        if dev="001122334455" then
          hs.TriggerEvent "ABC home"
        end if
    end sub
    
    sub DeviceOut(dev) 
        if dev="001122334455" then
          hs.TriggerEvent "ABC gone"
        end if
    end sub
    hope that helps
    Last edited by damage; January 18, 2010, 02:13 PM.

    Leave a comment:


  • damage
    replied
    Originally posted by Jakob.Sand View Post
    I have tried both Jon00 and stipius BT tracker and the use the same BT component that do not work in my setup.

    I am super interested in giving this a try. How would you suggest I integrate it into HS?
    is there an xPL plugin for homeseer? otherwise, you can use the script version to talk w/ homeseer via activex

    ie: Set hs = CreateObject("HomeSeer.Application")

    not sure what the syntax would be, but you could code it to set flags appropriately for presence/absence

    Leave a comment:


  • Jakob.Sand
    replied
    I have tried both Jon00 and stipius BT tracker and the use the same BT component that do not work in my setup.

    I am super interested in giving this a try. How would you suggest I integrate it into HS?


    Originally posted by damage View Post
    i've written a couple bluetooth apps. one is xPL based http://bit.ly/8zw3eb. the other, i removed the xPL component and built in a scripting engine http://bit.ly/8Rhb6B

    Leave a comment:


  • damage
    replied
    i've written a couple bluetooth apps. one is xPL based http://bit.ly/8zw3eb. the other, i removed the xPL component and built in a scripting engine http://bit.ly/8Rhb6B

    Leave a comment:


  • mrhappy
    replied
    Jon00 has a script that uses a different bluetooth detection program and works for occupancy sensing. From looking at that program it writes a text file when it detects presence so it should be very easy to open the text file and read if the device is detected, I might give it a go as the other software that Jon00's program unfortunately has errors on my system.

    Leave a comment:


  • JeffCharger
    started a topic alternate occupancy sensor using BT

    alternate occupancy sensor using BT

    has anyone tried to link this software into HS? Is uses a BT dongle to "see" cell phones etc Sounds like it might be a simple way to determine when someone comes home with their phone.

    http://davesdomainonline.com/bluewatch/bw.htm
Working...
X