Closed krozgrov closed 1 year ago
Think I have this figured out - speedSteps = the number of steps individual fan steps you want. In this case I updated to 3 and now I have 3 steps 33 > 66 > 99 which represents the 3 speeds of the fan.
New here, researching fan controls, I have a dyson AM09 and a TROTRONICS tower fan. I came across this thread and I have similar challenges with fan speed implementation.
I did find a solution to my TROTRONICS tower fan, which behaves similar to your situation described above.
{
"name": "Fan Name",
"type": "fan",
"**alwaysResetToDefaults**": false,
"**defaultSpeedStep**": 1,
"persistState": true,
"**speedCycle**": true,
"**speedSteps**": 3,
"**allowResend**": true,
"hideRotationDirection": true,
"data": {
"on": "2600500000012f97131311141213121312381138121312141138123712381138111412131237123712131214123712371213121312141138123712371213121312381237123712131200051400012a4a12000d05000000000000",
"off": "260050000001259413121213121411141237123712131214113812371237123712141114123712371213121411381237121312131214123712371237121411141138123712371213120005160001284a12000d05000000000000",
"swingToggle": "2600500000012594121312141213121312371238121313121238113812371336121412131237123811141213123712381237121312141138133612371313111412131238113812131300051400012a4a13000d05000000000000",
"**fanSpeed**": "260058000001249413121213121312141138123712131213123712371237123712131214113811381213121312131237121411141213123712381237123712141138123712371213120005140001294a12000c3f0001294a12000d050000000000000000000000000000"
}
This works near perfectly with HomeKit. But I noticed this approach was not described in the git's documentation, specifically using "fan speed" as a variable for hex code. I found it by reviewing the fan.js file.
This approach works for the tower fan, but it doesn't work for my dyson fan (AM09 Cool+Hot). I'm only interested in controlling the cooling aspects of this fan.
I've reviewed the program files for this git and found it does not currently support remotes that have a "speed up" and "slow down" button configuration.
Seems odd, I think I come across this type of control more often than discreet speed commands.
I found others have similar challenges with this git. I'm wondering if the owner has changed their plans to implement support for this type of common fan control OR has anyone found a reliable fork that does?
Many thanks, I have a few of these dyson am09 fans I plan to automate once I get this solved. The other approach found sends multiple commands repeatedly to "reset" the fan, kinda work... but not great.
Describe the bug Trying to setup a fan that has 3 speeds on the remote 1,2,3 and off. I am trying to get the HomeKit to have three steps at each speed 33%, 66%, 100% instead of it having a number slider. But for the life of me I cannot figure out how the syntax should work for the different options in the config. Here is what I have today. Any ideas I assume I am missing something simple.