Have you seen this tutorial?
You can use three digital pins on your D1 mini to control 8 outputs. The operating voltage of the shift register is between 2.0V to 6.0V. If you put 3.3V to the VCC pin, you will get 3.3V out of the 8 pins, if you put 5V into the VCC pin, you will get 5V out.
https://www.b4x.com/android/forum/t...8-relays-wemos-d1-mini-wifi-android-4g.80909/
If I was you I would use a shift register, but that's only if you do not fancy purchasing a NodeMcu which has more digital pins...