Could anyone share with me what to send over mqtt to change the vibration sensor’s sensitivity? Is there any confirmation or way to know it was applied?
MQTT has nothing to do with settings.
It is only a communication method between devices.
MQTT needs a topic and a message. Your free to fill in.
The way you handle this message at your receiving device makes the action
Exactly, and I’m asking what the topic/payload should be
Thats free and can be everything what fits you the best
i should chose something as “Vibration settingtype” as topic
And payload the value you want to change
Sensitivity #
The sensitivity can be changed by publishing to zigbee2mqtt/[FRIENDLY_NAME]/set
{"sensitivity": "SENSITIVITY"}
where SENSITIVITY
is one of the following values: low
, medium
, high
.
After setting the sensitivity you immediately have to start pressing the reset button with an interval of 1 second until you see Zigbee2mqtt publishing the new sensitivity to MQTT.
What would be the friendly name in this case? The one as defined in the configuration.yaml of zigbee2mqtt? Thanks for pointing out to press the reset button.
Yes, the one from zigbee2mqtt configuration.yaml