homebridge-plugins / homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.
MIT License
387 stars 126 forks source link

homebridge-ewelink can not be installed on new Factory reseted Hoobs 4 #330

Closed alsolaim94 closed 2 years ago

alsolaim94 commented 2 years ago

What issue do you have? Please be as thorough and explicit as possible.

I have reset my Hoobs to Factory Default. I tried to install the ewelink plugin but no success. it asking me to upgrade Homebridge to 1.3.8, however Hoobs does not offer the automatic upgrade.

12/21/2021, 1:50:10 PMeWeLink BridgeERRORThe plugin "homebridge-ewelink" requires a Homebridge version of ^1.3.8 which does not satisfy the current Homebridge version of 1.3.4. You may need to update this plugin (or Homebridge) to a newer version. You may face unexpected issues or stability problems running this plugin.

Details of your setup.

HOOBS

HOOBS: 4.0.110 Node version: 16.13.1 Homebridge: 1.3.4

HOOBS

ewelink: 8.8

Please paste any relevant logs below.

12/21/2021, 1:18:35 PMhub is running on port 80
12/21/2021, 1:48:55 PMeWeLink Bridge starting
12/21/2021, 1:49:13 PMeWeLink BridgeWARNINGNo plugins installed.
12/21/2021, 1:49:14 PMeWeLink BridgeBridge is running on port 51826.
12/21/2021, 1:49:17 PMeWeLink BridgeConfiguration change
12/21/2021, 1:49:17 PMewelinkbridge stopping
12/21/2021, 1:49:22 PMeWeLink Bridge starting
12/21/2021, 1:49:35 PMeWeLink BridgeERRORThe plugin "homebridge-ewelink" requires a Homebridge version of ^1.3.8 which does not satisfy the current Homebridge version of 1.3.4. You may need to update this plugin (or Homebridge) to a newer version. You may face unexpected issues or stability problems running this plugin.
12/21/2021, 1:49:35 PMeWeLink BridgeLoaded plugin 'homebridge-ewelink'
12/21/2021, 1:49:35 PMeWeLink BridgeLoading 1 platforms...
12/21/2021, 1:49:35 PMeWeLink BridgeeWeLinkInitialising plugin v8.8.0 | Node v16.13.1 | HB v1.3.4 | HOOBS v4...
12/21/2021, 1:49:35 PMeWeLink BridgeeWeLinkPlugin initialised. Setting up accessories....
12/21/2021, 1:49:35 PMeWeLink BridgeeWeLinkWARNING***** Disabling plugin. *****
12/21/2021, 1:49:35 PMeWeLink BridgeeWeLinkWARNING***** eWeLink credentials not configured. *****
12/21/2021, 1:49:36 PMeWeLink BridgeBridge is running on port 51826.
12/21/2021, 1:50:01 PMeWeLink BridgeConfiguration change
12/21/2021, 1:50:01 PMewelinkbridge stopping
12/21/2021, 1:50:06 PMeWeLink Bridge starting
12/21/2021, 1:50:10 PMeWeLink BridgeERRORThe plugin "homebridge-ewelink" requires a Homebridge version of ^1.3.8 which does not satisfy the current Homebridge version of 1.3.4. You may need to update this plugin (or Homebridge) to a newer version. You may face unexpected issues or stability problems running this plugin.
12/21/2021, 1:50:10 PMeWeLink BridgeLoaded plugin 'homebridge-ewelink'
12/21/2021, 1:50:10 PMeWeLink BridgeLoading 1 platforms...
12/21/2021, 1:50:10 PMeWeLink BridgeeWeLinkInitialising plugin v8.8.0 | Node v16.13.1 | HB v1.3.4 | HOOBS v4...
12/21/2021, 1:50:10 PMeWeLink BridgeeWeLinkPlugin initialised. Setting up accessories....
12/21/2021, 1:50:11 PMeWeLink BridgeBridge is running on port 51826.
12/21/2021, 1:50:11 PMeWeLink BridgeeWeLinkSending HTTP login() request.
12/21/2021, 1:50:12 PMeWeLink BridgeeWeLinkNew HTTP API host received [as-apia.coolkit.cc].
12/21/2021, 1:50:12 PMeWeLink BridgeeWeLinkSending HTTP login() request.
12/21/2021, 1:50:17 PMeWeLink BridgeeWeLinkWARNING***** Disabling plugin. *****
12/21/2021, 1:50:17 PMeWeLink BridgeeWeLinkWARNING***** Cannot find module 'es-abstract/2021/IsCallable'
Require stack:
- /var/lib/hoobs/ewelinkbridge/node_modules/promise.prototype.finally/implementation.js
- /var/lib/hoobs/ewelinkbridge/node_modules/promise.prototype.finally/index.js
- /var/lib/hoobs/ewelinkbridge/node_modules/websocket-as-promised/src/requests.js
- /var/lib/hoobs/ewelinkbridge/node_modules/websocket-as-promised/src/index.js
- /var/lib/hoobs/ewelinkbridge/node_modules/homebridge-ewelink/lib/connection/ws.js
- /var/lib/hoobs/ewelinkbridge/node_modules/homebridge-ewelink/lib/index.js
- /usr/lib/hoobsd/node_modules/homebridge/lib/plugin.js
- /usr/lib/hoobsd/node_modules/homebridge/lib/pluginManager.js
- /usr/lib/hoobsd/node_modules/homebridge/lib/api.js
- /usr/lib/hoobsd/bridge/server.js
- /usr/lib/hoobsd/bridge/index.js
- /usr/lib/hoobsd/main.js
- /usr/bin/hoobsdRequire stack:. *****
bwp91 commented 2 years ago

Hi @alsolaim94

Can you try deleting the bridge/uninstalling the plugin and starting again?

I think there was a problem with the initial plugin install - the homebridge version warning shouldn’t have an effect on the plugin.

Thanks!

stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.