FlyingDiver / Indigo-Occupatum

Location and Occupancy plugin for the Indigo Home Automation System
MIT License
2 stars 4 forks source link

device becomes on when one of several motion sensors becomes off after zone cancel #5

Closed cronutan closed 3 years ago

cronutan commented 3 years ago

When I cancel timer for zone (off) I get the state of the occupatum device off as exppected, however when one of my motion sensors turns off subsequently the occupatum device becomes on again and then after timeout becomes off again.

Screen Shot 2021-02-12 at 3 33 01 PM

Log of the sequence:

2021-02-12 15:48:24.819 Received INSTEON    "L0_LR_OCP" on (button 1)
2021-02-12 15:48:24.819 Trigger L0_LR_OCP_ON_VAR
2021-02-12 15:48:24.820 Trigger L0_LR_VOCP_ACTN_VAR
2021-02-12 15:48:24.823 Occupatum Debug Watched Device updated: L0_LR_OCP
2021-02-12 15:48:24.825 Trigger L0_LR_VMNT_ON_VAR
2021-02-12 15:48:24.826 Trigger Occupancy Log Update
2021-02-12 15:48:24.827 Trigger Action Log Update
2021-02-12 15:48:24.829 Occupatum Debug L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968]
2021-02-12 15:48:24.829 Occupatum Debug L0_LR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
2021-02-12 15:48:24.829 Occupatum Debug L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-77, initial)> with delay = 0.0
2021-02-12 15:48:24.830 Occupatum Debug L0_LR_OCPTM: delayTimerComplete, occupied = True
2021-02-12 15:48:24.831 Occupatum Debug L0_LR_OCPTM_LT_ON: Testing Event Trigger
2021-02-12 15:48:24.831 Occupatum Debug L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
2021-02-12 15:48:24.831 Trigger L0_LR_OCPTM_LT_ON
2021-02-12 15:48:24.831 Action Group    L0_LR_ON
2021-02-12 15:48:24.836 Occupatum Debug L0_FR_OCPTM_LT_ON: Testing Event Trigger
2021-02-12 15:48:24.836 Occupatum Debug L0_LR_OCPTM_LT_OFF: Testing Event Trigger
2021-02-12 15:48:24.836 Occupatum Debug L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
2021-02-12 15:48:24.836 Occupatum Debug L0_FR_OCPTM_LT_OFF: Testing Event Trigger
2021-02-12 15:48:24.974 DSC Alarm   Alarm Zone 'L0_GR_MTN' Opened.
2021-02-12 15:48:24.974 Trigger L0_GR_MNT_ON_VAR
2021-02-12 15:48:24.977 Trigger Occupancy Log Update
2021-02-12 15:48:24.989 Occupatum Debug Watched Device updated: L0_GR_MNT_MSQRD
2021-02-12 15:48:24.991 Occupatum Debug L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
2021-02-12 15:48:24.991 Occupatum Debug L0_GR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
2021-02-12 15:48:24.991 Occupatum Debug L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-78, initial)> with delay = 0.0
2021-02-12 15:48:24.991 Occupatum Debug L0_GR_OCPTM: delayTimerComplete, occupied = True
2021-02-12 15:48:24.991 Occupatum Debug L0_LR_OCPTM_LT_ON: Testing Event Trigger
2021-02-12 15:48:24.991 Occupatum Debug L0_FR_OCPTM_LT_ON: Testing Event Trigger
2021-02-12 15:48:24.992 Occupatum Debug L0_LR_OCPTM_LT_OFF: Testing Event Trigger
2021-02-12 15:48:24.992 Occupatum Debug L0_FR_OCPTM_LT_OFF: Testing Event Trigger
2021-02-12 15:48:25.090 Sent INSTEON    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
2021-02-12 15:48:25.551 Z-Wave  received "L0_LR_OCP_Z" status update is on
2021-02-12 15:48:25.553 Occupatum Debug Watched Device updated: L0_LR_OCP_Z
2021-02-12 15:48:25.556 Occupatum Debug L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968]
2021-02-12 15:48:25.556 Occupatum Debug L0_LR_OCPTM: checkSensors, occupied = True, previous = True, delay = 0.0
2021-02-12 15:48:25.557 Occupatum Debug L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-79, initial)> with delay = 0.0
2021-02-12 15:48:25.557 Occupatum Debug L0_LR_OCPTM: delayTimerComplete, occupied = True
2021-02-12 15:48:25.557 Occupatum Debug L0_LR_OCPTM_LT_ON: Testing Event Trigger
2021-02-12 15:48:25.557 Occupatum Debug L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
2021-02-12 15:48:25.557 Trigger L0_LR_OCPTM_LT_ON
2021-02-12 15:48:25.557 Action Group    L0_LR_ON
2021-02-12 15:48:25.560 Occupatum Debug L0_FR_OCPTM_LT_ON: Testing Event Trigger
2021-02-12 15:48:25.560 Occupatum Debug L0_LR_OCPTM_LT_OFF: Testing Event Trigger
2021-02-12 15:48:25.560 Occupatum Debug L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
2021-02-12 15:48:25.560 Occupatum Debug L0_FR_OCPTM_LT_OFF: Testing Event Trigger
2021-02-12 15:48:25.666 Sent INSTEON    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
2021-02-12 15:48:26.711 DSC Alarm   Alarm Zone 'L0_GR_MTN' Closed.
2021-02-12 15:48:26.711 Trigger L0_GR_MNT_OFF_VAR
2021-02-12 15:48:26.714 Occupatum Debug Watched Device updated: L0_GR_MNT_MSQRD
2021-02-12 15:48:26.716 Occupatum Debug L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
2021-02-12 15:48:26.716 Occupatum Debug L0_GR_OCPTM: checkSensors, occupied = False, previous = True, delay = 480.0
2021-02-12 15:48:26.716 Occupatum Debug L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-80, initial)> with delay = 480.0
2021-02-12 15:48:26.749 Schedule    L0_LR_OCPTM_LT_ON (delayed action)
2021-02-12 15:48:26.769 Sent INSTEON    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
2021-02-12 15:48:29.952 Received INSTEON    "L0_LR_LT" off
2021-02-12 15:48:29.953 Trigger L0_LR_LT_OFF
2021-02-12 15:48:29.953 Trigger L0_LR_VOCP_OFF_VAR
2021-02-12 15:48:29.974 Occupatum Debug L0_LR_OCPTM: No Timer Active
2021-02-12 15:48:30.823 DSC Alarm   Alarm Zone 'L0_GR_MTN' Opened.
2021-02-12 15:48:30.823 Trigger L0_GR_MNT_ON_VAR
2021-02-12 15:48:30.828 Occupatum Debug Watched Device updated: L0_GR_MNT_MSQRD
2021-02-12 15:48:30.831 Occupatum Debug L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
2021-02-12 15:48:30.832 Occupatum Debug L0_GR_OCPTM: checkSensors, occupied = True, previous = True, delay = 0.0
2021-02-12 15:48:30.832 Occupatum Debug L0_GR_OCPTM: checkSensors, cancelling existing delay timer
2021-02-12 15:48:30.832 Occupatum Debug L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-81, initial)> with delay = 0.0
2021-02-12 15:48:30.833 Occupatum Debug L0_GR_OCPTM: delayTimerComplete, occupied = True
2021-02-12 15:48:30.833 Occupatum Debug L0_LR_OCPTM_LT_ON: Testing Event Trigger
2021-02-12 15:48:30.833 Occupatum Debug L0_FR_OCPTM_LT_ON: Testing Event Trigger
2021-02-12 15:48:30.833 Occupatum Debug L0_LR_OCPTM_LT_OFF: Testing Event Trigger
2021-02-12 15:48:30.833 Occupatum Debug L0_FR_OCPTM_LT_OFF: Testing Event Trigger
2021-02-12 15:48:32.634 DSC Alarm   Alarm Zone 'L0_GR_MTN' Closed.
2021-02-12 15:48:32.635 Trigger L0_GR_MNT_OFF_VAR
2021-02-12 15:48:32.638 Occupatum Debug Watched Device updated: L0_GR_MNT_MSQRD
2021-02-12 15:48:32.639 Occupatum Debug L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
2021-02-12 15:48:32.640 Occupatum Debug L0_GR_OCPTM: checkSensors, occupied = False, previous = True, delay = 480.0
2021-02-12 15:48:32.640 Occupatum Debug L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-82, initial)> with delay = 480.0
2021-02-12 15:48:35.495 DSC Alarm   Alarm Zone 'L2_LR_MTN' Opened.
2021-02-12 15:48:35.495 Trigger L2_LR_MNT_ON_VAR
2021-02-12 15:48:35.499 Trigger Occupancy Log Update
2021-02-12 15:48:36.154 DSC Alarm   Alarm Zone 'L1_FR_MTN' Opened.
2021-02-12 15:48:36.154 Trigger L1_FR_MNT_ON_VAR
2021-02-12 15:48:36.155 Trigger Occupancy Log Update
2021-02-12 15:48:36.865 DSC Alarm   Alarm Zone 'L2_LR_MTN' Closed.
FlyingDiver commented 3 years ago

Log does not include event for either L0_LR_OCP or L0_LR_OCP_Z turning off, so I don't see the error. If I'm missing it, what is the time stamp for the event?

FlyingDiver commented 3 years ago
   Z-Wave                          received "L0_LR_OCP_Z" status update is on
   Trigger                         L0_LR_OCPTM_LT_ON
   Action Group                    L0_LR_ON
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Schedule                        L0_LR_OCPTM_LT_ON (delayed action)
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Received INSTEON                "L0_LR_LT" off
   Trigger                         L0_LR_LT_OFF
   Trigger                         L0_LR_VOCP_OFF_VAR
   Received INSTEON                "BY_Pool_Skim_TEMP" off (button 2)
   Z-Wave                          received "L1_WC_OCP_Z" status update is off
   Trigger                         L1_WC_OCP_Z_OFF_VAR
   DSC Alarm                       Alarm Zone 'L0_GR_MTN' Opened.
   Trigger                         L0_GR_MNT_ON_VAR
   Received INSTEON                "BY_Pool_Skim_TEMP" on (button 2)
   DSC Alarm                       Alarm Zone 'L0_GR_MTN' Closed.
   Trigger                         L0_GR_MNT_OFF_VAR
   Received INSTEON                "BY_Pool_Skim_TEMP" off (button 2)
   Received INSTEON                "BY_Pool_Skim_TEMP" on (button 2)
   Z-Wave                          received "L0_LR_OCP_Z" status update is off
   Trigger                         L0_LR_OCPTM_LT_ON
   Action Group                    L0_LR_ON
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Schedule                        L0_LR_OCPTM_LT_ON (delayed action)
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Received INSTEON                "BY_Pool_Skim_TEMP" off (button 2)
   Received INSTEON                "BY_Pool_Skim_TEMP" on (button 2)
   Z-Wave                          received "L0_PowerMeter" power load to 6383.256 W
   Trigger                         UpdatePowerDisplayVariable
  Z-Wave                          received "L0_PowerMeter_Clamp_1" power load to 3326.602 W
   Received INSTEON                "L0_LR_OCP" off (button 1)
   Trigger                         L0_LR_OCP_OFF_VAR
   Z-Wave                          received "L4_AtticL_TEMP_Z" sensor update to 15.4 °C
   Z-Wave                          received "L4_AtticL_TEMP_Z" sensor update to 15.4 °C
   Z-Wave                          received "L4_AtticL_TEMP_Z" sensor update to 15.4 °C
   Z-Wave                          received "L4_AtticL_TEMP_Z" sensor update to 15.4 °C
   Z-Wave                          received "L4_AtticL_HUM_Z" sensor update to 69%
   DSC Alarm                       Alarm Zone 'L1_FR_MTN' Opened.
   Trigger                         L1_FR_MNT_ON_VAR
   Trigger                         Occupancy Log Update
   Z-Wave                          received "L4_AtticL_ILUM_Z" sensor update to -32768 lux
   Z-Wave                          received "L4_AtticL_UV_Z" sensor update to -1
   DSC Alarm                       Alarm Zone 'L1_FR_MTN' Closed.
   Trigger                         L1_FR_MNT_OFF_VAR
   DSC Alarm                       Alarm Zone 'L1_FR_MTN' Opened.
   Trigger                         L1_FR_MNT_ON_VAR
   DSC Alarm                       Alarm Zone 'L1_FR_MTN' Closed.
   Trigger                         L1_FR_MNT_OFF_VAR
   DSC Alarm                       Alarm Zone 'L1_FR_MTN' Opened.
   Trigger                         L1_FR_MNT_ON_VAR
   DSC Alarm                       Alarm Zone 'L1_FR_MTN' Closed.
   Trigger                         L1_FR_MNT_OFF_VAR
   Indigo Cocoa client authenticated (192.168.1.99)
   Received INSTEON                "BY_Pool_Skim_TEMP" temperature changed to 24.0
   Z-Wave                          received "L0_PowerMeter" power load to 6306.569 W
   Trigger                         UpdatePowerDisplayVariable
   Z-Wave                          received "L0_PowerMeter" energy total to 225.790 kWh
   Z-Wave                          received "L0_PowerMeter_Clamp_1" power load to 3303.888 W
   Z-Wave                          received "L0_PowerMeter_Clamp_1" energy total to 126.362 kWh

Mar 22, 2021 at 11:27:17 AM
   DSC Alarm                       Alarm Zone 'L1_FR_MTN' Opened.
   Trigger                         L1_FR_MNT_ON_VAR
   DSC Alarm                       Alarm Zone 'L1_FR_MTN' Closed.
   Trigger                         L1_FR_MNT_OFF_VAR
   Z-Wave                          received "L0_PowerMeter" power load to 6321.065 W
   Trigger                         UpdatePowerDisplayVariable
   Z-Wave                          received "L0_PowerMeter_Clamp_1" power load to 3296.555 W
   Trigger                         L0_LR_OCPTM_LT_OFF
   Action Group                    L0_LR_OFF
   Sent INSTEON                    "PowerLinc Interface" off (scene 11 - L0_LR)
   Trigger                         L0_LR_LT_OFF
   Z-Wave                          received "L4_AtticL_TEMP_Z" sensor update to 15.6 °C
   Z-Wave                          received "L4_AtticL_HUM_Z" sensor update to 70%
   Schedule                        DoubleCheck_KeypadLinc
   Action Group                    FY_ENT_KPD_ButtonsSync
   Script                          Button 2 state: True, L2_LR_Clock_LT.onState: True
   Script                          Button 3 state: False, L2_LR_TLampN_LT.onState: False
   Script                          Button 4 state: False, L2_LR_TLampS_LT.onState: False
   Script                          Button 5 state: False, L2_LR_Pot1_LT.onState: False
   Script                          Button 6 state: False, L2_LR_Pot2_LT.onState: False
   Script                          Button 7 state: False, L2_LR_Pot3_LT.onState: False
   Script                          Button 8 state: True, L2_DR_Pot_LT.onState: True
   Z-Wave                          received "L4_AtticL_ILUM_Z" sensor update to -32768 lux
   Z-Wave                          received "L4_AtticL_UV_Z" sensor update to -1
FlyingDiver commented 3 years ago

There's no Occupatum debug statements in that log. And a lot of stuff that has nothing to do with the sensors, trigger, or plugin.

FlyingDiver commented 3 years ago

And please post the logs directly on GitHub - the code formatting doesn't work if you send them by email.

cronutan commented 3 years ago
   Occupatum Debug                 Watched Device updated: L0_LR_OCP
   Trigger                         L0_LR_VMNT_ON_VAR
   Trigger                         Occupancy Log Update
   Trigger                         Action Log Update
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1834, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
   Trigger                         L0_LR_OCPTM_LT_ON
   Action Group                    L0_LR_ON
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Schedule                        L0_LR_OCPTM_LT_ON (delayed action)
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   DSC Alarm                       Alarm Zone 'L0_GR_MTN' Opened.
   Trigger                         L0_GR_MNT_ON_VAR
   Trigger                         Occupancy Log Update
   Occupatum Debug                 Watched Device updated: L0_GR_MNT_MSQRD
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1835, initial)> with delay = 0.0
   Occupatum Debug                 L0_GR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Z-Wave                          received "L0_LR_OCP_Z" status update is on
   Occupatum Debug                 Watched Device updated: L0_LR_OCP_Z
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = True, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1836, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
   Trigger                         L0_LR_OCPTM_LT_ON
   Action Group                    L0_LR_ON
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   DSC Alarm                       Alarm Zone 'L0_GR_MTN' Closed.
   Trigger                         L0_GR_MNT_OFF_VAR
   Occupatum Debug                 Watched Device updated: L0_GR_MNT_MSQRD
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, occupied = False, previous = True, delay = 480.0
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1837, initial)> with delay = 480.0
   Schedule                        L0_LR_OCPTM_LT_ON (delayed action)
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Received INSTEON                "L0_LR_LT" off
   Trigger                         L0_LR_LT_OFF
   Trigger                         L0_LR_VOCP_OFF_VAR
   Occupatum Debug                 L0_LR_OCPTM: No Timer Active
   DSC Alarm                       Alarm Zone 'L0_GR_MTN' Opened.
   Trigger                         L0_GR_MNT_ON_VAR
   Occupatum Debug                 Watched Device updated: L0_GR_MNT_MSQRD
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, occupied = True, previous = True, delay = 0.0
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, cancelling existing delay timer
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1838, initial)> with delay = 0.0
   Occupatum Debug                 L0_GR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   DSC Alarm                       Alarm Zone 'L0_GR_MTN' Closed.
   Trigger                         L0_GR_MNT_OFF_VAR
   Occupatum Debug                 Watched Device updated: L0_GR_MNT_MSQRD
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, occupied = False, previous = True, delay = 480.0
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1839, initial)> with delay = 480.0

   Z-Wave                          received "L0_LR_OCP_Z" status update is off
   Occupatum Debug                 Watched Device updated: L0_LR_OCP_Z
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1840, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
   Trigger                         L0_LR_OCPTM_LT_ON
   Action Group                    L0_LR_ON
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Schedule                        L0_LR_OCPTM_LT_ON (delayed action)
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Z-Wave                          received "L0_PowerMeter" power load to 7338.839 W
   Trigger                         UpdatePowerDisplayVariable
   Z-Wave                          received "L0_PowerMeter_Clamp_1" power load to 3228.165 W
   Received INSTEON                "L0_LR_OCP" off (button 1)
   Trigger                         L0_LR_OCP_OFF_VAR
   Occupatum Debug                 Watched Device updated: L0_LR_OCP
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = False, previous = True, delay = 60.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1841, initial)> with delay = 60.0

Mar 22, 2021 at 11:53:22 AM
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = False
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
   Trigger                         L0_LR_OCPTM_LT_OFF
   Action Group                    L0_LR_OFF
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Sent INSTEON                    "PowerLinc Interface" off (scene 11 - L0_LR)
   Trigger                         L0_LR_LT_OFF
   Occupatum Debug                 L0_LR_OCPTM: No Timer Active
cronutan commented 3 years ago

It looks like i pasted it wrong again. I'm not sure how to make it look as nice as when you did it.

FlyingDiver commented 3 years ago

It's three back quotes for a block. One back quote for a single line.

FlyingDiver commented 3 years ago

And it's this block that's the issue?

  Z-Wave                          received "L0_LR_OCP_Z" status update is off
   Occupatum Debug                 Watched Device updated: L0_LR_OCP_Z
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1840, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
   Trigger                         L0_LR_OCPTM_LT_ON
cronutan commented 3 years ago

   Trigger                         L0_LR_OCP_ON_VAR
   Trigger                         L0_LR_VOCP_ACTN_VAR
   Occupatum Debug                 Watched Device updated: L0_LR_OCP
   Trigger                         L0_LR_VMNT_ON_VAR
   Trigger                         Occupancy Log Update
   Trigger                         Action Log Update
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1842, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
   Trigger                         L0_LR_OCPTM_LT_ON
   Action Group                    L0_LR_ON
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   DSC Alarm                       Alarm Zone 'L0_GR_MTN' Opened.
   Trigger                         L0_GR_MNT_ON_VAR
   Trigger                         Occupancy Log Update
   Occupatum Debug                 Watched Device updated: L0_GR_MNT_MSQRD
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1843, initial)> with delay = 0.0
   Occupatum Debug                 L0_GR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Schedule                        L0_LR_OCPTM_LT_ON (delayed action)
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Z-Wave                          received "L0_LR_OCP_Z" status update is on
   Occupatum Debug                 Watched Device updated: L0_LR_OCP_Z
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = True, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1844, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
   Trigger                         L0_LR_OCPTM_LT_ON
   Action Group                    L0_LR_ON
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Schedule                        L0_LR_OCPTM_LT_ON (delayed action)
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   DSC Alarm                       Alarm Zone 'L0_GR_MTN' Closed.
   Trigger                         L0_GR_MNT_OFF_VAR
   Occupatum Debug                 Watched Device updated: L0_GR_MNT_MSQRD
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [1950901611]
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, occupied = False, previous = True, delay = 480.0
   Occupatum Debug                 L0_GR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1845, initial)> with delay = 480.0
   Received INSTEON                "L0_LR_LT" off
   Trigger                         L0_LR_LT_OFF
   Trigger                         L0_LR_VOCP_OFF_VAR
   Occupatum Debug                 L0_LR_OCPTM: No Timer Active

   Z-Wave                          received "L0_LR_OCP_Z" status update is off
   Occupatum Debug                 Watched Device updated: L0_LR_OCP_Z
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1846, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
   Trigger                         L0_LR_OCPTM_LT_ON
   Action Group                    L0_LR_ON
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)
   Schedule                        L0_LR_OCPTM_LT_ON (delayed action)
   Sent INSTEON                    "PowerLinc Interface" on to 100% (instant) (scene 11 - L0_LR)

   Received INSTEON                "L0_LR_OCP" off (button 1)
   Trigger                         L0_LR_OCP_OFF_VAR
   Occupatum Debug                 Watched Device updated: L0_LR_OCP
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = False, previous = True, delay = 60.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1847, initial)> with delay = 60.0

Mar 22, 2021 at 12:05:22 PM

Mar 22, 2021 at 12:05:52 PM

   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = False
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_ON: Match on Zone L0_LR_OCPTM
   Occupatum Debug                 L0_FR_OCPTM_LT_ON: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Testing Event Trigger
   Occupatum Debug                 L0_LR_OCPTM_LT_OFF: Match on Zone L0_LR_OCPTM
   Trigger                         L0_LR_OCPTM_LT_OFF
   Action Group                    L0_LR_OFF
   Occupatum Debug                 L0_FR_OCPTM_LT_OFF: Testing Event Trigger
   Sent INSTEON                    "PowerLinc Interface" off (scene 11 - L0_LR)
   Trigger                         L0_LR_LT_OFF
   Occupatum Debug                 L0_LR_OCPTM: No Timer Active
cronutan commented 3 years ago

Yes it looks like it.

FlyingDiver commented 3 years ago

So to boil it down to the bare minimum, it's the sensors L0_LR_OCP and L0_LR_OCP_Z, and the Occupatum device L0_LR_OCPTM, which is defined per the screenshot in the first post? I need to figure out the minimum needed to recreate this issue.

cronutan commented 3 years ago

Exactly.

FlyingDiver commented 3 years ago

Here's what I'm seeing.

   Occupatum Debug                 Watched Device updated: L0_LR_OCP
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1842, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True

L0_LR_OCP turns on, which causes L0_LR_OCPTM to turn on immediately.

   Occupatum Debug                 Watched Device updated: L0_LR_OCP_Z
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = True, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1844, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True

L0_LR_OCP_Z turns on, L0_LR_OCPTM is already on.

   Z-Wave                          received "L0_LR_OCP_Z" status update is off
   Occupatum Debug                 Watched Device updated: L0_LR_OCP_Z
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = True, previous = False, delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1846, initial)> with delay = 0.0
   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = True

L0_LR_OCP_Z turn off, L0_LR_OCPTM stays on (L0_LR_OCP is still on).

   Received INSTEON                "L0_LR_OCP" off (button 1)
   Occupatum Debug                 Watched Device updated: L0_LR_OCP
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, onSensorsOnOff = on, onSensorsOnOff = on, sensors: [168366766, 935853968, 1445441965]
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, occupied = False, previous = True, delay = 60.0
   Occupatum Debug                 L0_LR_OCPTM: checkSensors, starting delay timer <_Timer(Thread-1847, initial)> with delay = 60.0

L0_LR_OCP turns off, 60 sec delay timer started.

   Occupatum Debug                 L0_LR_OCPTM: delayTimerComplete, occupied = False

Delay timer completes, L0_LR_OCPTM turns off.

I'm not seeing the L0_LR_OCPTM device turning on again. The only reference to a timer cancellation I see is:

   Occupatum Debug                 L0_LR_OCPTM: No Timer Active

Where something tried to cancel a timer, but there wasn't one active.

FlyingDiver commented 3 years ago

I attempted to recreate your scenario based on the original description, and couldn't do it. If you can list the exact sequence of events, with delays between them, I can try again.

cronutan commented 3 years ago

I go in to the room, and both (fairly close together) motion sensors trigger The lights comes on I wait 5 seconds and press the off button on the light This triggers a reset of the occupatum device and the light goes off As soon as z-wave motion reports off the light comes on After the other one reports off, and after a timeout the light goes off again.

I'll go over all my triggers to see if there isn't anything else interfering

cronutan commented 3 years ago

What is important is the manual light off which resets ocupatum timers:

Z-Wave received "L0_LR_OCP_Z" status update is off

If I don't turn off the light ocupatum works properly, its only when I turn off the light and reset the ocupatum timer that this happens.

FlyingDiver commented 3 years ago

Oh, now I think I see what you mean. It's got nothing to do with timers. There is no active timer at that point, because the plugin doesn't have a pending transition to off. You can see that here:

   Received INSTEON                "L0_LR_LT" off
   Trigger                         L0_LR_LT_OFF
   Trigger                         L0_LR_VOCP_OFF_VAR
   Occupatum Debug                 L0_LR_OCPTM: No Timer Active

You turn off the light with the Insteon keypad, and one of your triggers attempts to cancel a non-existent timer.

So you're turning off the light, but both sensors are still active. One of them turns off, which triggers a re-evaluation of the zone state. Which is turned back on because the other is still on.

FlyingDiver commented 3 years ago

You could change the zone definition to "All" sensors instead of "Any", but that might not work depending on why you have multiple sensors in the first place.

cronutan commented 3 years ago

That sounds about right. So when I cancel the timer, there isn't one yet. So how do I deal with manual ight off? I don't want occupatum waiting the timeout period before triggereing again. I set my motion sensors to as low as possibly, 30s for the z-waves.

cronutan commented 3 years ago

I have multiple sensors, so they catch you from several locations. In this case if you are in the room, in some places for longer, the light would go off.

FlyingDiver commented 3 years ago

So that begs the question - the zone is activated due to the motion sensors. You turn off the light. Now you really want that zone to not do anything until when? Both sensors go off and then it should be active again? You could disable the zone in the trigger, then re-enable it on a delay.

cronutan commented 3 years ago

Untill both (all) sensors turn off. Which in my case will be about 30s.

cronutan commented 3 years ago

What I don't want is wait for the timeout. Since I set the motion sensors to as short as possible, but my timeout fairly long at 10min. I don't want to go back to the room in 4 min and nothing happens.

FlyingDiver commented 3 years ago

Where's the 10 min timeout defined? Is that in the devices, or somewhere else.

Try this for now. In your action group where you were cancelling the timer, instead disable the device for 30 seconds:

Screen Shot 2021-03-22 at 3 52 13 PM
FlyingDiver commented 3 years ago

That's under "Server Actions".

cronutan commented 3 years ago

10 minutes is an example. It is in the delay off by seconds in the ocupatum. In this case I only have a minute, but in other like my workshop I need a lot more.

cronutan commented 3 years ago

Ok. I see where you are going with this. This might work. Let me give this a try.

FlyingDiver commented 3 years ago

I'm thinking about how I can do a code change so it won't be necessary to disable the device. I need to make sure it doesn't break anything else.

cronutan commented 3 years ago

It works, with disabling, but is a bit clunky. In my case I also need to delay the disabling by a second or it fails to turn on the lights. If you could figure out how to change the plugin, that would be super.

FlyingDiver commented 3 years ago

One other thing you can try while I'm looking into the logic changes.

Right now, you're using the "Zone Occupied" and "Zone Unoccupied" triggers, right? Try using the zone device onOff state

becomes "on" or "off" instead. Because those will only trigger if the zone actually changes state, unlike the other two which can possibly fire even if the state doesn't actually change.

Screen Shot 2021-03-22 at 5 58 53 PM
FlyingDiver commented 3 years ago

And that's without the disable device in the actions...

cronutan commented 3 years ago

Yes, I'm using zone occupied and zone unoccupied.

FlyingDiver commented 3 years ago

So try using the device state triggers.

cronutan commented 3 years ago

Yes, it works. I still do a reset timer of ocupatum device but delay it for 30s.

FlyingDiver commented 3 years ago

What happens if you don't do the reset?

cronutan commented 3 years ago

I'll try now.

cronutan commented 3 years ago

Then the light doesn't come on again if I trigger the motion sensors after 30s. Which is exactly what I need.

FlyingDiver commented 3 years ago

Maybe I'm not understanding what you mean by a reset timer.

cronutan commented 3 years ago

Since I want the light to come on after I manually turn it off, I need to reset ocupatum and change it to off so when the sensors trigger again the occupatum device becomes on, which in turn will turn on the light.

cronutan commented 3 years ago

Sorry wrong screen shot. This is the correct one. Screen Shot 2021-03-22 at 10 58 08 PM

FlyingDiver commented 3 years ago

It's going to set the zone device to off as soon as both sensors report off. Which should happen about the same time, won't it? And the only timer is the delay to turn it off. SO basically you're just shorting your 1 minute off delay?

cronutan commented 3 years ago

Yes. In this case it is only 1 minute, but I need more than one minute delay. I just set it to 60s because of the issue. And in other places I'll want it longer. If I could, I would set my motion sensors to 5s and off delay to 5 min or so.

cronutan commented 3 years ago

What is happening is that my wife always turns off the light manually but she walks in and out often. So if she is back before the light would normally go out, it doesn't come on and she has to turn it on manually (and complains about it). What I want is if I turn off the light manually and then come back in after 30s the lights come back on. I will also get rid of the insteon motion sensor and install a second z-wave so I can have only 15 second delay. The insteon one can go down only to 30s.

FlyingDiver commented 3 years ago

I'm going to fix the zone triggers by only firing them when the state actually changes, which makes them functionally identical to the default Indigo device state change triggers. Using either of those solutions resolves this issue, as best I can tell.

cronutan commented 3 years ago

Great. Let me know when you have a new version and I'll test it.

FlyingDiver commented 3 years ago

Try https://github.com/FlyingDiver/Indigo-Occupatum/releases/tag/0.0.4

cronutan commented 3 years ago

Installing it now.

cronutan commented 3 years ago

Its still not fully working. With the cancel timer for zone triggered imediatelly when turning off the light, the light will turn on after the first motion sensor turns off. If I delay the cancel timer for zone to after the first motion turns off then it works. I'm triggering the light on occupatum's device state on/off.

cronutan commented 3 years ago

It works if I delay the cancel till after both motions turn off. Otherwise it occupatum becomes on when one of them turns off but the other is still on. So what happens with the dalayed cancel is that ocupatum continues to be occupied untill the second motion is off and then I can cancel timer which also will make occupatum device off.

Thinking about it the way you have it done makes sense since there is still one motion active the assumption is it is occupied until all are off.

One thing I can do is to force the insteon motion off right away, I'm not sure if the z-wave can be done the same way. That way I don't have to wait the 30s, I can bring it down to 15. 15s is actually reasonable as it gives the person time to leave the room before the sensors pick them up again. The only problem is that the insteon will not pickup any motion for 30s anyway. I might just get rid of my last insteon sensors.

cronutan commented 3 years ago

I need to run out for a bit so will not be able to respond.