We can use a lot of different versions of ESP8266 such as Nodemcu. Here you will see V2 and V3. This is the easist way to flash and use HomeHome.App firmware.
Relay and Button pins can be customized as needed of your device.
There are ready embedded devices for easy select in setup menu like: Sonoff Basic, Dual (R2 Version), 4ch Pro, TH10/16 (Thermostat), Shelly 1, Shelly 2.5... You can find a lot of sources about how to flash Sonoff and other manufacturers products. wiki1 , wiki2
You can set 1-2-4 relay & button on-off switch or roller shutter/blinds with 2 relay & button
If you don't know how to flash Sonoff or others (GPIO-0 must be HIGH to enter flash mode when you give power) please check these repo's wiki1 or wiki2 or try google "how to flash xxxxx device" Skip this for nodemcu, wemos dev boards.
There are 3 easy ways to flash
1.Way - Windows / Mac : A ) Get Windows standalone executable
B ) Run in terminal
pip3 install tasmotizer
After installation start your device in flash mode. (GPIO-0 is HIGH)
2.Way - Terminal Commands :
We suggest you to backup your original firmware because everything will be lost on the device.
esptool.py -p /dev/cu.SLAB_USBtoUART --baud 115200 write_flash -fs 1MB -fm dout -ff 40m 0x0 /downloads/homehome.bin (/dev/cu.SLAB_USBtoUART change this with your com port. Same command for nodemcu and 1mb boards.)
3.Way - Espressif Tool: If you don't want to use terminal commands you can Espressif's download windows flash tool Espressif is manufacturer of ESP8266.
First plug USB cable and ERASE the chip.
Unplug and plug USB cable and START flash.
Unplug and plug USB cable after flash finished.
Connect to HomeHome-xxxxxx WiFi network.