kiwi-cam / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
304 stars 95 forks source link

[FAN] Oscillation Control - Default Setting (On/Off) #689

Open JasonGoldenDDT opened 7 months ago

JasonGoldenDDT commented 7 months ago

Describe the solution you'd like I use this plug in with 3 RM Mini, 3 Dyson Cool+Hot Fans, and an Off Brand Floor Fan.

Floor Fan Remote Map: IMG_1689

Config:

"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideScanFrequencyButton": true,
"hideLearnButton": false,
"hideWelcomeMessage": true,
"trace": false,
"debug": false,
"accessories": [

{ "name": "Tower Fan", "type": "fan", "host": "MAC", "alwaysResetToDefaults": true, "defaultSpeedStep": 1, "defaultFanSpeed": 1, "stepSize": 1, "persistState": true, "speedCycle": true, "resendHexAfterReload": false, "speedSteps": 2, "allowResend": true, "hideRotationDirection": true, "data": { "on": "2600500000012f97131311141213121312381138121312141138123712381138111412131237123712131214123712371213121312141138123712371213121312381237123712131200051400012a4a12000d05000000000000", "off": "260050000001259413121213121411141237123712131214113812371237123712141114123712371213121411381237121312131214123712371237121411141138123712371213120005160001284a12000d05000000000000", "swingToggle": "2600500000012594121312141213121312371238121313121238113812371336121412131237123811141213123712381237121312141138133612371313111412131238113812131300051400012a4a13000d05000000000000", "fanSpeed": "260058000001249413121213121312141138123712131213123712371237123712131214113811381213121312131237121411141213123712381237123712141138123712371213120005140001294a12000c3f0001294a12000d050000000000000000000000000000" } },

The floor fan resets to 1 when powered off. The oscillation control remains on after power cycle causing HomeKit to fall out of sync with the device.

Describe alternatives you've considered add a "defaultOscillation" = true (off) / false (on) add "Oscillation" control to

Screenshot 2024-04-09 at 8 14 36 AM

Additional context None