atrovato / gladys-awox

Managing of Awox devices with Gladys
Other
1 stars 0 forks source link

Identify current color state of the bulb #40

Closed pebou closed 5 years ago

pebou commented 5 years ago

Add a param identifying if the bulb is in white or color (or sequence) mode

atrovato commented 5 years ago

A param or a device type as sensor ?

pebou commented 5 years ago

deviceType would be better :)

atrovato commented 5 years ago

Ok, a new device type is now created on configuration phase : mode. (identifier = mode, type = mode, sensor = true, min = 1, max = 3)

As Gladys only handles decimal values, here is the suggested value mapping : 1 = white 2 = color 3 = sequence