Skip to content

Releases: homebridge-plugins/homebridge-ewelink

v7.0.2

08 Jul 23:24

Choose a tag to compare

Changes

  • Revert node version bump to v14.17.3 (back to v14.17.2)

v7.0.1

08 Jul 19:17

Choose a tag to compare

Changes

  • Device model in configuration will be validated

Fixed

  • An issue preventing garage doors and locks with a defined sensor from initialising

v7.0.0

08 Jul 07:42

Choose a tag to compare

Important Notes

  • This release includes breaking changes (denoted below with a ⚠️), so take note especially if:
    • You use the plugin in LAN-only mode,
    • You have Sonoff devices exposed as Outlet accessories, or
    • You use Accessory Simulations

Added

  • LAN Mode (without eWeLink credentials)
    • The plugin now supports removing eWeLink credentials from the config when in LAN mode. It is important to read about this feature before enabling it - read more
  • Homebridge UI
    • Device-specific settings will show and hide depending on the new 'Device Model' (deviceModel) option
    • This showing/hiding of options will hopefully be available in the HOOBS UI soon
  • Accessory Logging
    • overrideLogging setting per device type (to replace the removed overrideDisabledLogging), which can be set to (and will override the global device logging and debug logging settings):
      • "default" to follow the global device update and debug logging setting for this accessory (default if setting not set)
      • "standard" to enable device update logging but disable debug logging for this accessory
      • "debug" to enable device update and debug logging for this accessory
      • "disable" to disable device update and debug logging for this accessory
  • Startup Logging
    • An accessory warning if a manually configured IP is different from the discovered IP
    • An accessory warning if a shared device is used over the cloud
    • An accessory warning if a cloud-device is reported offline
  • No Response Status
    • Added a global setting offlineAsNoResponse to mark cloud-offline accessories as 'No Response' in HomeKit
  • Power Readings
    • Power readings (via Eve app) now visible for accessories when exposed as Switch
  • DUALR3 Devices
    • Support for LAN mode control for DUALR3 in motor mode
    • Power readings (via Eve app) available when in motor mode
    • Option to expose as a WindowCovering, Window or Door accessory type when in motor mode
  • iFan Devices
    • Support for LAN mode and ability to specify a manual IP
  • TH10/16 Devices
    • Support for LAN mode for all Accessory Simulations and ability to specify a manual IP
  • RF Bridge Devices
    • Ability to change sensor type and other configurable options without the need to re-add the accessory
    • Configuration option resetOnStartup to reset the subdevices, useful when adding/removing subdevices to the bridge
    • Added option to specify a manual IP for an RF Bridge
    • Added option to expose an RF sensor device as a Doorbell accessory type
    • Added option to expose an RF sensor device as a StatelessProgrammableSwitch accessory type
  • Light Devices
    • Remove Adaptive Lighting feature from a device by setting the adaptiveLightingShift to -1
  • Zigbee Button Devices
    • Comparison of trigger time against notification time to reduce duplicate accessory updates
    • Will no longer request current state when coming back online to reduce duplicate accessory updates
  • Zigbee Switch Devices
    • Option to expose as an Outlet
  • Humidity Sensor Devices
    • Config option to offset the recorded humidity (%RH) for devices that report this
  • Accessory Simulations
    • Expose a generic single/multi-channel device as a Doorbell accessory
    • Expose a generic single/multi-channel device as a StatelessProgrammableSwitch accessory
    • Added the option of using a DW2 or Zigbee contact sensor to determine Locked and Unlocked state for lock simulation
    • Power readings (via Eve app) visible for simulations when using a DUALR3 device
  • New Devices
    • Support for Zigbee leak sensors
    • Support for device with eWeLink UIID 67 RollingDoor

Changed

  • LAN Mode
    • ⚠️ If you have the plugin in lan-only mode then the plugin will remove any accessories that do not support LAN mode
  • Configuration
    • ⚠️ The 'Outlet Devices' (outletDevices[]) section has been removed from the configuration - you will need to reconfigured these devices within the 'Single Devices' (singleDevices[]) section
  • Accessory Simulations
    • ⚠️ The 'Accessory Simulations' (groups[]) section will be removed in a future plugin version - you should now setup your simulations from within the appropriate device type section using the 'Show As' setting
      • Simulations for TH10/16, DW2 and doorbell, p_button & sensor will need to be recreated immediately
      • Garage door, window blind, door, window, valve, tap, lock and switch-valve simulations will continue to work for now but will need to be recreated at some point in the future
    • ⚠️ Eachen GD-DC5 devices no longer need to be setup as a simulation if this deviceModel is chosen in the configuration
  • Outlet Devices
    • ⚠️ Will now be exposed by default as Switch, use the 'Show As' setting to change back to Outlet if needed
  • Homebridge UI
    • More interactive - device configuration will expand once device ID and model entered
    • Device configuration options will now hide/show based on the deviceModel field
  • Startup Logging
    • Accessory configuration options will be logged regardless of logging level
  • iFan Devices
    • Previous fan speed will be used again after turning off and on
  • Polling
    • Polling for power/temperature/humidity readings increased to two minutes
    • Polling for power/temperature/humidity readings will be skipped if device is marked as offline
  • Configuration
    • sensorTimeDifference minimum reduced to 5 seconds and default reduced to 60 seconds
  • Dependencies
    • Recommended node version bump to v14.17.3
    • Bump ws dependency to v7.5.2

Fixed

  • An issue preventing controlling a garage door simulation when using a sensor
  • An issue with the DUALR3 in motor mode hanging on 'Closing...' or 'Opening...'
  • Fixed the multiple notifications when closing an Eachen device garage door
  • A RangeError error which caused HOOBS bridge to restart

Removed

  • overrideDisabledLogging setting for each accessory type
  • outletDevices[] configuration section
  • switchDevices[].showAsOutlet removed - use switchDevices[].showAs instead
  • ContactSensorState and other unneeded characteristics from garage (simulation) services

v6.8.0

14 Jun 07:11

Choose a tag to compare

Added

  • Accessory Simulations
    • Expose a single/multi channel device as any type of sensor
    • Expose a single/multi channel device an Air Purifier
    • Expose a TH10/16 device as a Cooler
    • Expose a TH10/16 device as a Humidifier
    • Expose a TH10/16 device as a Dehumidfier
  • LAN Mode
    • Enabled for TH10/16 (requires firmware 3.5.0, not available when using an accessory simulation)
  • Plugin UI
    • Show MAC address of accessory in plugin-ui

Changes

  • TH10/16 simulation accessory type change from Thermostat to Heater
  • Remove setup config option for simulations as device type is now automatically determined
  • Fix a logging issue for the zigbee contact sensor

v6.7.1

27 May 08:05

Choose a tag to compare

Changes

  • Fixes an issue with sensors with a garage simulation
  • Fixes an issue with TH10/16 devices with web socket timeouts

v6.7.0

26 May 07:34

Choose a tag to compare

Added

  • Hide a contact sensor from HomeKit when used with a garage door simulation
  • Support devices with eWeLink UIID 112, 113, 114

Changes

  • Avoid repeated battery logging for the Sonoff DW2
  • iFan logging modifications
  • Fix internal API auth issue when using a base64 encoded password
  • Throw an error when controlling a device when the web socket is closed (avoid queuing updates)
  • Recommended node version bump to v14.17.0
  • Bump ws dependency to v7.4.6
  • Use standard-prettier code formatting

v6.6.0

10 May 08:58

Choose a tag to compare

Added

  • Log internal API requests when in debug mode
  • Support querying temperature and humidity values via the internal API

Changes

  • Removed encodedPassword and language config options
    • The plugin will now initially try the supplied password and if incorrect will attempt another login with a base64 decoded version
    • Language option unnecessary until if and when other languages are available
  • Display temperature and humidity units for the zigbee temperature/humidity sensor in the logs
  • Fixes an issue where the web socket would not close on plugin shutdown
  • Reduce the 'No Response' timeout to 2 seconds
  • Update the correct corresponding characteristic after the 'No Response' timeout
  • Ensure user is using at least Homebridge v1.3.0
  • Update homebridge-ui wiki links to match github readme file

v6.5.1

07 May 05:37

Choose a tag to compare

Changes

  • Fixes an initialisation issue with the 'garage' and 'obstruction detection' switch simulations
  • Amendments to internal API endpoints
  • Device IP changes will now reflect correctly

v6.5.0

06 May 12:22

Choose a tag to compare

Added

  • Internal HTTP API to query/control the state of certain homebridge-ewelink accessories
    • Options for new configuration setting apiPort are:
      • 0 to disable the API (default setting)
      • 1 to enable the API with a random available port (port will be shown in the log)
      • Any higher integer to enable the API on this fixed port
    • Documentation for the API can be seen at the base url (Homebridge IP + API port)

v6.4.0

04 May 17:50

Choose a tag to compare

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