RM5.1 Set Temperature Per Mode: Not Setting Level

Capture

Hello!
I have my rule setup as pictured. I have noticed that when I set Temperature per mode, that the level command is not being sent to the lights. It works fine via Basic rules as a "set temperature" or if I go to the device setting page and manually send a temperature/level command. I am getting a similar result to rule machine via Button Controller.

It will send the Temperature command, but the level stays the same as last set.

What driver are you using for the devices in question, and what brand/model of devices are they?


Using the Sengled Element Plus Driver.

I think you've discovered a RM bug (but I was wondering about your specific device/driver since the setColorTemperature() command specification recently changed and perhaps there was a driver issue).

This Rule Machine action:

ultimately sends this command to my device (my driver is one I wrote that I know logs the commands--and parameters--sent to it if debug logging is enabled):

However, it should send something like setColorTemperature(2250, 66, null), so I think Rule 5.1 is just ignoring the level on the "Color temperature per mode" action. Tagging @bravenel for awareness.

Yeah, there are typos in this code as to both level and fade value. It will be fixed in 2.3.1.

3 Likes

Thank you very much bertabcd1234 and bravenel. Good to see the level of support on this forum. Happy New Year!