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

Commits on Jul 11, 2019

  1. Configuration menu
    Copy the full SHA
    9372cfe View commit details
    Browse the repository at this point in the history
  2. minor updates:

    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
    mediter committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    e630b5a View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2019

  1. WIP: add device MiFan

    currently, only finished requirements of the following capabilities:
    Power, Buzzer, SwitchableLED
    mediter committed Jul 27, 2019
    Configuration menu
    Copy the full SHA
    4132dd2 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2019

  1. Patial Support for 2 Models of Fan, and Several Necessary Capabilities

    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
    mediter committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    a231c18 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2019

  1. implement roll angle verification

    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
    mediter committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    b8ef419 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2019

  1. 3 types of ZhiMiFan, and PowerOffTime capability

    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'
    mediter committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    2e59e19 View commit details
    Browse the repository at this point in the history