Announcement

Collapse
No announcement yet.

BLOccupied - Multilevel Switch ???

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

    BLOccupied - Multilevel Switch ???

    Hi All


    Plugin works great with Binary Switches without any problem, but
    has some issues with Multilevel Switches.



    I tested plugin with two Binary Switches.

    LOG for binary switches

    --------------------------

    Jul-08 12:11:23 AM BLOccupied Occupancy Simulation has been started!Jul-08 12:11:23 AM Device Control Device: Lights rm_Stairs Lights_rm_Stairs to On (255) by/from: CAPI Control Handler
    Jul-08 12:11:23 AM Z-Wave Device: Lights rm_Stairs Lights_rm_Stairs Set to 255
    Jul-08 12:11:25 AM BLOccupied Device: Q73 (Lights_rm_Stairs) has been turned ON!



    Lights were ON and OFF later. Log has correct records from "BLOccupied", "Z-Wave" and "Device Control"





    Than I set plugin with two DIM Switch for 10%.


    LOG for multilevel switches
    ------------------------------

    Jul-08 12:27:37 AM BLOccupied Occupancy Simulation has been started!Jul-08 12:27:39 AM BLOccupied Device: Q12 (Lights_DIM_rm_Office) has been turned On!


    As you can see Plugin had attempt to turn it ON and even made record that it's ON, BUT in fact that lights were OFF. And there is no any log records from "Z-Wave" & "Device Control" similar as with Binary Switch.



    Any idea what is wrong?


    Thank you



    #2
    Update
    With new update version 2.0.24.0 plugin works with Multilevel Switch good.
    Thank you

    Comment


      #3
      I'm having the same problem, WITH 2.0.24.0

      MultiLevel (Fibaro) switches do not turn on - not sure if it helps but BLOccupied places an entry in the log saying it turned them "ON" instead of the specific dim level I set...

      Comment


        #4
        Further update after some testing...

        If the DIM level is left BLANK the multi-level lights will be turned on at full brightness.

        If a value (say 30) is entered into the Dim field the multi-level light will not turn on.

        If a percentage (say 30%) is entered into the Dim field it does not accept it, the field ends up blank.

        Not sure what else to try...

        Comment


          #5
          Capture a debug log and attach it zipped of you using the value of 30 for the dim for the switch. Let me know what device reference you are testing
          Cheers,
          Bob
          Web site | Help Desk | Feature Requests | Message Board

          Comment


            #6
            Originally posted by Blade View Post
            Capture a debug log and attach it zipped of you using the value of 30 for the dim for the switch. Let me know what device reference you are testing
            Where does the debug log end up? I turned it on but I am unsure where to then grab it?

            Comment


              #7
              It will be in the HS3 root folder - BLOccupied-Detailed.log
              Zip it and attach it here
              Let me know what device ref you tested with
              Cheers,
              Bob
              Web site | Help Desk | Feature Requests | Message Board

              Comment


                #8
                Sweet thanks for the super-fast replies, working on it now...

                Comment


                  #9
                  Okay I just ran a test and the sequence of events were:
                  1. I turn on debug logging and start BLOccupied
                  2. The multi-level (Q19) is then turned on (configured for 30%) - but nothing happens
                  3. The multi-level (Q19) then gets turned off again (but isn't on as above anyway)
                  4. A standard binary (Q149) then turns on (works fine)
                  5. I stop BLOccupied and the standard binary (Q149) gets turned off, then turn off debug logging


                  However the debug log only contained the following:
                  7/16/2018 7:55:14 PM : v2.0.24.0 - **************** Debug Logging ENABLED at 7/16/2018 7:55:14 PM ****************
                  7/16/2018 7:55:14 PM : v2.0.24.0 - **************** Debug Log size limit --> 500 MB
                  7/16/2018 7:55:14 PM : v2.0.24.0 - PagePut: debug logging has changed
                  7/16/2018 7:55:14 PM : v2.0.24.0 - PagePut: optionsScreenUpdated --> True
                  7/16/2018 7:55:14 PM : v2.0.24.0 - PagePut: debugLoggingCheckBoxFound --> True
                  7/16/2018 7:55:14 PM : v2.0.24.0 - PagePut: loadSystemTrayIconCheckBoxFound --> False
                  7/16/2018 7:58:22 PM : v2.0.24.0 - **************** Debug Logging DISABLED at 7/16/2018 7:58:22 PM ****************

                  Comment


                    #10
                    Ah yes please do the steps in this thread, then delete the debug log and gather it again

                    https://forums.homeseer.com/showthread.php?t=196104
                    Cheers,
                    Bob
                    Web site | Help Desk | Feature Requests | Message Board

                    Comment


                      #11
                      If it helps the HomeSeer log was as follows:

                      Jul-16 7:58:22 PM BLOccupiedInfo BLOccupied Debug Logging Disabled!
                      Jul-16 7:57:28 PM BLOccupied Occupancy Simulation has been stopped!
                      Jul-16 7:57:28 PM Device Control Device: Main Bedroom Light to Off (0) by/from: CAPI Control Handler
                      Jul-16 7:57:28 PM BLOccupied Stopping occupancy simulation... please wait!
                      Jul-16 7:57:20 PM BLOccupied Device: Q149 (Main Bedroom Light) has been turned On!
                      Jul-16 7:57:18 PM Device Control Device: Main Bedroom Light to On (255) by/from: CAPI Control Handler
                      Jul-16 7:57:18 PM BLOccupied Device: Q19 (Living Room Lights) was turned Off!
                      Jul-16 7:57:18 PM Device Control Device: Living Room Lights to Off (0) by/from: CAPI Control Handler
                      Jul-16 7:56:18 PM BLOccupied Device: Q19 (Living Room Lights) has been turned On!
                      Jul-16 7:56:16 PM BLOccupied Occupancy Simulation has been started!
                      Jul-16 7:55:14 PM BLOccupiedInfo BLOccupied Debug Logging Enabled!

                      Comment


                        #12
                        Okay here is the sequence of events that occurred this time:

                        Jul-16 8:08:37 PM BLOccupiedInfo BLOccupied Debug Logging Disabled!
                        Jul-16 8:08:29 PM BLOccupied Occupancy Simulation has been stopped!
                        Jul-16 8:08:29 PM Device Control Device: Main Bedroom Light to Off (0) by/from: CAPI Control Handler
                        Jul-16 8:08:29 PM BLOccupied Stopping occupancy simulation... please wait!
                        Jul-16 8:08:20 PM Z-Wave Device: Main Bedroom Watts 1 Set to 32.3 (32.3 Watts)
                        Jul-16 8:08:18 PM BLOccupied Device: Q149 (Main Bedroom Light) has been turned On!
                        Jul-16 8:08:16 PM Device Control Device: Main Bedroom Light to On (255) by/from: CAPI Control Handler
                        Jul-16 8:08:16 PM BLOccupied Device: Q19 (Living Room Lights) was turned Off!
                        Jul-16 8:08:16 PM Device Control Device: Living Room Lights to Off (0) by/from: CAPI Control Handler
                        Jul-16 8:07:16 PM BLOccupied Device: Q19 (Living Room Lights) has been turned On!
                        Jul-16 8:07:13 PM BLOccupied Device: Q149 (Main Bedroom Light) was turned Off!
                        Jul-16 8:07:13 PM Device Control Device: Main Bedroom Light to Off (0) by/from: CAPI Control Handler
                        Jul-16 8:06:13 PM BLOccupied Device: Q149 (Main Bedroom Light) has been turned On!
                        Jul-16 8:06:11 PM Device Control Device: Main Bedroom Light to On (255) by/from: CAPI Control Handler
                        Jul-16 8:06:11 PM BLOccupied Occupancy Simulation has been started!
                        Jul-16 8:05:53 PM BLOccupiedInfo BLOccupied Debug Logging Enabled!

                        And here is your log:
                        7/16/2018 8:05:53 PM : v2.0.24.0 - **************** Debug Logging ENABLED at 7/16/2018 8:05:53 PM ****************
                        7/16/2018 8:05:53 PM : v2.0.24.0 - **************** Debug Log size limit --> 500000000 MB
                        7/16/2018 8:05:53 PM : v2.0.24.0 - PagePut: debug logging has changed
                        7/16/2018 8:05:53 PM : v2.0.24.0 - PagePut: optionsScreenUpdated --> True
                        7/16/2018 8:05:53 PM : v2.0.24.0 - PagePut: debugLoggingCheckBoxFound --> True
                        7/16/2018 8:05:53 PM : v2.0.24.0 - PagePut: loadSystemTrayIconCheckBoxFound --> False
                        7/16/2018 8:05:53 PM : v2.0.24.0 - PagePut: useHomeseerSunsetAndSunriseTimesForLightsCheckBoxFound --> False
                        7/16/2018 8:05:53 PM : v2.0.24.0 - PagePut: options screen was saved
                        7/16/2018 8:05:53 PM : v2.0.24.0 - bloccoptions started
                        7/16/2018 8:05:53 PM : v2.0.24.0 - bloccmenu started
                        7/16/2018 8:05:53 PM : v2.0.24.0 - bloccmenu fs.Value -->
                        <hr>
                        <input type="button" class="functionrowbutton" value="Device Types" onClick="location.href='/blocc?page=bloccdevicetypes'" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="Devices" onClick="location.href='/blocc?page=bloccdevices'" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="Options" onClick="location.href='/blocc?page=bloccoptions'" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="Support Forum" onClick="window.open('http://forums.homeseer.com/forumdisplay.php?f=1071');" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="Help" onClick="window.open('/BLHelp/BLOccupied/BLOccupied_Help.asp');" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="About" onClick="location.href='/blocc?page=bloccabout'" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">

                        7/16/2018 8:05:53 PM : v2.0.24.0 - bloccmenu finished
                        7/16/2018 8:05:53 PM : v2.0.24.0 - bloccoptions: fs.value -->

                        <hr>
                        <input type="button" class="functionrowbutton" value="Device Types" onClick="location.href='/blocc?page=bloccdevicetypes'" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="Devices" onClick="location.href='/blocc?page=bloccdevices'" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="Options" onClick="location.href='/blocc?page=bloccoptions'" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="Support Forum" onClick="window.open('http://forums.homeseer.com/forumdisplay.php?f=1071');" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="Help" onClick="window.open('/BLHelp/BLOccupied/BLOccupied_Help.asp');" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">
                        <input type="button" class="functionrowbutton" value="About" onClick="location.href='/blocc?page=bloccabout'" onmouseover="this.className='functionrowbuttonselected';" onmouseout="this.className='functionrowbutton';">

                        <hr>
                        <table width="1000px"><tr><td colspan="2" class="tableheader">BLOccupied - Options</td></tr><tr><td class="tablecolumn" colspan="2">General Options</td></tr>
                        <form method="post" name="theOptions" action="/blocc"><tr class="tablerowodd"><td width="40%">Debug Logging</td><td width="60%"><input class="formcheckbox" type="checkbox" checked name="chkdebuglevel" value="true"></td></tr>
                        <tr><td class="tablecolumn" colspan="2">Simulation Options</td></tr>
                        <tr class="tableroweven"><td width="40%">Turn Off Devices When Simulation Stops</td><td width="60%"><input class="formcheckbox" type="checkbox" checked name="chkturnoffdeviceswhensimulationstops" value="true"></td></tr>
                        <tr class="tablerowodd"><td>Minimum and Maximum Simulation Minutes</td><td>Min:&nbsp;&nbsp;<input class="formtext" type="text" size="4" name="mintime" value="1">&nbsp;&nbsp;(minutes)&nbsp;&nbsp;&nbsp;&nbsp;Max:& nbsp;&nbsp;<input class="formtext" type="text" size="4" name="maxtime" value="1">&nbsp;&nbsp;(minutes)<br><b>Note:</b>&nbsp;These are the minimum and maximum values (in minutes) for the simulation of the devices.</td></tr>
                        <tr class="tableroweven"><td>Maximum Devices On at one time</td><td><input class="formtext" type="text" size="5" name="maxdevicesonatonetime" value="1"></td></tr>
                        <tr class="tablerowodd"><td width="40%">Use HomeSeer Sunrise and Sunset Times For Lights</td><td width="60%"><input class="formcheckbox" type="checkbox" name="chkusehomeseersunsetandsunrisetimesforlights" value="true">&nbsp;&nbsp;Use HomeSeer Times<br><br><b>OR</b><br><br>Lighting Start Time:&nbsp;&nbsp;<input class="formtext" type="text" size="10" name="lightingstarttime" value="06:00 PM">&nbsp;&nbsp;(eg: 8:00 PM)<br>Lighting End Time:&nbsp;&nbsp;<input class="formtext" type="text" size="10" name="lightingendtime" value="11:00 PM">&nbsp;&nbsp;(eg: 8:00 AM)</td></tr>
                        <tr class="tableroweven"><td>Minimum and Maximum Values For Simulation Devices</td><td>Min:&nbsp;&nbsp;<input class="formtext" type="text" size="4" name="minrandomtime" value="">&nbsp;&nbsp;(seconds)&nbsp;&nbsp;&nbsp;&nbsp;Max:&n bsp;&nbsp;<input class="formtext" type="text" size="4" name="maxrandomtime" value="">&nbsp;&nbsp;(seconds)<br><input class="formcheckbox" type="checkbox" name="chkapplyrandomdelaytocleanup" value="true">&nbsp;&nbsp;Apply these values to simulation stop<br><b>Note:</b>&nbsp;These values are used to randomly delay (in seconds) when a random simulation device will turn ON. This is only used when the max simulation devices ON has been reached and one device turns OFF before another is turned ON. This is the delay that will occur after the device is turned OFF and before the new simulation device is turned ON.</td></tr>
                        <tr class="tablerowodd"><td>Device code to turn on when simulation is stopped</td><td><input class="formtext" type="text" size="5" name="devicecodetoturnonwhensimulationstopped" value=""></td></tr>
                        <tr><td class="tablecolumn" colspan="2">Look and Feel Options</td></tr>
                        <tr class="tableroweven"><td width="40%">Include Floor for Devices</td><td width="60%"><input class="formcheckbox" type="checkbox" name="chkincludefloorfordevices" value="true"></td></tr>
                        <tr><td class="tablecolumn" colspan="2">&nbsp;</td></tr>
                        <tr><td align="center" colspan="2"><input type="Submit" class="formbutton" name="SaveOptions" value="Save"></td></tr><input type="hidden" name="ref_page" value="blocc">
                        <input type="hidden" name="thecurrentpage" value="options"></form>
                        </table>

                        7/16/2018 8:05:53 PM : v2.0.24.0 - bloccoptions finished
                        7/16/2018 8:05:53 PM : v2.0.24.0 - PagePut() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - SetIOMulti() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - SetIOMulti(): Found CC.Ref = 297; CC.ControlValue = 100; CC.ControlString =
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Device_Object_For_Ref() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Device_Object_For_Ref(): ref --> 297
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Device_Object_For_Ref() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - SetIOMulti(): * device object was FOUND
                        7/16/2018 8:06:11 PM : v2.0.24.0 - SetIOMulti(): deviceName --> BLOccupied Occupancy
                        7/16/2018 8:06:11 PM : v2.0.24.0 - SetIOMulti(): address --> BLOccupied-Root
                        7/16/2018 8:06:11 PM : v2.0.24.0 - SetIOMulti(): ** plugin root device found
                        7/16/2018 8:06:11 PM : v2.0.24.0 - StartOccupancySimulation() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Is_Simulation_Running() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Is_Simulation_Running(): simulationIsRunning --> False
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Is_Simulation_Running() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Activate_Simulation_Thread() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Perform_Occupancy_Simulation() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_Trigger() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_Trigger(): triggerName --> Occupancy Started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - HomeseerFunctions.TriggerOccupancyStarted() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - HomeseerFunctions.TriggerOccupancyStarted(): TrigsToCheck.Length --> 0
                        7/16/2018 8:06:11 PM : v2.0.24.0 - HomeseerFunctions.TriggerOccupancyStarted(): numberOfTriggersExecuted --> 0
                        7/16/2018 8:06:11 PM : v2.0.24.0 - HomeseerFunctions.TriggerOccupancyStarted() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_Trigger(): eventsTriggered --> 0
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_Trigger() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Set_Root_Device() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Set_Root_Device(): status --> Start
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Set_Root_Device(): address --> BLOccupied-Root
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Activate_Simulation_Thread() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Set_Root_Device(): ref --> 297
                        7/16/2018 8:06:11 PM : v2.0.24.0 - StartOccupancySimulation(): Occupancy Simulation has been started!!
                        7/16/2018 8:06:11 PM : v2.0.24.0 - StartOccupancySimulation() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - SetIOMulti() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Set_Root_Device() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Number_Of_Devices_That_Are_On() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Number_Of_Devices_That_Are_On(): devicesOn --> 0
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Number_Of_Devices_That_Are_On() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): devCountOn --> 0
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): maxDevicesOnAtOneTime --> 1
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On() deviceIndexesOff.Length --> 2
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On(): theRandomIndex --> 0
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On(): randomIndex --> 0
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): deviceIndexToTurnOn --> 0
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_Homeseer_Times() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_Homeseer_Times(): useHomeseerSunsetAndSunriseTimesForLights --> false
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_Homeseer_Times(): useTimes --> False
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_Homeseer_Times() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingStartTime --> 06:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingEndTime --> 11:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times(): useTimes --> True
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_Homeseer_Times() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_Homeseer_Times(): useHomeseerSunsetAndSunriseTimesForLights --> false
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_Homeseer_Times(): useTimes --> False
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_Homeseer_Times() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingStartTime --> 06:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingEndTime --> 11:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times(): useTimes --> True
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Use_User_Entered_Times() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): using user manually entered sunset and sunrise times!
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): startTime --> 06:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): endTime --> 11:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): startTime (TimeValue) --> 1/1/0001 6:00:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): endTime (TimeValue) --> 1/1/0001 11:00:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): currentDate --> 7/16/2018 8:06:11 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Simulate_Occupancy(): currentDate (TimeValue) --> 1/1/0001 8:06:11 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTime --> 06:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTime --> 11:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTime (TimeValue) --> 1/1/0001 6:00:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTime (TimeValue) --> 1/1/0001 11:00:00 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): currentDate --> 7/16/2018 8:06:11 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): currentDate (TimeValue) --> 1/1/0001 8:06:11 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTimeIsAM --> False
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTimeIsPM --> True
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTimeIsAM --> False
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTimeIsPM --> True
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): turnOnDevice --> True
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time() finished
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Turn_On_The_Device() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Turn_On_The_Device(): theIndex --> 0
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Turn_On_The_Device(): currentDate --> 7/16/2018 8:06:11 PM
                        7/16/2018 8:06:11 PM : v2.0.24.0 - Turn_On_The_Device(): dimLevel -->
                        7/16/2018 8:06:11 PM : v2.0.24.0 - CAPI_Control() started
                        7/16/2018 8:06:11 PM : v2.0.24.0 - CAPI_Control(): deviceRef --> 212
                        7/16/2018 8:06:11 PM : v2.0.24.0 - CAPI_Control(): status --> on
                        7/16/2018 8:06:11 PM : v2.0.24.0 - CAPI_Control(): CAPIControl Count: 2
                        7/16/2018 8:06:11 PM : v2.0.24.0 - CAPI_Control(): Index: 0; Label: On; ControlValue: 255; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:06:11 PM : v2.0.24.0 - CAPI_Control(): Index: 1; Label: Off; ControlValue: 0; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:06:11 PM : v2.0.24.0 - CAPI_Control(): * FOUND CAPIControl for CAPIGetSingleControlByUse
                        7/16/2018 8:06:11 PM : v2.0.24.0 - CAPI_Control(): ** CAPIControl was FOUND!!
                        7/16/2018 8:06:11 PM : v2.0.24.0 - CAPI_Control() finished
                        7/16/2018 8:06:13 PM : v2.0.24.0 - Turn_On_The_Device(): Device - Q149 (Main Bedroom Light) has been turned ON!
                        7/16/2018 8:06:13 PM : v2.0.24.0 - Turn_On_The_Device() finished
                        7/16/2018 8:06:13 PM : v2.0.24.0 - Simulate_Occupancy() finished
                        7/16/2018 8:06:13 PM : v2.0.24.0 - Get_Random_Simulation_Minutes() started
                        7/16/2018 8:06:13 PM : v2.0.24.0 - Get_Random_Simulation_Minutes(): minTime --> 1
                        7/16/2018 8:06:13 PM : v2.0.24.0 - Get_Random_Simulation_Minutes(): maxTime --> 1
                        7/16/2018 8:06:13 PM : v2.0.24.0 - Get_Random_Simulation_Minutes(): minutesToWait --> 1
                        7/16/2018 8:06:13 PM : v2.0.24.0 - Get_Random_Simulation_Minutes() finished
                        7/16/2018 8:06:13 PM : v2.0.24.0 - Perform_Occupancy_Simulation(): Thread sleeping for 1 minutes...
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Perform_Occupancy_Simulation(): Thread done sleeping!
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Number_Of_Devices_That_Are_On() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Number_Of_Devices_That_Are_On(): devicesOn --> 1
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Number_Of_Devices_That_Are_On() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): devCountOn --> 1
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): maxDevicesOnAtOneTime --> 1
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On() deviceIndexesOff.Length --> 1
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On(): theRandomIndex --> 0
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On(): randomIndex --> 1
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): deviceIndexToTurnOn --> 1
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Turn_Off_Random_Device() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Turn_Off_Random_Device() deviceIndexesOn.Length --> 1
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Control() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Control(): deviceRef --> 212
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Control(): status --> off
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Control(): CAPIControl Count: 2
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Control(): Index: 0; Label: On; ControlValue: 255; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Control(): Index: 1; Label: Off; ControlValue: 0; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Control(): * FOUND CAPIControl for CAPIGetSingleControlByUse
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Control(): ** CAPIControl was FOUND!!
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Control() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Turn_Off_Random_Device(): Device - Q149 (Main Bedroom Light) was tuned OFF!
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Turn_Off_Random_Device() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Random_Delay_Seconds_For_Device() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Random_Delay_Seconds_For_Device(): theSeconds --> 0
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Get_Random_Delay_Seconds_For_Device() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): delaySeconds --> 0
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_Homeseer_Times() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_Homeseer_Times(): useHomeseerSunsetAndSunriseTimesForLights --> false
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_Homeseer_Times(): useTimes --> False
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_Homeseer_Times() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingStartTime --> 06:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingEndTime --> 11:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times(): useTimes --> True
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_Homeseer_Times() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_Homeseer_Times(): useHomeseerSunsetAndSunriseTimesForLights --> false
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_Homeseer_Times(): useTimes --> False
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_Homeseer_Times() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingStartTime --> 06:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingEndTime --> 11:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times(): useTimes --> True
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Use_User_Entered_Times() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): using user manually entered sunset and sunrise times!
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): startTime --> 06:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): endTime --> 11:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): startTime (TimeValue) --> 1/1/0001 6:00:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): endTime (TimeValue) --> 1/1/0001 11:00:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): currentDate --> 7/16/2018 8:07:13 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Simulate_Occupancy(): currentDate (TimeValue) --> 1/1/0001 8:07:13 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTime --> 06:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTime --> 11:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTime (TimeValue) --> 1/1/0001 6:00:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTime (TimeValue) --> 1/1/0001 11:00:00 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): currentDate --> 7/16/2018 8:07:13 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): currentDate (TimeValue) --> 1/1/0001 8:07:13 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTimeIsAM --> False
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTimeIsPM --> True
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTimeIsAM --> False
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTimeIsPM --> True
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): turnOnDevice --> True
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time() finished
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Turn_On_The_Device() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Turn_On_The_Device(): theIndex --> 1
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Turn_On_The_Device(): currentDate --> 7/16/2018 8:07:13 PM
                        7/16/2018 8:07:13 PM : v2.0.24.0 - Turn_On_The_Device(): dimLevel --> 30
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Dim() started
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Dim(): devRef --> 47
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Dim(): theValue --> 30
                        7/16/2018 8:07:13 PM : v2.0.24.0 - CAPI_Dim(): offSetMax --> 0
                        7/16/2018 8:07:14 PM : v2.0.24.0 - CAPI_Dim(): matched --> False
                        7/16/2018 8:07:14 PM : v2.0.24.0 - CAPI_Dim(): theReturn.ToString --> Indeterminate
                        7/16/2018 8:07:14 PM : v2.0.24.0 - CAPI_Dim() finished
                        7/16/2018 8:07:16 PM : v2.0.24.0 - Turn_On_The_Device(): Device - Q19 (Living Room Lights) has been turned ON!
                        7/16/2018 8:07:16 PM : v2.0.24.0 - Turn_On_The_Device() finished
                        7/16/2018 8:07:16 PM : v2.0.24.0 - Simulate_Occupancy() finished
                        7/16/2018 8:07:16 PM : v2.0.24.0 - Get_Random_Simulation_Minutes() started
                        7/16/2018 8:07:16 PM : v2.0.24.0 - Get_Random_Simulation_Minutes(): minTime --> 1
                        7/16/2018 8:07:16 PM : v2.0.24.0 - Get_Random_Simulation_Minutes(): maxTime --> 1
                        7/16/2018 8:07:16 PM : v2.0.24.0 - Get_Random_Simulation_Minutes(): minutesToWait --> 1
                        7/16/2018 8:07:16 PM : v2.0.24.0 - Get_Random_Simulation_Minutes() finished
                        7/16/2018 8:07:16 PM : v2.0.24.0 - Perform_Occupancy_Simulation(): Thread sleeping for 1 minutes...
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Perform_Occupancy_Simulation(): Thread done sleeping!
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Number_Of_Devices_That_Are_On() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Number_Of_Devices_That_Are_On(): devicesOn --> 1
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Number_Of_Devices_That_Are_On() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): devCountOn --> 1
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): maxDevicesOnAtOneTime --> 1
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On() deviceIndexesOff.Length --> 1
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On(): theRandomIndex --> 0
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On(): randomIndex --> 0
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Random_Device_To_Turn_On() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): deviceIndexToTurnOn --> 0
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Turn_Off_Random_Device() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Turn_Off_Random_Device() deviceIndexesOn.Length --> 1
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): deviceRef --> 47
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): status --> off
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): CAPIControl Count: 100
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 0; Label: On; ControlValue: 99; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 1; Label: Off; ControlValue: 0; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 2; Label: 1%; ControlValue: 1; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 3; Label: 2%; ControlValue: 2; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 4; Label: 3%; ControlValue: 3; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 5; Label: 4%; ControlValue: 4; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 6; Label: 5%; ControlValue: 5; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 7; Label: 6%; ControlValue: 6; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 8; Label: 7%; ControlValue: 7; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 9; Label: 8%; ControlValue: 8; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 10; Label: 9%; ControlValue: 9; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 11; Label: 10%; ControlValue: 10; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 12; Label: 11%; ControlValue: 11; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 13; Label: 12%; ControlValue: 12; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 14; Label: 13%; ControlValue: 13; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 15; Label: 14%; ControlValue: 14; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 16; Label: 15%; ControlValue: 15; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 17; Label: 16%; ControlValue: 16; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 18; Label: 17%; ControlValue: 17; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 19; Label: 18%; ControlValue: 18; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 20; Label: 19%; ControlValue: 19; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 21; Label: 20%; ControlValue: 20; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 22; Label: 21%; ControlValue: 21; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 23; Label: 22%; ControlValue: 22; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 24; Label: 23%; ControlValue: 23; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 25; Label: 24%; ControlValue: 24; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 26; Label: 25%; ControlValue: 25; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 27; Label: 26%; ControlValue: 26; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 28; Label: 27%; ControlValue: 27; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 29; Label: 28%; ControlValue: 28; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 30; Label: 29%; ControlValue: 29; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 31; Label: 30%; ControlValue: 30; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 32; Label: 31%; ControlValue: 31; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 33; Label: 32%; ControlValue: 32; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 34; Label: 33%; ControlValue: 33; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 35; Label: 34%; ControlValue: 34; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 36; Label: 35%; ControlValue: 35; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 37; Label: 36%; ControlValue: 36; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 38; Label: 37%; ControlValue: 37; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 39; Label: 38%; ControlValue: 38; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 40; Label: 39%; ControlValue: 39; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 41; Label: 40%; ControlValue: 40; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 42; Label: 41%; ControlValue: 41; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 43; Label: 42%; ControlValue: 42; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 44; Label: 43%; ControlValue: 43; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 45; Label: 44%; ControlValue: 44; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 46; Label: 45%; ControlValue: 45; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 47; Label: 46%; ControlValue: 46; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 48; Label: 47%; ControlValue: 47; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 49; Label: 48%; ControlValue: 48; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 50; Label: 49%; ControlValue: 49; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 51; Label: 50%; ControlValue: 50; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 52; Label: 51%; ControlValue: 51; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 53; Label: 52%; ControlValue: 52; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 54; Label: 53%; ControlValue: 53; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 55; Label: 54%; ControlValue: 54; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 56; Label: 55%; ControlValue: 55; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 57; Label: 56%; ControlValue: 56; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 58; Label: 57%; ControlValue: 57; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 59; Label: 58%; ControlValue: 58; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 60; Label: 59%; ControlValue: 59; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 61; Label: 60%; ControlValue: 60; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 62; Label: 61%; ControlValue: 61; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 63; Label: 62%; ControlValue: 62; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 64; Label: 63%; ControlValue: 63; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 65; Label: 64%; ControlValue: 64; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 66; Label: 65%; ControlValue: 65; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 67; Label: 66%; ControlValue: 66; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 68; Label: 67%; ControlValue: 67; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 69; Label: 68%; ControlValue: 68; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 70; Label: 69%; ControlValue: 69; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 71; Label: 70%; ControlValue: 70; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 72; Label: 71%; ControlValue: 71; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 73; Label: 72%; ControlValue: 72; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 74; Label: 73%; ControlValue: 73; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 75; Label: 74%; ControlValue: 74; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 76; Label: 75%; ControlValue: 75; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 77; Label: 76%; ControlValue: 76; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 78; Label: 77%; ControlValue: 77; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 79; Label: 78%; ControlValue: 78; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 80; Label: 79%; ControlValue: 79; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 81; Label: 80%; ControlValue: 80; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 82; Label: 81%; ControlValue: 81; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 83; Label: 82%; ControlValue: 82; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 84; Label: 83%; ControlValue: 83; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 85; Label: 84%; ControlValue: 84; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 86; Label: 85%; ControlValue: 85; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 87; Label: 86%; ControlValue: 86; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 88; Label: 87%; ControlValue: 87; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 89; Label: 88%; ControlValue: 88; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 90; Label: 89%; ControlValue: 89; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 91; Label: 90%; ControlValue: 90; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 92; Label: 91%; ControlValue: 91; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 93; Label: 92%; ControlValue: 92; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 94; Label: 93%; ControlValue: 93; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 95; Label: 94%; ControlValue: 94; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 96; Label: 95%; ControlValue: 95; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 97; Label: 96%; ControlValue: 96; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 98; Label: 97%; ControlValue: 97; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 99; Label: 98%; ControlValue: 98; ControlString: ; ControlType: Values; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): * FOUND CAPIControl for CAPIGetSingleControlByUse
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): ** CAPIControl was FOUND!!
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Turn_Off_Random_Device(): Device - Q19 (Living Room Lights) was tuned OFF!
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Turn_Off_Random_Device() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Random_Delay_Seconds_For_Device() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Random_Delay_Seconds_For_Device(): theSeconds --> 0
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Get_Random_Delay_Seconds_For_Device() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): delaySeconds --> 0
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_Homeseer_Times() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_Homeseer_Times(): useHomeseerSunsetAndSunriseTimesForLights --> false
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_Homeseer_Times(): useTimes --> False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_Homeseer_Times() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingStartTime --> 06:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingEndTime --> 11:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times(): useTimes --> True
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_Homeseer_Times() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_Homeseer_Times(): useHomeseerSunsetAndSunriseTimesForLights --> false
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_Homeseer_Times(): useTimes --> False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_Homeseer_Times() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingStartTime --> 06:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times(): lightingEndTime --> 11:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times(): useTimes --> True
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Use_User_Entered_Times() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): using user manually entered sunset and sunrise times!
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): startTime --> 06:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): endTime --> 11:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): startTime (TimeValue) --> 1/1/0001 6:00:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): endTime (TimeValue) --> 1/1/0001 11:00:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): currentDate --> 7/16/2018 8:08:16 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Simulate_Occupancy(): currentDate (TimeValue) --> 1/1/0001 8:08:16 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTime --> 06:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTime --> 11:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTime (TimeValue) --> 1/1/0001 6:00:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTime (TimeValue) --> 1/1/0001 11:00:00 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): currentDate --> 7/16/2018 8:08:16 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): currentDate (TimeValue) --> 1/1/0001 8:08:16 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTimeIsAM --> False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): startTimeIsPM --> True
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTimeIsAM --> False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): endTimeIsPM --> True
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time(): turnOnDevice --> True
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Check_If_Device_Should_Come_On_For_Time() finished
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Turn_On_The_Device() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Turn_On_The_Device(): theIndex --> 0
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Turn_On_The_Device(): currentDate --> 7/16/2018 8:08:16 PM
                        7/16/2018 8:08:16 PM : v2.0.24.0 - Turn_On_The_Device(): dimLevel -->
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control() started
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): deviceRef --> 212
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): status --> on
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): CAPIControl Count: 2
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 0; Label: On; ControlValue: 255; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): Index: 1; Label: Off; ControlValue: 0; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): * FOUND CAPIControl for CAPIGetSingleControlByUse
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control(): ** CAPIControl was FOUND!!
                        7/16/2018 8:08:16 PM : v2.0.24.0 - CAPI_Control() finished
                        7/16/2018 8:08:18 PM : v2.0.24.0 - Turn_On_The_Device(): Device - Q149 (Main Bedroom Light) has been turned ON!
                        7/16/2018 8:08:18 PM : v2.0.24.0 - Turn_On_The_Device() finished
                        7/16/2018 8:08:18 PM : v2.0.24.0 - Simulate_Occupancy() finished
                        7/16/2018 8:08:18 PM : v2.0.24.0 - Get_Random_Simulation_Minutes() started
                        7/16/2018 8:08:18 PM : v2.0.24.0 - Get_Random_Simulation_Minutes(): minTime --> 1
                        7/16/2018 8:08:18 PM : v2.0.24.0 - Get_Random_Simulation_Minutes(): maxTime --> 1
                        7/16/2018 8:08:18 PM : v2.0.24.0 - Get_Random_Simulation_Minutes(): minutesToWait --> 1
                        7/16/2018 8:08:18 PM : v2.0.24.0 - Get_Random_Simulation_Minutes() finished
                        7/16/2018 8:08:18 PM : v2.0.24.0 - Perform_Occupancy_Simulation(): Thread sleeping for 1 minutes...
                        7/16/2018 8:08:29 PM : v2.0.24.0 - SetIOMulti() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - SetIOMulti(): Found CC.Ref = 297; CC.ControlValue = 0; CC.ControlString =
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Get_Device_Object_For_Ref() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Get_Device_Object_For_Ref(): ref --> 297
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Get_Device_Object_For_Ref() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - SetIOMulti(): * device object was FOUND
                        7/16/2018 8:08:29 PM : v2.0.24.0 - SetIOMulti(): deviceName --> BLOccupied Occupancy
                        7/16/2018 8:08:29 PM : v2.0.24.0 - SetIOMulti(): address --> BLOccupied-Root
                        7/16/2018 8:08:29 PM : v2.0.24.0 - SetIOMulti(): ** plugin root device found
                        7/16/2018 8:08:29 PM : v2.0.24.0 - StopOccupancySimulation() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Is_Simulation_Running() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Is_Simulation_Running(): simulationIsRunning --> True
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Is_Simulation_Running() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Activate_Stop_Simulation_Thread() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Activate_Stop_Simulation_Thread() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Perform_Stop_Occupancy_Simulation() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - StopOccupancySimulation() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - SetIOMulti() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - StopOccupancySimulation(): occupancy simulation thread state --> WaitSleepJoin
                        7/16/2018 8:08:29 PM : v2.0.24.0 - StopOccupancySimulation(): *** waiting for occupancy simulation thread to go to sleep!!
                        7/16/2018 8:08:29 PM : v2.0.24.0 - StopOccupancySimulation(): occupancy simulation thread state --> WaitSleepJoin
                        7/16/2018 8:08:29 PM : v2.0.24.0 - StopOccupancySimulation(): *** occupancy simulation thread is sleeping so we are interrupting it!!!
                        7/16/2018 8:08:29 PM : v2.0.24.0 - StopOccupancySimulation(): *** interrupt command sent to occupancy simulation thread!
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Perform_Occupancy_Simulation(): Simulation Thread has FINISHED!!!
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Perform_Occupancy_Simulation() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - StopOccupancySimulation(): *** occupancy simulation thread has STOPPED!!!
                        7/16/2018 8:08:29 PM : v2.0.24.0 - StopOccupancySimulation(): * turnOffDevicesWhenSimulationStops --> true
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Cleanup_Simulation_Devices() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Cleanup_Simulation_Devices(): ** Processing device --> Q149 (name: Main Bedroom Light; isOn: True; isOff --> False; lastChangedOn --> 7/16/2018 8:08:16 PM)
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Cleanup_Simulation_Devices(): Device is ON
                        7/16/2018 8:08:29 PM : v2.0.24.0 - CAPI_Control() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - CAPI_Control(): deviceRef --> 212
                        7/16/2018 8:08:29 PM : v2.0.24.0 - CAPI_Control(): status --> off
                        7/16/2018 8:08:29 PM : v2.0.24.0 - CAPI_Control(): CAPIControl Count: 2
                        7/16/2018 8:08:29 PM : v2.0.24.0 - CAPI_Control(): Index: 0; Label: On; ControlValue: 255; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:08:29 PM : v2.0.24.0 - CAPI_Control(): Index: 1; Label: Off; ControlValue: 0; ControlString: ; ControlType: Button; SingleRangeEntry: False
                        7/16/2018 8:08:29 PM : v2.0.24.0 - CAPI_Control(): * FOUND CAPIControl for CAPIGetSingleControlByUse
                        7/16/2018 8:08:29 PM : v2.0.24.0 - CAPI_Control(): ** CAPIControl was FOUND!!
                        7/16/2018 8:08:29 PM : v2.0.24.0 - CAPI_Control() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Cleanup_Simulation_Devices(): Device - Q149 was turned OFF!
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Cleanup_Simulation_Devices(): ** Processing device --> Q19 (name: Living Room Lights; isOn: False; isOff --> True; lastChangedOn --> 7/16/2018 8:07:13 PM)
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Cleanup_Simulation_Devices(): Device is already OFF
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Cleanup_Simulation_Devices(): * Devices all set to OFF!
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Cleanup_Simulation_Devices() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Check_Trigger() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Check_Trigger(): triggerName --> Occupancy Stopped
                        7/16/2018 8:08:29 PM : v2.0.24.0 - HomeseerFunctions.TriggerOccupancyStopped() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - HomeseerFunctions.TriggerOccupancyStopped(): TrigsToCheck.Length --> 0
                        7/16/2018 8:08:29 PM : v2.0.24.0 - HomeseerFunctions.TriggerOccupancyStopped(): numberOfTriggersExecuted --> 0
                        7/16/2018 8:08:29 PM : v2.0.24.0 - HomeseerFunctions.TriggerOccupancyStopped() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Check_Trigger(): eventsTriggered --> 0
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Check_Trigger() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Set_Root_Device() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Set_Root_Device(): status --> Stop
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Set_Root_Device(): address --> BLOccupied-Root
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Set_Root_Device(): ref --> 297
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Set_Root_Device() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Check_Device_To_Turn_On_When_Simulation_Stopped() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Check_Device_To_Turn_On_When_Simulation_Stopped(): * No device code is set to turn on when simulation is stopped!
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Check_Device_To_Turn_On_When_Simulation_Stopped() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Linux() started
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Linux(): isLinux --> True
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Linux() finished
                        7/16/2018 8:08:29 PM : v2.0.24.0 - Perform_Stop_Occupancy_Simulation() finished
                        7/16/2018 8:08:37 PM : v2.0.24.0 - PagePut() started
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData started
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> chkturnoffdeviceswhensimulationstops
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value --> true
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> mintime
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value --> 1
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> maxtime
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value --> 1
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> maxdevicesonatonetime
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value --> 1
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> lightingstarttime
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value --> 06:00 PM
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> lightingendtime
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value --> 11:00 PM
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> minrandomtime
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value -->
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> maxrandomtime
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value -->
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> devicecodetoturnonwhensimulationstopped
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value -->
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> SaveOptions
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value --> Save
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> ref_page
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value --> blocc
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.name --> thecurrentpage
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData: tPair.value --> options
                        7/16/2018 8:08:37 PM : v2.0.24.0 - GetFormData finished
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions() started
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingstarttime
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingstarttime: splitArray(0) --> 06:00
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingstarttime: splitArray(1) --> PM
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingstarttime: splitArray2(0) --> 06
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingstarttime: splitArray2(1) --> 00
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingendtime
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingendtime: splitArray(0) --> 11:00
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingendtime: splitArray(1) --> PM
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingendtime: splitArray2(0) --> 11
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validating lightingendtime: splitArray2(1) --> 00
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions(): validateOK --> True
                        7/16/2018 8:08:37 PM : v2.0.24.0 - ValidateOptions() finished
                        7/16/2018 8:08:37 PM : v2.0.24.0 - PagePut: theRefPage --> options
                        7/16/2018 8:08:37 PM : v2.0.24.0 - PagePut: validationOk --> True
                        7/16/2018 8:08:37 PM : v2.0.24.0 - PagePut: optionsScreenUpdated --> True
                        7/16/2018 8:08:37 PM : v2.0.24.0 - PagePut: debugLoggingCheckBoxFound --> False
                        7/16/2018 8:08:37 PM : v2.0.24.0 - PagePut: loadSystemTrayIconCheckBoxFound --> False
                        7/16/2018 8:08:37 PM : v2.0.24.0 - PagePut: useHomeseerSunsetAndSunriseTimesForLightsCheckBoxFound --> False
                        7/16/2018 8:08:37 PM : v2.0.24.0 - PagePut: options screen was saved
                        7/16/2018 8:08:37 PM : v2.0.24.0 - **************** Debug Logging DISABLED at 7/16/2018 8:08:37 PM ****************

                        Comment


                          #13
                          OK looks like something with the dim in the plugin
                          I will take a look at this tonight when I am home from work
                          I will be in touch
                          Cheers,
                          Bob
                          Web site | Help Desk | Feature Requests | Message Board

                          Comment


                            #14
                            Thanks mate, happy to run anything else you need just say the word

                            My dimmers are Fibaro Dimmer 2's in case that helps at all.

                            Comment


                              #15
                              Can you try out 2.0.25 in the beta section of the updater
                              Cheers,
                              Bob
                              Web site | Help Desk | Feature Requests | Message Board

                              Comment

                              Working...
                              X