Heyho,
i have a bit of a delay when changing the state of my lights. It takes up to 2-3 Seconds before the light changes the state.
15:48:32.714 [INFO ] [smarthome.event.ItemStateChangedEvent] - ZigbeeButtonOneLinkQuality changed from 92 to 73
15:48:32.745 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'SmartBulbOneOnOffLamp' received command OFF
15:48:32.779 [INFO ] [arthome.event.ItemStatePredictedEvent] - SmartBulbOneOnOffLamp predicted to become OFF
15:48:32.795 [INFO ] [smarthome.event.ItemStateChangedEvent] - SmartBulbOneOnOffLamp changed from ON to OFF
15:48:34.217 [INFO ] [smarthome.event.ItemStateChangedEvent] - SmartBulbOneState changed from ON to OFF
Here are my Things and Items:
Thing topic lightone "Leuchte 1" {
Channels:
Type string : state [ stateTopic="zigbee2mqtt/lightone", transformationPattern="JSONPATH:$.state" ]
Type switch : OnOffLamp [ stateTopic="zigbee2mqtt/lightone", transformationPattern="JSONPATH:$.state", commandTopic="zigbee2mqtt/lightone/set", on="on", off="off" ]
Type dimmer : DimmerLamp [ stateTopic="zigbee2mqtt/lightone", transformationPattern="JSONPATH:$.brightness", commandTopic="zigbee2mqtt/lightone/set", min=1, max=254, step=1, formatBeforePublish="{\"brightness\":%s}" ]
Type dimmer : DimmerTemp [ stateTopic="zigbee2mqtt/lightone", transformationPattern="JSONPATH:$.color_temp", commandTopic="zigbee2mqtt/lightone/set", min=1, max=512, step=1, formatBeforePublish="{\"color_temp\":%s}" ]
Type string : LampColor [ stateTopic="zigbee2mqtt/lightone", transformationPattern="JSONPATH:$.color", commandTopic="zigbee2mqtt/lightone/set" ]
}
Group gSmartBulb "Smarte Lampe 1"
String SmartBulbOneState "Status: [%s]" <lightbulb> (gSmartBulb) { channel="mqtt:topic:myMQTTBroker:lightone:state" }
Switch SmartBulbOneOnOffLamp "Ein/Aus" <switch> (gSmartBulb) { channel="mqtt:topic:myMQTTBroker:lightone:OnOffLamp" }
Dimmer SmartBulbOneDimmer "Dimmer [%d %%]" <slider> (gSmartBulb) { channel="mqtt:topic:myMQTTBroker:lightone:DimmerLamp" }
Dimmer SmartBulbOneColorTempDimmer "Farbtemperatur: [%d]" <slider> (gSmartBulb) { channel="mqtt:topic:myMQTTBroker:lightone:DimmerTemp" }
String SmartBulbOneColor "Farbe [%s]" <colorlight> (gSmartBulb) { channel="mqtt:topic:myMQTTBroker:lightone:LampColor" }
Color SmartBulbOneColorPick
is there anything i can streamline or do better? Has anyone an idea where to look next?
Thanks you in advance