Hi, i am using an IKEA Tradfri LED Driver with ZigBee2MQTT. Its connected and i get states and so on. But my only problem is, that the brightness gets wrong transmitted to the driver.
If i set my dimmer item to 100, the driver gets 1, instead of 100. If i set it so 28, it gets 0.28 instead of 28. Hope, someone can help me.
.things
Thing mqtt:topic:IKEA_Treiber_1 "Z2M: IKEA Treiber 1" (mqtt:broker:823098e4c9) {
Channels:
Type number : light "Licht" [stateTopic="zigbee2mqtt/IKEA_Treiber_1/get", commandTopic="zigbee2mqtt/IKEA_Treiber_1/set", formatBeforePublish="{\"brightness\": \"%s\"}"]
}
There are parameters on the dimmer channel that lets you specify a minimum and maximum value and the binding will do the multiplication for you.
I don’t like looking stuff like this up so I don’t use text based configs (in the UI all the parameters are right there with explanation) but I’m pretty sure they’re covered in the docs.