We have moved at community.getvera.com

Author Topic: Please helt with off timer/motion. Status attached!  (Read 216 times)

Offline jonas1

  • Sr. Newbie
  • *
  • Posts: 23
  • Karma: +1/-0
Please helt with off timer/motion. Status attached!
« on: January 27, 2019, 03:41:03 am »
Trying to get my bathroomlight to turn off 5 min after last motion (and re start the timer if started and new motion). I realy think this is the way but it doesent seem to work? I have a motionsensor powered over USB with 1 min sending rate.

Please help me.

Regards Jonas

Offline jonas1

  • Sr. Newbie
  • *
  • Posts: 23
  • Karma: +1/-0
Re: Please helt with off timer/motion. Status attached!
« Reply #1 on: January 27, 2019, 01:02:34 pm »
For some reason i have gotten it to work all of a sudden ... Dont ask me how .. ?

But then i have another problem, that is sometimes i turn the light on, before the motion sensor registers my movement - and then turn the light off the same second i turn it on. Guess i would need some kind of delay before the timer condition shoots? Any inputs or is this forum completely abandoned?

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1464
  • Karma: +41/-36
Re: Please helt with off timer/motion. Status attached!
« Reply #2 on: January 28, 2019, 08:11:39 pm »
You can add an additional check to see if the light is turned on manually, perhaps as a trigger, that starts the timer.
Vera 3, 1.7.1040, CT101, Everspring Motion, GE/Jasco Switch/Dimmer, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, LB60Z-1 bulb, Hue, Alexa, Zooz 4-1

Offline jonas1

  • Sr. Newbie
  • *
  • Posts: 23
  • Karma: +1/-0
Re: Please helt with off timer/motion. Status attached!
« Reply #3 on: January 29, 2019, 06:51:58 am »
You can add an additional check to see if the light is turned on manually, perhaps as a trigger, that starts the timer.

This is my contidion:

!t1Motion and (!t1Motion; Now > 5:00)


I have now made a trigger, t1LightOn (When light is on)

Where do i attach that in my condition?

t1LightOn AND !t1Motion and (!t1Motion; Now > 5:00)
t1LightOn AND !t1Motion and (tLightOn AND !t1Motion; Now > 5:00)

Or how do i do that?

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1464
  • Karma: +41/-36
Re: Please helt with off timer/motion. Status attached!
« Reply #4 on: January 29, 2019, 08:28:14 pm »
I think an OR is needed in there.
Vera 3, 1.7.1040, CT101, Everspring Motion, GE/Jasco Switch/Dimmer, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, LB60Z-1 bulb, Hue, Alexa, Zooz 4-1

Offline jonas1

  • Sr. Newbie
  • *
  • Posts: 23
  • Karma: +1/-0
Re: Please helt with off timer/motion. Status attached!
« Reply #5 on: January 30, 2019, 04:24:22 am »
Where do i type that? Could you please show me?

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1464
  • Karma: +41/-36
Re: Please helt with off timer/motion. Status attached!
« Reply #6 on: January 31, 2019, 07:59:00 pm »
Perhaps this?
t1LightOn OR (!t1Motion and (!t1Motion; Now > 5:00))
t1LightOn OR (!t1Motion and (tLightOn AND !t1Motion; Now > 5:00))
Vera 3, 1.7.1040, CT101, Everspring Motion, GE/Jasco Switch/Dimmer, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, LB60Z-1 bulb, Hue, Alexa, Zooz 4-1