I am using mqtt2zigbee.
I have problem with Schneider dimmer.
When ever I press on/off switch it return automatically to OFF state after sub second.
If I press and turn at the same time Exxact turns to ON, but dimmer goes to 1 automatically.
I am fairly sure it’s not about configuration configuration:
Things:
Thing topic MovieTheatherDimmer_01 “MovieTheatherDimmer_01”
{
Channels:
Type string : switch “Power Switch” [
stateTopic = “zigbee2mqtt/MovieTheatherDimmer_01/state”, postCommand=true,
commandTopic = “zigbee2mqtt/MovieTheatherDimmer_01/set”, on=“ON”, off=“OFF”
]
Type number : dimmer "Dimmer" [
stateTopic = "zigbee2mqtt/MovieTheatherDimmer_01/brightness",postCommand=true,
commandTopic = "zigbee2mqtt/MovieTheatherDimmer_01/set/brightness",
min=0,
max=254,
step=1]
Type number : linkquality "linkquality" [
stateTopic = "zigbee2mqtt/MovieTheatherDimmer_01/linkquality" ]
It must be either Schneider exxact or configuration.yalm topic. I try to find option to avoid switching back. zigbee2mqtt log show message e.g. brighness from 103 to 1. So it is before things and items…
Why? It’s not wanted, you risk creating a feedback loop. You won’t fix this with random settings.
Note that if you’ve been editing Things, not all bindings are good at immediately applying some or all new settings.
Get it the best you can, then try a binding or system restart to be sure.
It’d be helpful to give more context; what part of a sequence is that and message from whom?
This sequence seems to work as configured.
The dimmer publishes state “1”
Your openHAB channel will receive that, and convert it into a command to the Item as you instructed.
Then the channel will receive that Item command and transmit a /set MQTT instruction message to the dimmer.