Rooms Manager: Smarter Rooms: Personalized home automation with Occupancy

yeah thats one of the things i meant when i said this :smile:

any update on the twinkle?

Which bulbs go to 1900K?

charging a $1 for the answer.

EDIT: just kidding. :slight_smile:

samsung lightify color bulbs go to 1900K. sengled color plus go to 2000K.

Geeze, and here I am in the blinding white light of Hue's 2200K.

300K at night is huge. its the difference between glaring and soothing.

and if you wait a few more days … you can get this one:

supports 1700K. thats a cool 500K less at night from hues.

1 Like

I'd have to evaluate fade times, on/off functionality, color temp prestaging, etc.

Cool robotic lookin' bulb though...

1 Like

supports 1700K. thats a c̶o̶o̶l̶ warm 500K less at night from hues.

:sunglasses:

But really, if we can convince the team to develop LIFX Local Control integration, their Day/Dusk bulbs go to 1500K. Currently they're just not worth using for everyday stuff with the cloud lag.

2 Likes

We want to do this integration. It's many months out however...

1 Like

wait … the yeelight one or the lifx one is many months out?

Local LIFX would be a gamechanger.

@bangali - I'm setting up a bathroom with motion sensor and I want it to use the AL color temp settings for all modes except Sleep Mode, when I want it to turn on at 1% and 2200K. Is this possible?

yep. heres an example of where i do something similar:

RULE SETTINGS:

Rules:
	1: State=[engaged, occupied] Type=Execution ON=[dW BR LI 1, dW BR LI 2, dW BR LI 3, dW BR LI 4] Level=AL
	2: State=[occupied] From=00:00 To=06:00 Type=Execution ON=[dW BR LI 1, dW BR LI 4] Level=1 OFF=[dW BR LI 2, dW BR LI 3]
	3: State=[engaged] From=00:00 To=06:00 Type=Execution ON=[dW BR LI 1, dW BR LI 2, dW BR LI 3, dW BR LI 4] Level=1
	4: State=[occupied] Type=Humidity Compare=1 Value=59.0 For minutes=10 Minimum=1 Maximum=10
	6: State=[engaged] Type=Humidity Dehumidifier=true Compare=1 For minutes=5 Minimum=10 Maximum=45

i use time you could use mode or time or any combination of those.

Lifx

ok. thinking of getting a couple of yeelights for a new fixture … so this is good.

thanks

For some reason my lights are only turning on to 20%, despite being told to turn on to AL.

This is for a bathroom. 2 motion sensors - one at door, and one in the shower.

ROOM OCCUPANCY DEVICE:

Room child device ・  ・  ・  ・  ・   Child device OK

ROOM SENSOR SETTINGS:

Motion sensors ・  ・  ・  ・  ・  ・   2
Trigger motion ・  ・  ・  ・  ・  ・   2
Which no motion ・  ・  ・  ・  ・  ・  Last Motion Inactive

OCCUPIED SETTINGS:

Motion timeout ・  ・  ・  ・  ・  ・   60 seconds

ENGAGED SETTINGS:

Busy check ・  ・  ・  ・  ・  ・  ・  ・ Light traffic
Require motion ・  ・  ・  ・  ・  ・   180 seconds

CHECKED SETTINGS:

Dim timer ・  ・  ・  ・  ・  ・  ・  ・  30 seconds
By level ・  ・  ・  ・  ・  ・  ・  ・   40%
To level ・  ・  ・  ・  ・  ・  ・  ・   70%

VACANT SETTINGS:

ASLEEP SETTINGS:

Asleep button type ・  ・  ・  ・  ・  pushableButton
Button number ・  ・  ・  ・  ・  ・  ・ 1
Only sets ・  ・  ・  ・  ・  ・  ・  ・  true

LOCKED SETTINGS:

AUTO LEVEL SETTINGS:

Min level ・  ・  ・  ・  ・  ・  ・  ・  60%
Max level ・  ・  ・  ・  ・  ・  ・  ・  75%
Wake time ・  ・  ・  ・  ・  ・  ・  ・  07:00
Sleep time ・  ・  ・  ・  ・  ・  ・  ・ 23:00
Auto color temp ・  ・  ・  ・  ・  ・  true
Min kelvin ・  ・  ・  ・  ・  ・  ・  ・ 2,200 kelvin
Max kelvin ・  ・  ・  ・  ・  ・  ・  ・ 6,500 kelvin

TEMPERATURE SETTINGS:

HOLIDAY LIGHT SETTINGS:

RULE SETTINGS:

Rules:
	1: Mode=[Sleep] State=[engaged, occupied] Type=Execution ON=1 Level=1 Kelvin=2200
	2: Mode=[Away, Day, Morning, Night] State=[engaged, occupied] Type=Execution ON=1 Level=AL

ADJACENT SETTINGS:

ANNOUNCEMENT SETTINGS:

GENERAL SETTINGS:

Away modes ・  ・  ・  ・  ・  ・  ・  ・ 1
All switches off ・  ・  ・  ・  ・  ・ true
  • is the bulb newly added?
  • where are you seeing the 20%?

Not newly added.

Further experimentation - it's not using the auto-level. It turns on to the previous level - in this case it was 20%, which was what the Checking dimmed it to before turning off.

i put in some new code for optimizing switches processing. wondering if that is causing issues. from state for the app could you please share the rules value. should look something like this:

{1={uniform=false, hasColor=0, hasLevel=1, hasColorTemperature=0, isRule=true}, 2={isRule=true}, 3={isRule=true}, 4={isRule=true}, 6={isRule=true}}

does this light support both color and color temperature?

They are hue CT bulbs (white ambiance). No color.

In the child app? Only thing I can find is:

def uniform = true
int hasLevel = 0, hasColor = 0, hasColorTemperature = 0
if (state.rules[(thisRule.ruleNo)].containsKey('uniform')) {
uniform = state.rules[(thisRule.ruleNo)].uniform
hasLevel = state.rules[(thisRule.ruleNo)].hasLevel
hasColor = state.rules[(thisRule.ruleNo)].hasColor
hasColorTemperature = state.rules[(thisRule.ruleNo)].hasColorTemperature
}
else {
for (def swt : thisRule.switchesOn) {
def itID = swt.getId()
if (thisRule.color)
if (state.switchesHasColor[itID]) {
if (hasColor == 0) hasColor = 1 else if (hasColor != 1) { uniform = false; break }
}
else {
if (hasColor == 0) hasColor = -1 else if (hasColor != -1) { uniform = false; break }
}
if (thisRule.colorTemperature || (thisRule.level == 'AL' && autoColorTemperature))
if (state.switchesHasColorTemperature[itID]) {
if (hasColorTemperature == 0) hasColorTemperature = 1 else if (hasColorTemperature != 1) { uniform = false; break }
}
else {
if (hasColorTemperature == 0) hasColorTemperature = -1 else if (hasColorTemperature != -1) { uniform = false; break }
}
if (thisRule.level)
if (state.switchesHasLevel[itID]) {
if (hasLevel == 0) hasLevel = 1 else if (hasLevel != 1) { uniform = false; break }
}
else {
if (hasLevel == 0) hasLevel = -1 else if (hasLevel != -1) { uniform = false; break }
}
}
state.rules[(thisRule.ruleNo)] << [uniform:uniform]
state.rules[(thisRule.ruleNo)] << [hasLevel:hasLevel]
state.rules[(thisRule.ruleNo)] << [hasColor:hasColor]
state.rules[(thisRule.ruleNo)] << [hasColorTemperature:hasColorTemperature]
}
if (uniform) {
def turnOn = true
if (hasColor == 1) {
thisRule.switchesOn.setColor(thisRule.hue); pauseIt()
turnOn = false
}