I guess I’m having difficulty with my “Logic” and NOT OR isn’t the way to go, Truth Tables always help.
Since the logic works it is the case that if Vera is in Home Mode AND the TV gets turned off AND it is between dusk and dawn; or if Vera is in Home Mode AND the TV is off AND it becomes between dusk and dawn, then the lights will turn on.
How to work around this, IE have it ONLY triggered on the CHANGE in state of House Mode from any to HOME? Can Expressions be used here?
====================================================================================================================================
Welcome Home (#574)
Version 19082.84 06/26/19 07:50:37
Message/status: Not tripped
Test time set: 2019-06-25 21:58
Condition group "Mode to Home, @Night TV OFF" (AND) false as of 21:58:00 <root>
&-F-housemode in ,1 [1 => 2 at 21:58:00; F/F as of 21:58:00/21:58:00] <condesewo4s>
&-F-sun bet civdusk+0,civdawn+0 [1561525080 at 21:58:00; T/F as of 21:58:00/21:58:00] <condetd8e76>
&-F-service Harmony Control (351) urn:rboer-com:serviceId:Harmony1/StartingActivityID = -1 after condesewo4s [32003180 => -1 at 21:58:00; T/F as of 21:58:00/21:58:00] <condetd8z3x>
Activity grpetdaz2k.true
Device 199 (Fam Room Light & Fan) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
Device 26 (Tripod Dimmer) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
Activity root.true
Device 199 (Fam Room Light & Fan) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
Device 26 (Tripod Dimmer) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="50" )
Events
06/26/19 07:09:23 evalchange: newState=false, cond=condetd8e76, oldState=true
06/26/19 07:09:23 evalchange: newState=false, cond=condetd8z3x, oldState=true
06/26/19 07:09:42 devicewatch: name=Reactor Plugin, var=HouseMode, device=558
06/26/19 07:09:43 condchange: newState=true, cond=condesewo4s, oldState=false
06/26/19 07:09:43 evalchange: newState=true, cond=condesewo4s, oldState=false
06/26/19 07:09:43 evalchange: newState=true, cond=condetd8e76, oldState=false
06/26/19 07:09:43 evalchange: newState=true, cond=condetd8z3x, oldState=false
06/26/19 07:11:12 configchange:
06/26/19 07:11:13 condchange: newState=true, cond=root, oldState=false
06/26/19 07:11:13 evalchange: newState=true, cond=root, oldState=false
06/26/19 07:11:13 devicewatch: device=574, old="0", name=Welcome Home, var=urn:toggledbits-com:serviceId:ReactorGroup/GroupStatus_root, new="1"
06/26/19 07:11:13 sensorstate: state=true
06/26/19 07:11:13 startscene: scene=root.true, sceneName=root.true
06/26/19 07:11:13 runscene: scene=root.true, sceneName=root.true, group=1, notice=Starting scene group 1
06/26/19 07:11:13 endscene: scene=root.true, sceneName=root.true
06/26/19 07:11:49 devicewatch: name=Reactor Plugin, var=HouseMode, device=558
06/26/19 07:11:50 condchange: newState=false, cond=condesewo4s, oldState=true
06/26/19 07:11:50 evalchange: newState=false, cond=condesewo4s, oldState=true
06/26/19 07:11:50 evalchange: newState=false, cond=condetd8e76, oldState=true
06/26/19 07:11:50 evalchange: newState=false, cond=condetd8z3x, oldState=true
06/26/19 07:11:50 condchange: newState=false, cond=root, oldState=true
06/26/19 07:11:50 evalchange: newState=false, cond=root, oldState=true
06/26/19 07:11:50 devicewatch: device=574, old="1", name=Welcome Home, var=urn:toggledbits-com:serviceId:ReactorGroup/GroupStatus_root, new="0"
06/26/19 07:11:50 sensorstate: state=false
06/26/19 07:12:18 devicewatch: device=351, old="-1", name=Harmony Control, var=urn:rboer-com:serviceId:Harmony1/StartingActivityID, new="32003180"
06/26/19 07:12:19 condchange: newState=false, cond=condetd8z3x, oldState=true
06/26/19 07:12:36 devicewatch: name=Reactor Plugin, var=HouseMode, device=558
06/26/19 07:12:37 condchange: newState=true, cond=condesewo4s, oldState=false
06/26/19 07:12:37 evalchange: newState=true, cond=condesewo4s, oldState=false
06/26/19 07:12:37 evalchange: newState=true, cond=condetd8e76, oldState=false
06/26/19 07:13:07 devicewatch: device=351, old="32003180", name=Harmony Control, var=urn:rboer-com:serviceId:Harmony1/StartingActivityID, new="-1"
06/26/19 07:13:08 condchange: newState=true, cond=condetd8z3x, oldState=false
06/26/19 07:13:08 evalchange: newState=true, cond=condetd8z3x, oldState=false
06/26/19 07:13:08 condchange: newState=true, cond=root, oldState=false
06/26/19 07:13:08 evalchange: newState=true, cond=root, oldState=false
06/26/19 07:13:08 devicewatch: device=574, old="0", name=Welcome Home, var=urn:toggledbits-com:serviceId:ReactorGroup/GroupStatus_root, new="1"
06/26/19 07:13:08 sensorstate: state=true
06/26/19 07:13:08 startscene: scene=root.true, sceneName=root.true
06/26/19 07:13:08 runscene: scene=root.true, sceneName=root.true, group=1, notice=Starting scene group 1
06/26/19 07:13:08 endscene: scene=root.true, sceneName=root.true
06/26/19 07:13:54 devicewatch: name=Reactor Plugin, var=HouseMode, device=558
06/26/19 07:13:55 condchange: newState=false, cond=condesewo4s, oldState=true
06/26/19 07:13:55 evalchange: newState=false, cond=condesewo4s, oldState=true
06/26/19 07:13:55 evalchange: newState=false, cond=condetd8e76, oldState=true
06/26/19 07:13:55 evalchange: newState=false, cond=condetd8z3x, oldState=true
06/26/19 07:13:55 condchange: newState=false, cond=root, oldState=true
06/26/19 07:13:55 evalchange: newState=false, cond=root, oldState=true
06/26/19 07:13:55 devicewatch: device=574, old="1", name=Welcome Home, var=urn:toggledbits-com:serviceId:ReactorGroup/GroupStatus_root, new="0"
06/26/19 07:13:55 sensorstate: state=false
06/26/19 07:50:37 configchange:
```