Aiming at the limitations of grouping control for BLE mesh devices,a grouping protocol based on BLE mesh is proposed,which can perform secondary grouping of devices in the room and expand the grouping function of BLE mesh.The test was conducted on the LED lighting system inside the house as the control object,and the test results showed that the protocol can effectively group and control LED lamps in the room,with high reliability,fast response speed,and effectively improve the user experience.