I have an esp connected to 1 relay to trigger a fan push button and I’m really struggling understand how to make this work.
The fan is normally at speed 1.
To trigger speed 2 the relay needs to be trigger for half a second, same to go from 2 to 3 or from 3 to 1. Also after 1 hr of being on speed 2 or 3 it goes automatically to speed 1.
I would like to have a dashboard that shows as speed the slider which goes from 1 to 3 and the automatic return to 1 after the timer.
I was able to make the binary fan example work but not the triggering of the turn off of the relay.
I appreciate the hints. So far this is what I got:
The log information does not display the right value. Aslo would like some sort of control on a dashboard that shows the speed (a button three speeds/state). The moment the state is the state of the switch. I don’t know how to link the “fan:” structure
I’m still not clear how to create the fan view in the dashboard with the 3 states, is this possible via the config of esphome or should it be done via home assistant template? What would be the best?
did you find a way to do this? I have a simmular setup;
I am currently using ESP Easy relais switch to toggle between OFF - Speed1-Speed2-Speed3.
Wired as follow;
(Off: Relais 1, OFF(NC))
(Speed1: Relais 1, ON(NC), Relais 2 On)
(Speed 2: Relais 1, ON (NC), Relais 2 off (NC),Relais 3 on)
(Speed 3: Relais 1, ON (NC), Relais 2 off (NC),Relais 3 off (NC), Relais 4 On)
I would like to have a rotating button type or slider type of switch that can handle this.