The maximum number of devices that can be stably connected depends on the processing capacity of the device, theoretically without limit. The result of a comprehensive test on the Tuya-enabled gateway indicates that up to 128 devices can be connected and run properly.