I put my settings back how I had it with the time trigger, but I wanted to wait until I was within the -30 sunset to make sure the issue was still happening before I sent my settings. When I went to test it, the lights turned on this time.
On a side note, I did notice something else regarding the other issue I mentioned (rule triggering even though state of room didn’t change). In this case, that means the lights changing from a cool white color (since the tv is on) to a soft White (based on the motion rule). Today I noticed it seemed to happen when my hub changed from Home (Day) mode to Home (Night) mode. This is scheduled to happen 30 min before sunset. There is nothing in that rooms settings that should cause it to happen (as far as I know) but it appears to be doing so anyway. Attached are the logs from when the room decided to change the light color as well as my settings for the room.
i use time of day all over the place in my own rooms so typically if that breaks its something i notice immediately. but its always possible there is a combo that doesnt quite work right under certain conditions, the issue below is a good example of it. if you run in to the above issue again please dont hesitate to ping me.
think the rules evaluation and execution was triggered by the mode change. i need to add an only on state change check in the mode event handler.
edit: and done. hopefully will be able to put out the release friday. thank you for reporting the issue.
Woke up this morning and am having the same issues as before where the lights aren’t turning on even though it’s well before sunrise. Below are my settings.
Not exactly... I made some changes yesterday that required me to delete the room and start again. I had two motion sensors in my living room, but decided to move one to another part of the house. Even though I removed it from the list of the room's sensors in Room Manager, motion in the new location was still causing the living room lights to turn on. The only way I could get that to stop as to delete the room and start over. This was late last night, and it wasn't until I woke up this morning that I realized the lights weren't turning on in the living room now.
can you please try adding the motion sensor back without removing the other one then click done all the way thru to save. then click the i next to the app for that room and check the subscriptions section for which motion sensors are subscribed to.
then remove just the newly added motion sensor then click done all the way thru to save. click the i next to the app and check the subscriptions section for which motion sensors are subscribed to.
also tried the rule with sunset to sunrise … seems to work fine. i tried with sunset - 600 to sunrise + 30.
when checking next time leave live logging on and see if you find similar lines in the logs for the room you are checking. what these lines show is … that on motion … rules were processed … the right rule was found … lights were turned on and off as in the rule.
[app:472] 2018-08-10 11:47:38.662:info test Room: turnSwitchesOnAndOff
[app:472] 2018-08-10 11:47:38.660:debug test Room: processRules: rules to execute: [1]
[app:472] 2018-08-10 11:47:38.659:debug test Room: ruleNo: 1 | fromTime: null | fTime: Fri Aug 10 10:06:00 PDT 2018 | toTime: null | tTime: Sat Aug 11 06:49:00 PDT 2018 | nowDate: Fri Aug 10 11:47:39 PDT 2018 | timeOfDayIsBetween: true
[app:472] 2018-08-10 11:47:38.654:debug test Room: ruleNo: 1 | fromTime: null | fTime: Fri Aug 10 10:06:00 PDT 2018 | toTime: null | tTime: Sat Aug 11 06:49:00 PDT 2018 | nowDate: Fri Aug 10 11:47:39 PDT 2018 | timeOfDayIsBetween: true
[app:472] 2018-08-10 11:47:38.595:info test Room: processRules
Although I do not have any logs to verify my event, I've also had two nights in a row, where a child room was executing outside the restriction. The restriction included sunrise. I will leave the logs running tonight and try to capture something. It's a specific room. After I get you some logs, I'm going to nuke it and set it up again.
tip of the day: want to turn on and off switches on a certain day of the year?
setup a room … then add a rule with the following settings:
name of the rule
from date and to date (make sure hide advanced settings is false on the main settings page)
switches to turn on and off
when the rules date condition is met, switches specified in the rule will be turned on and off respectively.
i use a seasons room setup like this to turn on and off season switches spring, summer, fall and winter. you can then do a bunch of stuff that is season dependent.
Having some problems with the night lights. The timers seem really unreliable (switch off after a really short time). Also the night button doesn't trigger the action but i know the button itself is working. I will look at it probably this weekend.