Noob: Motion Sensor & Switch control

Brand new to Hubitat (measured in hours)

Getting devices added into the system went quite well, very pleased.

Going to take a bit to get my head wrapped around the logic of how all this works.

I have a ST ZigBee motion sensor and a Homeseer WD100+ switch (and the 3way accessory switch)

I want the motion sensor to turn the light on when motion is detected.... Simple Lighting took care of that.

And I tried a Simple Lighting for "Turn Off Laundry Room Light Switch when Laundry Room Motion Sensor inactive" to negate someone using the switch to turn the light on, and then leaving the room.

Apparently I'm going about this wrong. How should I be programming this?

You don't need two rules for this...

And what happens if the switch is used to turn the light on, but no motion is ever detected?

Shouldn't ever happen if you put your motion sensor in the correct location...

Alright we'll give that a go. Thanks for your speedy help.

Can you tell me why that simple app wouldn't work? An explanation would help me get my head wrapped around the logic for this.

No reason it wouldn't work, it just doesn't make sense to do it that way

but it didn't. #somuchtolearn

Does your motion sensor work correctly?

Yes, it's working just fine.

But if it try the: Light gets turned on, but no motion detected, turn off switch; nothing happens. I guess that's either a conflict with the first simple rule, or, I'm trying to execute a command after the inactive motion report is given by the sensor.

No motion detected is an event, the rule you have only fires when motion changes to inactive.
If you're trying to turn the light off if someone turns it on, you will need to build a rule in rm

1 Like