Want to simply IOT communicate to any electrical device with off the shelf Relay modules available in the market, and a low cost solution check out the blog
Cant see a way to comment on his website so I'll put it here .
With an esp8266 you have much more memory (x5) and 16 times the speed on the chip itself and I think you will find that needing only 4 pins there are enough on any 16 pin models and can even be done from a esp-01.
No need for an arduino at all! Well not that I can see at this time .
If you want people to comment on your site then make it easy for them . If we have to jump through hoops I'd rather just opt out and you loose the activity.