-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
iFan02 PowerOnState doesn't restore fan #3530
Comments
Related to #3412. The non-esp8266 microcontroller controls the power for both the light and the fan at power restore without sending it's status to the esp8266. At power on Tasmota tries to control the relays as defined by poweronstate but the microcontroller overrules this, probably because it's a bit slower than the esp8266 so it has final saying in which relay will be turned on. Interesting to see that a restart of the iFan02 really does perform the poweronstate so this confirms my suspicion that the microcontroller is just a bit slower. As in #3412 you currently need to use a rule to get the fans in the state you want. I'll investigate what needs to be done to send a single command using the current fanspeed set. |
Investigating. It seems it's different than I thought. Hold on. |
As the microcontroller controlling the relays only accepts commands after 4 seconds from power on you'll notice a delay in restoring the fan speed (and light). Can't find a better solution. |
Just wanted to confirm that the fix does work and solves my issue - just tried the new dev version and it works with the intended 4 second delay. Thanks for the quick turnaround. |
Fix iFan02 power on state (arendst#3412, arendst#3530)
Hi, So now does tasmota on iFan02 have a retain state for light and fans speed? |
When the iFan02 is power cycled (the device itself loses power) while the fan is on and PowerOnState is set to 3 (others not tested, but does not affect PowerOnState 0), the fan powers on with FanSpeed set to the previous value, but there is no fan power output.
status 0
:To Reproduce
Expected behavior
It is expected that the fanspeed in the firmware status should match the outputted fan speed.
Additional context
I have worked around this by setting PowerOnState to 0.
The text was updated successfully, but these errors were encountered: