Zigbee2mqtt

Sample commands for talking to the zigbee2mqtt gateway using mosquitto_pub. Sending messages to the topic ..../set will configure them. Send an empty message to ..../get to retrieve the current settings (will be published to the .../state topic).

mosquitto_pub -h 192.168.0.5 -t zigbee/0x000d6ffffe6bda0d/set -m '{"state": "toggle"}'

Slowly set the brightess to max (255) over 10 seconds:

{"brightness": 255, "transition":10}

Set the color to the most yellow (100%) or blue (0%). Can be combined with brightness, or a transition time, but not all three together.

{"color_temp_percent": 0}

Adjusting the brightness (ZCL "brightnessStepWithOnOff" command?) doesn't seem to work.