-
Notifications
You must be signed in to change notification settings - Fork 97
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
Fan - Setting RotationSpeed #112
Comments
Hey! Thank you for opening an issue. In your logs you should be able to find some log lines that look something like the following
Could you please provide me with your log after you set the rotation speed, then I can see what values are being transmitted and see what goes wrong there. |
Thanks for looking into this!
Edit: Just for clarification, it's a 15-speed fan. |
I have no clue what the problem is here. |
Yes, very strange indeed. Is there anything that I can provide you with to assist with a diagnosis? Packet or request/response capture of working traffic from the Tuya app? |
I cannot reproduce this issue and at the moment do not have the time to debug this with you sadly. I would love for somebody to be able to submit a PR for this. |
I've got a very similar problem. I've also submitted an issue for this. |
I have a similar issue with my fan. For my fan, it looks like maybe the speeds are not set by percentage, but simply enumerated. My fan has three speeds. When I set it to the medium speed in the Smart Life app, I see this in the HomeBridge logs:
|
Also, on startup, it seems to indicate the number of speeds; three in my case:
|
I guess there is a rounding error somewhere. |
I'm inclined to agree with the suggestion of it being a rounding error - incrementing the speed on my 15-speed fan increases the percentage display by 6%, for a max speed displayed of 90% rather than 100%. Looking forward to level based control if/when you have the time to make the change! |
Any word on if/when this change to fan levels, rather than percentages may occur? Thank you |
No updates at the moment. |
I have many ceiling fan and there many line of this generated in the log. Although, everything seems to be work, is there any I can do to get this off the log? [homebridge-tuya-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 166 exceeded maximum of 100 |
Device type
Stirling FS1-40DCWIFI Pedestal Fan
Device information
Issue
Toggling on/off the fan via HomeKit works correctly.
However, when setting any rotation speed, the fan shows a speed of '00' on the physical display and stops rotating.
Setting the rotation speed via the TuyaSmart app works correctly.
Let me know what else I can provide to assist in diagnosing the issue.
The text was updated successfully, but these errors were encountered: