Skip to content
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

Feature/mifan #252

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Feature/mifan #252

wants to merge 6 commits into from

Conversation

mediter
Copy link

@mediter mediter commented Aug 26, 2019

implemented everything except the following features for the 4 types of Fans by Xiaomi:

  • buzzer for Dmaker Fan due to unknown internal property name
  • natural_level for Zhimi Fans

1. adjust some words in docs/ios-token-without-reset.md
2. adjust cropping of hexyl-output screenshot
3. add reference of ios-token-without-reset.md to management.md
currently, only finished requirements of the following capabilities:
Power, Buzzer, SwitchableLED
1. added partial support for 2 electric fans from xiaomi

米家直流变频落地扇 1x (dmaker.fan.p5)
Working:
"power", "fanSpeed", "mode", "led", "roll", "roll_angle", "child_lock"

Need to implement:
- "poweroff_time": capability and adoption
- "buzzer": need to figure out the internal property name
- "rotate by 5 degrees": need to figure out the internal property name
- verification for validity of roll_angle input

(zhimi.fan.sa1)
Working:
"power", "buzzer", "fanSpeed", "ledBrightness"
"roll", "roll_angle", "child_lock"

Need to implement:
- "poweroff_time": capability and adoption
- "rotate by 5 degrees": need to figure out the internal property name
- verification for validity of roll_angle input

2. added the following capabilities:
- SwitchableRoll
- SwitchableChildLock
- RollAngleRanges
- RollAngle
- AdjustableRollAngle
with minor change in changePower(power) in mi-fan.js
remove input conversion as that is done in setPower.
the public interface is power(power) which changes power state through
setPower
minor uppdate in mifan document
minor styling change in changeBuzzer() in Buzzer capability definition
rename mi-fan.js to dmaker-fan.js
reorganize js files related to fans into a folder 'fan'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant