-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yaml for removing remote control and add a pushbutton #20
Comments
Because GPIO0 is directly connected to the internal button, I would use GPIO4 and GPIO5 for the external buttons. In my template these GPIOs are used for I2C but you can also use them for other purposes. These GPIOs are easely accessible via the test points on the pcb (--> first pcb image in the readme).
|
If you use GPIO4 and 5 for button inputs you have to remove the |
Thank you for the code, looks nice! I have tried it but when I compile I get this error: Unable to find action with the name 'fan.cycle'. I think there is something I am misssing maybe |
changing the code like this it compiles:
and for the light
|
Sorry! Two mistakes in one short configuration. Shame on me. 😁 |
That's ok, it happens to the best 😉. |
Hello,
Is it possible to change the yaml to remove the RF remote and add an external pushbutton on GPIO0 to cycle between the 3 fan speeds? Like for example first press, speed 1, second press speed 2, third press speed 3 and forth press fan off.
I can use another gpio to control the light, like gpio3 wich is used for the remote control
This is so I can install the ifan04 on the wall plate with 2 pushbuttons
The text was updated successfully, but these errors were encountered: