The number of Shelly devices that you can connect to your Wi-Fi network depends on the router you are using and its connected devices limitations. When connected to your Wi-Fi network, each Shelly device is working as a separate host. The router is used to route the traffic and to allow it to connect outside your network - to Shelly cloud.