Motion lights always go to 50% not 100%


#1

This is whats happening with my piston atm, it changes the color of the lights to blue but they are at 50% brightness

What i want to happens is when I walk in the room i want both lights to turn on, turn blue and be 100% brightness. after motion is inactive turn the lights off after three mins.

My problem is both lights will pick the color blue and the brightness goes down to 50%

Logs
9/12/2017, 11:35:08 PM +475ms
+2ms ╔Received event [Motion Sensor Bathroom].motion = active with a delay of 614ms
+284ms ║RunTime Analysis CS > 36ms > PS > 44ms > PE > 205ms > CE
+316ms ║Runtime (38217 bytes) successfully initialized in 44ms (v0.2.0e7.20170906) (313ms)
+318ms ║╔Execution stage started
+342ms ║║Comparison (time) 84908804 is_between (time) 21600000 … (time) 86100000 = true (9ms)
+343ms ║║Time restriction check passed
+346ms ║║Condition #6 evaluated true (17ms)
+355ms ║║Comparison (enum) active is (string) active = true (3ms)
+357ms ║║Cancelling condition #15’s schedules…
+359ms ║║Condition #15 evaluated true (12ms)
+378ms ║║Comparison (enum) off is (string) off = true (2ms)
+380ms ║║Condition #16 evaluated true (21ms)
+382ms ║║Cancelling condition #1’s schedules…
+383ms ║║Condition group #1 evaluated true (state changed) (54ms)
+387ms ║║Cancelling statement #3’s schedules…
+581ms ║║Executed physical command [Bathroom Left].on() (190ms)
+582ms ║║Executed [Bathroom Left].on (192ms)
+661ms ║║Executed physical command [Bathroom right].on() (78ms)
+662ms ║║Executed [Bathroom right].on (80ms)
+708ms ║║Executed physical command [Bathroom Left].setColor([[hex: #0000FF, hue:67, saturation:100, level:50]]) (41ms)
+709ms ║║Executed [Bathroom Left].setColor (43ms)
+774ms ║║Executed physical command [Bathroom right].setColor([[hex: #0000FF, hue:67, saturation:100, level:50]]) (62ms)
+775ms ║║Executed [Bathroom right].setColor (64ms)
+779ms ║╚Execution stage complete. (462ms)
+793ms ╚Event processed successfully (793ms)


#2

You can copy and paste logs. You can also copy and paste images into the message box


#3

Can’t you set the level as well once you turn it on, set the color, then set the level? Below is an example. I don’t have any RGB lights to add completely though.


#4

i tested that and the lights will go 50% to 100% but it always kinda weird. its not very seemless, its like it almost blinks.


#5

What is your device and what device handler are you using? You can check that at https://graph.api.smartthings.com/

I am far from a guru but I can think of two possible root for your issue:

The least likely: WebCoRe somehow defaults level to 50% for the command set color. It’s very unlikely because you wouldn’t be the first to report it.

The most likely: the device handler you’re using is programmed in a way that the setcolor command also setlevel to 50.

Of course, you want to take my answer with a grain of salt as I’m not expert.

Posting more info about your device and device handler will most likely be useful.


#6

I’m not sure what your asking, I clicked on the link but not sure where to get the info you need. The devices I use are 2 Philips hue bulbs and Samsung motion sensor. The device handler says none


#7

My Phillips hue does exactly the same. Change color via webcore and it reverts back to 50% that’s how it’s always been so I’ve sorta got used to it.
I just add a 3 second wait and then set the level to 100%


#8

Pretty positive this is because the set color defines a brightness based on the exact color you are picking.


#9

This is what I do to my hue bulbs so it stays at 100.

2017-09-13_082811


#10

Can you post the whole piston? I’m pretty new with all this stuff and having trouble with variables and expressions. It’s easier for me to see it all :stuck_out_tongue:


#11

Something like this… this example doesn’t have a turn off task.


Fibaro RGBW and Philips HUE Master Color Piston
#12

Thanks for all the help! Everything is working great now