After the dimming lamp is powered on, the device is switched on and off 5 times in 5 seconds, and the light is gradually on and off for 3 times, then the distribution network state can be entered. The mobile phone turns on Bluetooth, and the device can be added with app. The device is successfully added, and the light is on and off 3 times.