- created a new device as simulated RGBW device
- if i change the color in the app everythings works fine
- if i change the color second time the app crashes
- now, it is´nt possible any more to set the color
did someone have the same problem?
did someone have the same problem?
Sounds similar to this issue for which I have not found the solution yet. I see color wheels working fine in other handlers though. I just have not been able to determine if there’s a bug in the platform or the handler.
I probably should link to the whole thread for context. The issue I am having is with a different handler. Just sounds similar/related.
i also use IOS.
i want to control with the Master RGBW device different devices.
so i created the simulated RGBW divice called "Master RGBW"
I want in my house, the same color everywhere.
The Logic is implemented in WebCore.
I also use 2 Fibaro RGB Switches with the same Device Handler.
Ah okay, so we are talking about the same problem. I’m sorry I don’t have the answer. I was hoping the author of the handler in the other thread would chime in at some point.
I can confirm the simulated RGB device is causing crashes… and if @zcapr17 Fibaro handler is doing the same I’d hazard a guess it’s a bug with the use of the color control tile within a multi-attribute tile.
RGB DTH’s that place the color control tile on it’s own seem to work just fine (I.e. a color wheel on the main device page, not the color square that pops up as a new window).
It would be easy enough to tweak @zcapr17’s code to have the wheel not the square.
And for simulated use… just use this DTH from @twack… not intended for simulated use but it serves the same purpose.
Okay thanks Robin. I was thinking this was an ST issue and I was leaning towards modifying the handler as you described but I was looking for some more input before I did anything… Once I get some time, likely tomorrow I’ll post an update here and in the other big thread.
I have made a version that moves the color wheel off the multi-tile and gets to a working color selector.
I made some other minor changes while I was at it. If anyone uses this on Android you might get some display issues due to inconsistencies between iOS and Android. Also, it seems rendering of the color wheel on an iPad is a mess.
Next issue is it’s too large to post here. I have not published on GitHub before so once I figure that out I’ll update this post.
The second of the two official ones listed adds the presets colors/programs.
Updated version that fixes the color selector issue can be found here. If anyone uses this with Android and find issues please let me know.
Perhaps submit this as a pull request to @zcapr17’s GitHub so he can merge… rather than creating a new handler?
That’s if he’s still around lol… he hasn’t been on the forum for ages but maybe still active on GitHub.
Is this a reply to my post? Assuming yes, I will take a look but right now there seems to be some general issues in the IDE so I can’t access the code.
Just FYI, I am not seeing this error myself. You said in the original post you use this handler with Fibaros. Are you getting the error with those or with the simulated device you mentioned?
EDIT: I did some testing. It appears you are trying to use the handler above for the Simulated RGBW Bulb device. That’s not going to work I’m afraid. The custom handler is for the Fibaro device.
thanks. yes, i tested it as simulated rgbw bulb. what a pity, that it only works with a normal device, because the interface is very nice.
it´s possible to update the handler, to work also as an simulated switch?
is it a lot of work to find the error and update the code?
because i use the normal simulated device from smartthings as a RGB Master device.
with the RGB Master device, i set all hue bulbs the same color.
with the standard simulated device from ST, it isn´t possible to set the k level for the white color