My idea is to control 8 lights in my house through an 8-channel relay module controlled by an esp8266 mcu node and also the switches that I have in my house. The module itself would use 8 pins for the relay outputs and 8 more pins for the switches. so I investigated the node mcu module that I have has 17 GPIOs but I don’t know how to use some, since they don’t work for me. Can someone help me with this? Excuse my ignorance, I am new to this.