Skip to content

Latest commit

 

History

History
90 lines (84 loc) · 4.6 KB

Development.md

File metadata and controls

90 lines (84 loc) · 4.6 KB

Public Development

Evolution or correction :

  • Check if updateReachability is used or not > https://github.com/KhaosT/HAP-NodeJS/pull/556
  • Complete the documentation example (full example with default parameter)
  • Force an "is online" method with the use of StatusFault
  • Change the check double to agree same UUID with different type
  • Check lux scale if correct
  • Rewrite the parameter order to have something more clear and logic (sub division?)
  • Manage possibility to have night mode with an alarm
  • Add a method to force cache reset at startup > still a part of accessory will not be deleted (why???) also if the plugin is stopped
  • Reconnect to the box also if only noStatus is used
  • Reset also the first accessory implemented
  • Manage the plugin if nothing is configured (and delete accessories still saved) > 0.8.58
  • Compatibility with the Homebridge Config UI
  • Defense prog if batteryLevel requested without battery available ?
  • Accelerate method to reconnect or go to the platform level > 0.8.80 (BOX level)
  • Get name with name device ? > first test no concluded > do we need ? > No
  • Implementation of Outlet In Use Status

Functionality :

  • Bind with a graph viewer (like fakegato)
  • Add a method to check config file if same UUID used
  • Adapt to non local access > use of "remote" in IP parameter
  • Add a fake switch to reboot the box
  • Add a fake switch to reboot homebridge
  • Add a fake switch to logout the user > 0.8.80
  • Add a Identify config to blink or else accessory > 1.4.2 (only log)

Excluded method (out from Development route)

  • Add a method to refresh cach of homebridge every x minutes > no need
  • Add a fake switch accessory to force refresh > need one event-observer method (not know by me) > just close and open the HOME APP
  • Find a solution for the battery level not recognize by app (simple sensor ?)
  • Add Parameter for the wait reconnection ? > no

Private Development route (for archive)

  1. Package configuration and diffusion > Version 0.1.0
  • GitHub on private
  • Package on NPM
  • Installation through npm on homebridge
  1. Configure a very simple platform > Version 0.2.0
  • Clear the structure of code
  • Add CHANGELOG to help following the developpment
  • Test and publish with smallest module
  • Add two simple switch through the Platform
  1. Create a new structure with accessory level > Version 0.3.0
  • new class zipAccessory
  1. Connect the user to the box > Version 0.4.0
  • initUser
  • connectUser
  1. Add first device : a simple switch > Version 0.5.0
  • Simple add
  • Cache manager for old cached accessories
  1. Add all device of homebridge-zipabox-accessory. > Version 0.6.0
  • Light > 0.6.17
  • Outlet > 0.6.30
  • Temperature > 0.6.30
  • Refresh (accessory or platform ?) > platform > 0.6.30
  • Specify Model, manufacturer and serial > 0.6.31
  • Ambient > 0.6.34
  • Add the config method for scale adaptation > 0.6.35
  • Motion > 0.6.38
  • Contact > 0.6.39
  • window > 0.6.48
  • Door > 0.6.48
  • Leak > 0.6.48
  • co2 > 0.6.48
  • Battery > 0.6.54
  1. Add the reconnect method and other tool from homebridge-zipabox-accessory. > Version 0.7.0
  • Battery limit > 0.6.57
  • No Status > 0.6.34
  • Reverse > 0.6.38
  • Test reconnection method
  • Test leak and CO with real accessories
  1. Add the security lawyer > Version 0.8.0
  • Init and connect for security > 0.8.2
  • Alarm accessory > 0.8.3
  • Nightmode > implemented, still need test > 0.8.8
  • Get status activate after activation request > 0.8.16
  • Test with a lot of accessories > 0.8.19 (but not with full debug)
  • Change some non Debug Information (status change, warning, error, ...) > 0.8.33
  • Give the possibility to debug only one accessory and not all (have two level ?) > 0.8.33
  • Reconnect after connection loss for security (and normal) > implemented, still need test > 0.8.36
  • Reconnection only for 1 accessory and update status after reconnection > 0.8.80
  • Avoid two connection for door or window state > 0.8.68
  • Make a refresh rate for each accessory (based on the type ?) and not on the platform level > 0.8.94
  1. Validate the remote API access > Already done but need to be test > Version 0.9.0
  • Find all the difference between local and remote API