Hallo,
ich probiere schon den halben Tag die Transition hinzubekommen.
Ziel: Morgens Licht minimal an, dann innnerhalb von 5 Minuten immer heller.
Aber entweder moppert das Modul, oder die Bridge macht nichts :-(
Wo ist der Fehler?
set MQTT2_milight_0x5_1 command {"brightness":255,"transition":300}
Wo ist der setter?..
Immer vollständige lists, bitte.
Ups, sorry:
Internals:
CFGFN
CID milight_0x5_1
DEF milight_0x5_1
DEVICETOPIC MQTT2_milight_0x5_1
FUUID 5e1601f4-f33f-f5fa-d88d-029749078642ce0c
IODev m2s
LASTInputDev m2s
MSGCNT 456
NAME MQTT2_milight_0x5_1
NR 128824
STATE on
TYPE MQTT2_DEVICE
m2s_MSGCNT 456
m2s_TIME 2020-01-10 19:07:12
OLDREADINGS:
READINGS:
2020-01-08 17:23:17 associatedWith MQTT2_milight_hub_848164
2020-01-10 19:07:12 brightness 240
2020-01-10 19:07:12 bulb_mode white
2020-01-10 19:07:12 color_b 255
2020-01-10 19:07:12 color_g 255
2020-01-10 19:07:12 color_r 255
2020-01-10 19:07:12 color_temp 240
2020-01-10 16:10:04 command set set_white
2020-01-10 16:15:35 dim set level_up
2020-01-10 15:39:17 hue 112
2020-01-10 16:15:23 saturation 50
2020-01-10 19:07:12 state ON
Attributes:
IODev m2s
alias Schlafzimmer Licht
comment To switch device also on when changing brightness, change payload pattern to {"status":"ON","$EVTPART0":"$EVTPART1"} or add a new element to setList, similar to brightness, e.g.brightness_on and change payload pattern as described.
devStateIcon {zigbee2mqtt_devStateIcon255($name)}
eventMap /set_white:Weiss/night_mode:Nacht/white_mode:white/on:on/off:off/ON:on/OFF:off/next_mode:Mode/mode_speed_up:Faster/mode_speed_down:Slower/level_up:Up/level_down:Down/
icon light_control
model esp_milight_hub_rgb_cct_bulb
readingList milight/states/0x5/rgb_cct/1:.* { json2nameValue($EVENT) }
milight/states/0x5/rgb_cct/0:.* { json2nameValue($EVENT) }
milight/updates/0x5/rgb_cct/1:.* { json2nameValue($EVENT) }
milight/updates/0x5/rgb_cct/0:.* { json2nameValue($EVENT) }
room MiLight,Schlafzimmer
setList on:noArg milight/0x5/rgb_cct/1 {"status":"ON"}
off:noArg milight/0x5/rgb_cct/1 {"status":"OFF"}
brightness:colorpicker,BRI,0,15,255 milight/0x5/rgb_cct/1 {"$EVTPART0":"$EVTPART1"}
hue:colorpicker,HUE,0,1,359 milight/0x5/rgb_cct/1 {"$EVTPART0":"$EVTPART1"}
color_temp:colorpicker,CT,153,1,370 milight/0x5/rgb_cct/1 {"$EVTPART0":"$EVTPART1"}
saturation:colorpicker,BRI,0,1,100 milight/0x5/rgb_cct/1 {"$EVTPART0":"$EVTPART1"}
command:uzsuSelectRadio,Weiss,Nacht milight/0x5/rgb_cct/1 {"$EVTPART0":"$EVTPART1"}
program:uzsuSelectRadio,Mode,Faster,Slower milight/0x5/rgb_cct/1 {"command":"$EVTPART1"}
mode:select,0,1,2,3,4,5,6,7,8 milight/0x5/rgb_cct/1 {"$EVTPART0":"$EVTPART1"}
dim:uzsuSelectRadio,Up,Down milight/0x5/rgb_cct/1 {"command":"$EVTPART1"}
setStateList on off
verbose 0
webCmd brightness:dim:hue:command:color_temp:program:saturation:mode
webCmdLabel brightness:dim
:hue:command
:color_temp:program
:saturation:mode
...das konnte nicht klappen...
Versuch' mal folgende Zeile in der setList zu ergänzen:
dim_on_300:noArg milight/0x5/rgb_cct/1 {"brightness":"255","transition":300}
Hoffe, so wird auch der restliche Code der setList für dich verständlicher ;) .
Jep, so soll das :-)
Danke dir!!
Das Licht geht jetzt morgens an und wird immer heller.