Advice on Arduino project for smart light bulb planning
There are 5V relays modules that work well with 5V arduinos (like the one you plan to use).  These don't actually connect the relays directly to the arduino, however, and simply have a mosfet built in to the board and are powered over a 5V VCC pin that is separate from the 5V logic pin that goes to the arduino.
If I were to tackle this project today, I'd use ESP32 rather than arduino (due to cost) and &quot;3V Relay Module&quot; (esp32 logic is 3V).  ESP32 can be programmed from the Arduino IDE :)