Goal: when someone is playing prevent some light turning on and adjust other light level, so people can see to walk through the room but the person playing does not get glare on the screen and no light on the side do not distract
Currently i have the hubitat ping set up to ping the xbox this works great.
I have a rule machine to use the above and set a XBOX "switch" to on
Not i cannot figure out what to do to make the lights do what I want. light are currently in the "motion and mode lighting apps"
Do i need to move these "Room lighting" ?
Do i need to make PITA scenes ? (i get the capture part but why in the hell can i not add things manually or adjust the values ? )
Or is this just rule machine with a bunch of code?
I'm pretty sure there was also an option in motion and mode lighting to disable the motion-based lighting when a switch was turned on.... Are you able to see something like that? You could use the virtual switch for the XBox in this case.
Yes I can disable with the switch - i was sorta hoping for do the lights like this - unless this switch is on then only do this (different levels and such)
I'm not sure if you can configure different outcomes with the lights based on the switch being on, at least not in a way that I can think of within the same instance of motion lighting.
The different options are so that you can use the state of a device (the switch) to limit the activation, or you can use an event to turn off (disable) the possibility of activation without the need for managing a device like a virtual switch. The second option can be useful when you want to disable activation when a button is pressed.
I'm sure there are a bunch of ways to do this, but off the top of my head, I guess I'd start with this... If you want lighting settings that are unique to the XBox switch being on vs off, then I think you'll need 2 Room Lighting (RL) instances that cover those.
Then you could make a Rule Machine rule that pauses the one RL (and activate the other) when XBox is On and then flip the pause/activate RL when XBox is Off.
I don't use room lighting at all.
I use several apps ( Rule, Motion, Simple, Basic), depending on complication and abilities.
SImple restrictions to when the rule activates or parameters can be setup, independent of "Rooms". I do not know what, if any, Rooms may have. I don't use that at all.
I agree with hydro311 there are several way to approach this.
If you want the lights to come on with motion and the xbox is off, I'd probably use simple lighting (above).
If you want the lights to come on but at different levels or something depending on if the xbox is on or off, I'd use rule machine If\then cascade.
If you prefer "Motion lighting", you can set a restriction where the rule only runs IF the xbox is off.
Rereading your goal...
I'd suggest Rule machine. Motion triggering the rule, conditional statement
IF xbox on, then turn on\set these lights,
Else if xbox off, turn on\set these lights ...
end if.
You could add several narrowing conditions if you have some complicated expectations.
ie time of day, day of week, depending on other devices on or off, whether or not someone is home or away... the possibilities are near endless.
Suggest remembering the KISS principle. (Keep it simple stupid) to minimize complications. BUT, you can be as specific and situational as you want (nearly).
I may pull it into rule matching because i never seem to have luck on the built in stuff - it eather works great or it works sometimes and annoyes the family lol
I current made a 2x room lighting and will test it out I just made the switch opposite - this was easy using the clone tool) if there's a better way i can adapt later
I tend to stick with things i know and like - the thing that gets my results faster - I use motion lighting a lot however I feel like Room lighting is better even on basic stuff and the "force" options really help thing be reliable for working. so I have been moving my rules over there.