Announcement

Collapse
No announcement yet.

Jon00 Bluetooth Proximity Detector for Homeseer 3

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

    It may be a bug. The code is legacy from HS2 as I added the Battery Saver routine which is more efficient.

    If you manually change Delay=15,0,1 to Delay=300,0,1 does that function as you want at home?

    (change it back after testing).
    Jon

    Comment


      Yeah the manual delay works.

      Comment


        OK, I'm just finishing another project and then I will take a look.
        Jon

        Comment


          Cool thanks man!

          Comment


            I have not forgotten about this however the problem is that this involves quite a bit of effort. I have a working BT setup that all has to be stopped and then reconfigured for a development mode.

            If I extended the battery saver mode time (which is easy to do), would that be of any use?
            Jon

            Comment


              Extending the battery saver mode may be the best option since it will revert to default polling if the phone is away right?

              Comment


                Yes, that is correct, but remember you will need to set your Awaytigger time to a suitable period. For example if you were able to set the Battery saver mode for 3 minutes, in reality you would need an Awaytrigger value in excess of 6 minutes as there is a possibility that one poll may be missed (and indicating you are away). If you also use Wi-Fi ping, then there should be no issue.
                Jon

                Comment


                  Got it I I will use the wifi ping as well.

                  Comment


                    AVG disabling the exe

                    Every since I updated AVG it won't allow me to run the exe. Immediately after execution it kills the process an quarantines the file. It's obviously not a virus but something in there it doesn't like. Attached is the AVG notice. I don't get an option to add it to an exception list or anything.

                    Also anyone got a recommendation for a leaner virus scanner?
                    Attached Files

                    Comment


                      It is the protection software that causes the issue with some scanners. I believe you can mark a file as safe via the settings and exclude the folder from being scanned.
                      Jon

                      Comment


                        it looks like it is discarding the battery saving mode all together now, I tried it up to a C and it does show C next to the address in the bubble but is still polling at the regular interval. I also have the poll time home set to 300. It didn't do anything on letters past C either.

                        Comment


                          here is the settings file

                          Here is the settings file and below is the INI
                          [Discovery]
                          Location1=Office
                          Location2=
                          Location3=
                          Lastclientrunfontcolor=Red
                          Polltimehome1=300
                          Polltimeaway1=15
                          Polltimemode1=0
                          Polltimehome2=
                          Polltimeaway2=
                          Polltimemode2=0
                          Polltimehome3=
                          Polltimeaway3=
                          Polltimemode3=0
                          Event1=
                          Event2=
                          Event3=
                          Hide=3
                          Trigger=120
                          Disabledfontcolor=teal
                          Disable=0

                          [Logpage]
                          Defaultlistsize=40
                          Searchlistsize=200
                          Datesep=/
                          Dateformat=0
                          Showclient=1
                          Allowguest=0
                          Allowguestclientlog=0
                          Defaultlistsizeclientlog=40
                          Searchlistsizeclientlog=200


                          [Settings]
                          Logging=1
                          Timecompare=0
                          Showupdated=1
                          Runscript=
                          Disableclient3=0
                          Disableclient2=0
                          Disableclient1=0
                          Clientlogging=1
                          Clientloggingrectime=180
                          Clientexcludelist=

                          [Device1]
                          ID=5434188377628
                          Name=Jason's Iphone
                          Awaytrigger=300
                          Eventaway=
                          Eventhome=
                          Runscript=
                          Discoveryfontcolor=
                          Clientlist=
                          IPaddress=192.168.2.148
                          Macaddress=
                          Wifiawaytrigger=300

                          [Device2]
                          ID=
                          Name=
                          Awaytrigger=180
                          Eventaway=
                          Eventhome=
                          Runscript=
                          Discoveryfontcolor=
                          Clientlist=
                          IPaddress=
                          Macaddress=
                          Wifiawaytrigger=180

                          [Device3]
                          ID=
                          Name=
                          Awaytrigger=180
                          Eventaway=
                          Eventhome=
                          Runscript=
                          Discoveryfontcolor=
                          Clientlist=
                          IPaddress=
                          Macaddress=
                          Wifiawaytrigger=180

                          [Device4]
                          ID=
                          Name=
                          Awaytrigger=180
                          Eventaway=
                          Eventhome=
                          Runscript=
                          Discoveryfontcolor=
                          Clientlist=
                          IPaddress=
                          Macaddress=
                          Wifiawaytrigger=180

                          [Device5]
                          ID=
                          Name=
                          Awaytrigger=180
                          Eventaway=
                          Eventhome=
                          Runscript=
                          Discoveryfontcolor=
                          Clientlist=
                          IPaddress=
                          Macaddress=
                          Wifiawaytrigger=180

                          [Device6]
                          ID=
                          Name=
                          Awaytrigger=180
                          Eventaway=
                          Eventhome=
                          Runscript=
                          Discoveryfontcolor=
                          Clientlist=
                          IPaddress=
                          Macaddress=
                          Wifiawaytrigger=180
                          Attached Files

                          Comment


                            You may misunderstand....the fact that the icon is twisting, does not mean it is polling the phone when in battery saver mode. As this is specific to individual paired devices, other phones not using battery saver still need to be polled!

                            I think you have got yourself into a mess with the other methods as well....

                            In the ini file, put the following back to default:

                            PollTimeHome1=
                            PollTimeAway1=
                            PollTimeMode1=0
                            PollTimeHome2=
                            PollTimeAway2=
                            PollTimeMode2=0
                            PollTimeHome3=
                            PollTimeAway3=
                            PollTimeMode3=

                            In Settings.txt, change the following line back to default:

                            Delay=5,0,5

                            Change the following line as shown:

                            Paired=31705169102,31708299024,113772687976,F5434188377628*

                            Save and restart Jon00Blue.

                            If the Phone is paired correctly and you will see the popup show as per the attached image and the phone will not be polled for 6 or 7 times (i.e. the icon twisting 6 or 7 times)

                            Be warned. If your Awaytrigger value is too small for this period, the phone will be registered as away.
                            Attached Files
                            Jon

                            Comment


                              Oh I was watching the polling state in device management..how often it was updating the phone. It was the same as the discovery device polling interval.

                              Comment


                                ok I made those changes and the discovery device and phone are both updating about every fifteen seconds. Really trying to get that to be a few minutes if it knows I'm home. Also it's picking up my bluetooth keyboard, mouse and headset can I get it to ignore those devices or is it worth bothering with?

                                Comment

                                Working...
                                X