# Control the device Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/control_the_device.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/control_the_device.html) After commissioning, use `chip-tool` to send cluster commands to the device. Replace `` with the node ID assigned during commissioning and `` with the Matter endpoint number on the device (typically 1). ## Toggle the On/Off state Send a `toggle` command to flip the current On/Off state: chip-tool onoff toggle Copy to clipboard For example, to toggle endpoint 1 of node 1: chip-tool onoff toggle 1 1Copy to clipboard To turn the device on or off explicitly: chip-tool onoff on 1 1Copy to clipboard chip-tool onoff off 1 1Copy to clipboard To read the current On/Off state: chip-tool onoff read on-off 1 1Copy to clipboard **Parent Topic:** [Commission the device using chip-tool](https://docs.qualcomm.com/doc/80-Y8730-5/topic/commission_the_device_using_chip_tool.html) Last Published: Jul 30, 2026 [Previous Topic Run on-network commissioning](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-5/topics/run_on_network_commissioning.md) [Next Topic References](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-5/topics/references.md)