homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.

MIT License

Downloads
2.5K
Stars
385
Committers
9

Bot releases are visible (Hide)

homebridge-ewelink -

Published by bwp91 over 3 years ago

Please Note

Since it is impossible for me to test every device type and all Accessory Simulations, there may be some unexpected issues. A lot of code has changed in this release. If you encounter any issues please let me know on Github or Discord and I will get it sorted as soon as I can :)

Added

  • Power, voltage and current readings for DUALR3 when exposed as outlets
  • RF Bridge remote buttons will turn on for 3 seconds in HomeKit when pressed
  • Link a Zigbee contact sensor to a single garage door to report the garage door state
  • Set a temperature offset for the Zigbee temperature/humidity sensor
  • Configuration options to manually set account http host and country code #249

Changes

  • Change Sonoff POWR2/S31 polling interval to a fixed 60 seconds
  • iFan speed will now log as {low, medium, high}
  • Remove 'Outlet In Use' characteristics for outlets that don't support power readings
  • Remove Eve power characteristics for outlets that don't support power readings
  • More language strings added to separate language file
  • Accessory 'identify' function will now add an entry to the log
  • Backend refactoring, function and variable name changes
homebridge-ewelink -

Published by bwp91 over 3 years ago

Added

  • Support DUALR3 motor mode (as a WindowCovering service)

Changes

  • Remove old Switch services from DUALR3 when in motor mode
  • iFan devices now use caching to avoid unnecessary duplicate updates
  • Increase ws timeout from 5 to 6 seconds
  • Decrease lan-only timeout from 10 to 9 seconds
homebridge-ewelink -

Published by bwp91 over 3 years ago

Changes

  • Adjust iFan speed thresholds (now 0% is off, 1-33% is low, 34-66% is medium and 67-100% is high)
  • Changed commands for multi-channel devices to only update desired channel (not all channels)
  • Pause Adaptive Lighting if device is offline
  • Automatically retry eWeLink login on startup in case of certain error codes
  • Update package description (remove 'with original firmware' as this is redundant for eWeLink devices)
homebridge-ewelink -

Published by bwp91 over 3 years ago

Changes

  • Trim new lines and spaces from password when decoded from base64
  • Updated dependencies (ws)
homebridge-ewelink -

Published by bwp91 over 3 years ago

Added

  • LAN mode for Sonoff RF Bridge

Changes

  • Fix characteristic NaN warning for LastActivation
  • More compact logging for eWeLink 504 error
  • Remove online/offline status for Zigbee sensor devices
  • Recover accessories from the cache using the UUID
  • Reduce WS timeout to 5 seconds to reduce cases of was slow to respond HB warning
  • Update wiki links in the Homebridge plugin-ui
homebridge-ewelink -

Published by bwp91 over 3 years ago

Changes

  • Remove any existing humidity sensor for TH10/16 if DS18B20 sensor is used
homebridge-ewelink -

Published by bwp91 over 3 years ago

Changes

  • Fixed an unhandled rejection error when controlling certain CCT bulbs
homebridge-ewelink -

Published by bwp91 over 3 years ago

Added

  • Support for doorbell model SA-026 (can be exposed as any sensor type as per other RF sensors)
  • Updated plugin-ui 'Support' page links to match GitHub readme file

Changes

  • Improvements to RF Bridge:
    • No more characteristic warnings for LastActivation for motion and contact sensors
    • Removed logs for 'not triggered' if device has since been triggered again
  • Fixed the interval time length for calculating total energy consumption for relevant devices
homebridge-ewelink -

Published by bwp91 over 3 years ago

Changes

  • [fix] Revert 'No Response' messages for DW2 devices as they go on and offline
homebridge-ewelink -

Published by bwp91 over 3 years ago

Changes

  • Revert 'No Response' messages for DW2 devices as they go on and offline
homebridge-ewelink -

Published by bwp91 over 3 years ago

Requirements

  • Homebridge Users

    • This plugin has a minimum requirement of Homebridge v1.3.3
  • HOOBS Users

    • This plugin has a minimum requirement of HOOBS v3.3.4

Changes

  • 'No Response' messages for Zigbee and DW2 devices as they go on and offline
  • 'No Response' messages for all devices if controlled and unsuccessful (and this status will be reverted after 5 seconds)
  • Use the new .onGet/.onSet methods available in Homebridge v1.3
  • Fixes a caching issue with the iFan accessory
  • Updated README to reflect minimum supported Homebridge/HOOBS and Node versions
  • Updated recommended Node to v14.16.1
homebridge-ewelink -

Published by bwp91 over 3 years ago

Requirements

  • Homebridge Users

    • This plugin has a minimum requirement of Homebridge v1.3.3
  • HOOBS Users

    • This plugin has a minimum requirement of HOOBS v3.3.4

Changes

  • 'No Response' messages for Zigbee and DW2 devices as they go on and offline
  • 'No Response' messages for all devices if controlled and unsuccessful (and this status will be reverted after 5 seconds)
  • Use the new .onSet methods available in Homebridge v1.3
homebridge-ewelink -

Published by bwp91 over 3 years ago

Added

  • Enter your eWeLink password as a base64 encoded string and use the option encodedPassword to let the plugin know (#223)
  • Support for zigbee colour temperature lights (ewelink uiid 1258) (#222), including:
    • Ikea Tradfri E14 600 lumen

Changes

  • Improvements to web socket connection: (#224)
    • On startup, the plugin will wait to connect to the web socket before initialising devices
    • A new web socket address will be requested if the provided address causes errors
    • In particular this should fix the ENOTFOUND as-pconnect4.coolkit.cc error that some users in the Asia continent were receiving
homebridge-ewelink -

Published by bwp91 over 3 years ago

Changes

  • Remove the custom minValue for CurrentTemperature characteristic
  • More welcome messages
  • Updated plugin-ui-utils dependency
homebridge-ewelink -

Published by bwp91 over 3 years ago

Added

  • Enable LAN control for the Sonoff SV
  • Log entries will show for 'uncontrollable' devices if mode:lan on plugin startup
  • Log entries to highlight unnecessary top-level configuration options you may have set
  • Added a note in the plugin settings about changing RF bridge sensors and its consequences

Changes

  • Remove country code configuration option as the plugin can determine your region automatically
  • Modified config schema to show titles/descriptions for non Homebridge UI users
  • Automatically show useful info in logs for 'yet to implement' devices
  • Updated links on plugin-ui to match GitHub wiki
  • [backend] Eve characteristics abstracted into separate file for better efficiency
homebridge-ewelink -

Published by bwp91 over 3 years ago

Added

  • The plugin now differentiates between LAN support for incoming and outgoing updates, allowing incoming updates for:
    • TH10/16
    • B02 and B05 bulbs

Changes

  • Attempt to fix outlet polling updates so the device reports updated info rather than the previous info.
homebridge-ewelink -

Published by bwp91 over 3 years ago

Added

  • Set up a polling interval for outlet devices to obtain power information on a regular basis (useful when the device doesn't automatically send frequent updates)

Changes

  • Adaptive Lighting now requires Homebridge 1.3 release
  • Garages no longer need 'dummy' contact sensor to view Eve history
    • For this reason, the exposeContactSensor setting is now redundant and so has been removed
  • Outlet intervals for energy calculation and updates will stop on Homebridge shutdown
homebridge-ewelink -

Published by bwp91 over 3 years ago

Added

  • Accessory Simulations
    • Expose an optional contact sensor for Eachen garage devices for historical data in the Eve app
    • Set custom minimum/maximum target temperatures for the TH10/16 thermostat simulation

Changes

  • Specify a custom IP for the Sonoff D1
  • Show full error stack on plugin disable in debug mode
  • Fixes a multiple callback error with CCT bulb accessories
  • Updated dependencies
homebridge-ewelink -

Published by bwp91 over 3 years ago

Changes

  • Fixes an issue sending LAN updates to multi-channel devices
homebridge-ewelink -

Published by bwp91 over 3 years ago

Added

  • Accessory Simulations
    • Added Door service type simulation
    • Added Window service type simulation
    • [experimental] Specify different operation time for UP and DOWN for garages, blinds, doors and windows
  • Accessories
    • Support for Sonoff DUALR3
    • Support for Konesky Mosquito Killer
    • Support for Sonoff SC (Sensor Centre)
    • [experimental] Support for Sonoff D1 LAN control

Changes

  • Less strict threshold for determining a 'significant' colour change for disabling Adaptive Lighting
Package Rankings
Top 7.98% on Npmjs.org
Badges
Extracted from project README
npm npm verified-by-homebridge hoobs-certified npm Discord