If you want to control 8 different devices that are in different parts of the house then you’d be better with multiple Wemos D1 Minis connected to one or two relays each. Or, using Sonoff 20s running Blynk code.
If all 8 electrical devices are in the same physical location then look at this thread: