Please help. I connected the device and received its parameters through the broker.
But I can’t configure the channel to change the parameter. The pictures show what the channel looks like in MQTT Explorer and the channel settings.
Please help. I connected the device and received its parameters through the broker.
But I can’t configure the channel to change the parameter. The pictures show what the channel looks like in MQTT Explorer and the channel settings.
spelling error zegbee2mqtt vs. zigbee2mqtt ?
Thank you!! Fix. But it doesn’t work
In general, it’s helpful to provide more information about the device. Since I can see it’s a Moes and that it’s a thermostat, I’m guessing it’s this:
In which case the parameters are:
Eco mode (binary)
ECO mode (energy saving mode). Value can be found in the published state on the
eco_mode
property. It’s not possible to read (/get
) this value. To write (/set
) a value publish a message to topiczigbee2mqtt/FRIENDLY_NAME/set
with payload{"eco_mode": NEW_VALUE}
. If value equalsON
eco mode is ON, ifOFF
OFF
So, what you’ve missed is:
payload
{"eco_mode": NEW_VALUE}
You’re just sending ON/OFF
to the device, and it doesn’t know what to do with that…so it ignores it. There should be a message in the Z2M log saying as much.
eco_mode
from the incoming JSONPATH string, since eco_mode
doesn’t have its own state topic.{"eco_mode": %s}
{"eco_mode": "%s"}
Thank you! I tried your option
the message arrives but does not change the value in the device
it’s log file
Just try as command topic ‚zigbee2mqtt/moes1/set/eco_mode‘. As it is a switch you don‘t need an outgoing transformation.
Thank you!! It’s working !!
channels:
Oh, interesting. I didn’t realize you could send this way if a value doesn’t have its own state topic.
Oh yeah, I’m not questioning you. I didn’t realize that we could just add eco_mode
after set
. Instead of doing that, I was formatting the value to match the Z2M documentation.