Announcement

Collapse
No announcement yet.

alternate occupancy sensor using BT

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

    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

    #2
    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.

    Comment


      #3
      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

      Comment


        #4
        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
        Best,
        Jakob Sand, I automate everything!

        Comment


          #5
          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

          Comment


            #6
            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.

            Comment


              #7
              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
              ---------------------------------------------------http://weather.penicuik.org

              Comment


                #8
                ...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
                ---------------------------------------------------http://weather.penicuik.org

                Comment


                  #9
                  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.

                  Comment


                    #10
                    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.
                    HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

                    Plug-Ins Enabled:
                    Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
                    weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

                    Comment


                      #11
                      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
                      ---------------------------------------------------http://weather.penicuik.org

                      Comment

                      Working...
                      X