I’ve had a play around and I’ve got most things working but device->setColor just doesn’t want to work. I’ve tried many options e.g. using a value #00ff00 and even assigning the last colour value to a variable, echoing it to the console (displays the correct hex value) then writing it back to the device using setColor
I am using my own device and device handler, but it does use the standard SmartThings color commands.
The other problem I have is I can’t debug exactly what is being sent to the device (via HTTP) as when commands are fired from a piston they don’t appear in the event log. If I fire the events from a routine, they do.
Any ideas why color isn’t working, or why my device handler doesn’t output any debug info when fired from a piston?