Can I only have two buttons on a wemos D1. If I have a esp32 can I have more inputs?
Custom compiling will get you (almost) as many buttons as you want. Default is 2 for 8266 and 4 for 32.