igorgladkov / rotini

Project Rotini (alpha)
44 stars 0 forks source link

Colorpicker widget option to send color data at each highlight move #27

Open anordvall opened 8 years ago

anordvall commented 8 years ago

Hi!

This is a low prio feature request, but it would be useful (and cool in demos :) if the color picker could be configured to send the new color code to the server at each move of the highlight in the palette, and not waiting for the user to let go of the screen.

fsedarkalex commented 8 years ago

If you do this I would request to add that as an option (as suggested) not fixeed as some bindings might have problems with too high amounts of updates and it might cause lag

d0t101101 commented 8 years ago

Totally agree here - quick interface updates are preferred (I would use it!) but it has the potential to bog down the targets - so make it configurable.

@anordvall - your described approach works well in the native OpenHAB Web UI with color widgets, but not so sure this would be as reliable or real-time on low power setups if many changes are made in quick succession...

fsedarkalex commented 8 years ago

Well I am using DMX binding and it lasts about 3 seconds to update all 15 used channels imagine it would have to do more than one update within that time.

Or imagine you are using rules to switch on/off a second light at specific brightness values of your rgb and you are using RFXCOM binding. the RfxTrx needs about 1-2 seconds to transmit a message. Same problem here.

That's why I suggest that to be configurable (probably even on a per-widget base)

anordvall commented 8 years ago

Yes, a per-widget configuration for this is what I was hoping for. Of course the lag will depend on several things, for instance how fast you move your finger :smile: