FHEM Forum

FHEM - Hausautomations-Systeme => MQTT => Thema gestartet von: Andy1987 am 04 November 2020, 20:50:22

Titel: Innr RS230C RGBW Spot Farben lassen sich nicht ändern
Beitrag von: Andy1987 am 04 November 2020, 20:50:22
Hallo zusammen,

habe das Problem die Farbe nicht wechseln zu können (bekomme nur Blau), da ich in "color_temp" keinen
anderen Wert wie null eingetragen bekomme.

Internals:
DEF                     RS230C 0x588e81fffe1e84be RGB1
FRIENDLYNAME    RGB1
FUUID                 5f9ebff3-f33f-7b75-67c3-be1e1330f1ec3564
IODev                 MQTT
MODEL                RS230C
NAME                  RGB1
NOTIFYDEV          RS230C 0x588e81fffe1e84be RGB1
NR                      40
SID                     0x588e81fffe1e84be
STATE                 ON
TYPE                   XiaomiMQTTDevice


defmod RGB1 XiaomiMQTTDevice RS230C 0x588e81fffe1e84be RGB1
attr RGB1 IODev MQTT
attr RGB1 room Wohnen
attr RGB1 stateFormat state
attr RGB1 webCmd on:off:brightness:color mode:rgb
attr RGB1 widgetOverride color mode 2 brightness:slider,0,15,255 rgb:colorpicker,HSV

Raw definition:
defmod RGB2 XiaomiMQTTDevice RS230C 0x588e81fffe1e8b4e RGB2
attr RGB2 IODev MQTT
attr RGB2 room Wohnen
attr RGB2 stateFormat {lc ReadingsVal($name,"state",0)}
attr RGB2 webCmd on:off:brightness:color mode:rgb:color_temp
attr RGB2 widgetOverride color_temp:colorpicker,CT,250,1,454 zigbee2mqtt/0x90fd9ffffe0bcd51/set {"$EVTPART0":"$EVTPART1"} color mode ,1,100,100 brightness:slider,0,15,255 rgb:colorpicker,HSV

setstate RGB2 on
setstate RGB2 2020-11-04 18:02:33 brightness 255
setstate RGB2 2020-11-01 22:20:19 color-x 0.505624025055233
setstate RGB2 2020-11-01 22:20:19 color-y 0.415207746862562
setstate RGB2 2020-11-01 22:20:19 color_temp 454
setstate RGB2 2020-11-04 18:02:33 state ON
setstate RGB2 2020-11-04 18:02:33 transmission-state incoming publish received


Readings:
brightness                165
color-x                     0.505624025055233
color-y                     0.415207746862562
color_temp               454
hsv                          0,100,100
state                        ON
transmission-state     incoming publish received

colorInit:
defmod colorInit notify RGB1:rgb.*|global:INITIALIZED set 0x588e81fffe1e8b4e remove
attr colorInit room Wohnen

setstate colorInit 2020-11-01 15:54:48
setstate colorInit 2020-11-01 15:54:48 state active


zigbee2mqtt:info  2020-11-01 20:32:02: MQTT publish: topic 'zigbee2mqtt/RGB1', payload '{"state":"ON","brightness":165,"color":{},"color_temp":null}'

Habt vielen Dank im Voraus :-)

Gruss, Andreas