The second is supposed to set Wesley's light on controller boolean to false or true depending on it's true or false action.
However, even if Wesley's light controller boolean is false, the bedroom light still turns on with motion.
Am I doing something wrong?
Unfortunately I don't have logs anymore because my son's light kept turning on which was keeping him awake. I had to choose between trouble shooting and a cranky wife.
I see what you're doing, but if the private boolean is false, doesn't that prevent the rule from running. If so, the rule wouldn't run at all if it was set to false.
NP. However, this still poses the same limitation. If the booleans work the way I expect them to, then if Rule #1 is false, it should not even be able to run to process the rule so it won't be able to determine if it's own state is true or false. Am I looking at this the wrong way?
Truth. Warm light in the evening increases the production of melatonin in our bodies and promotes healthy circadian rhythms. Blue light from the LED backlights of our computers, laptops and LCD/LED TVs is a major contributing factor to poor sleep pattern and over use of sleep medications.
@Keo Try f.lux on your computer, smart phones and tablets or utilize the built-in Night Shift feature if you are iOS users. I was personally shocked at how quickly it helped reduce my tendency to stay up too late. My close friend is a doctor whom suffers from severe insomnia and has researched this subject extensively. She was using a physical amber filter over her laptop screen years before any of these apps or features were available. I used to laugh at it, until I tried it myself and was shocked by how often I began falling asleep at my computer much earlier in the evening as the software slowly adjusted the light from blue to amber as the evening progressed. It's so gradual you really don't notice it changing, and now if I manually disable f.lux on my screen late at night, I can't stand to look at the intensely blue screen.
Hey guys. Thanks for the information. Any ideas on how to fix my issue?
I'll give this a shot, but I have other rules that I set boolean true or false and I don't check for the boolean state in the conditions. When they show off, they don't trigger.
I understand that setting the switch to ON in the restrictions area is only to enable the feature. The rule isn't disabled until it says false next to it.
OK. Don't fully understand the reasoning for separating this into two rules and they appear to conflict. If you have your private boolean disabling your trigged rule, then outside of the hours of 8PM and 7AM CDT, that triggered rule won't do anything, so the dimmers per mode in the evening won't do anything. Why have it? Also these are triggered rules, so I don't see what is turning the light OFF as it doesn't appear to be defined in your rule.
Maybe this is what you want, buy you said your son's light is keeping him up at night, so it doesn't sound light that's what you want. Better if you can describe exactly what you're trying to do and then we can better help. I'm not able to understand your intent from these rules.
Have you taken a look at the Motion Lighting Apps? You can turn on lights to color by mode and you can then just disable them by restriction during the hours you don't want it on.