I am building a fan control that will control the whole house fan.
It has 5 speed + the off position. What is the best way of doing this. I am using ESP8266 with a 4 Channel relay board to control the fan. Right now I am using the Slider control and then reading the int value and selecting the right speed but the problem is the slide control on iPhone doesn’t work in integer increments like it does in the web console so most of the time it doesn’t trigger correctly.
I was thinking of just adding 6 buttons, but I need to somehow ensure that only 1 button can be selected ON at one point.
Any help on this would be appreciated.