sunnyhd / homeintouch

A home automation project using socket.io
2 stars 0 forks source link

RGB Widget #89

Open sunnyhd opened 12 years ago

sunnyhd commented 12 years ago

I forgot the RGB widget.

https://picasaweb.google.com/lh/photo/1b57x31w38kgtd_eeV2yEDqs9AJSEvp33_2Rb9cjR9Y?feat=directlink

https://picasaweb.google.com/lh/photo/J_MBMQxaPP5G7VNUtXt2bjqs9AJSEvp33_2Rb9cjR9Y?feat=directlink

sunnyhd commented 12 years ago

RGB-Widget

Example:

add group address

R groupaddress: 9/3/2 dpt-type: 5.001: DPT_Scaling read: checked write: checked

G groupaddress: 9/3/3 dpt-type: 5.001: DPT_Scaling read: checked write: checked

B groupaddress: 9/3/4 dpt-type: 5.001: DPT_Scaling read: checked write: checked

Brightness groupaddress: 9/3/5 dpt-type: 5.001: DPT_Scaling read: checked write: checked

sunnyhd commented 12 years ago

Would like to change the widget style because we also need a slider for the brightness. Thought of a second wheel inside of the colorwheel as a slider to set the brightness. In the middle we could display the percentage and the color that was set and a on off toggle button. The on off toggle Button should have the option to preset the values for r,g and b.

https://picasaweb.google.com/lh/photo/DoVSWTNZ1fl755mB_qm0xTqs9AJSEvp33_2Rb9cjR9Y?feat=directlink

jalessandro commented 12 years ago

For R,G,B values, that are already in a 0-255 range (there is no need for DPT_Scaling) we can use DPT_Colour_RGB, but for that we need that the HitServer allows us to send values that are longer than a byte.

sunnyhd commented 11 years ago

http://raphaeljs.com/picker.html