hoobs-org / HOOBS

Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
https://hoobs.org
GNU General Public License v3.0
552 stars 51 forks source link

unable to start hoobs service #993

Closed tarunprakashsingh closed 3 years ago

tarunprakashsingh commented 3 years ago

unable to start hoobs service.... I am able to login to server via laptop but not via app or browser on the phone. service is not starting and so nothing works Log pasted below....

12/29/2020, 7:21:44 PM HOOBS listening on port 80. 12/29/2020, 7:21:56 PM Loaded plugin 'homebridge-adt-pulse' 12/29/2020, 7:21:56 PM [12/29/2020, 5:21:56 PM] Registering platform 'homebridge-adt-pulse.ADTPulse' 12/29/2020, 7:21:57 PM Loaded plugin 'homebridge-harmony' 12/29/2020, 7:21:57 PM [12/29/2020, 5:21:57 PM] Registering platform 'homebridge-harmony.HarmonyHubWebSocket' 12/29/2020, 7:22:00 PM Loaded plugin 'homebridge-ring' 12/29/2020, 7:22:00 PM [12/29/2020, 5:22:00 PM] Registering platform 'homebridge-ring.Ring' 12/29/2020, 7:22:00 PM Loading 4 platforms... 12/29/2020, 7:22:00 PM [Ring] Initializing Ring platform... 12/29/2020, 7:22:00 PM [Living Room] Initializing HarmonyHubWebSocket platform... 12/29/2020, 7:22:00 PM [Living Room] HarmonyPlatform Init 12/29/2020, 7:22:00 PM [ADT Pulse] Initializing ADTPulse platform... 12/29/2020, 7:22:00 PM Error loading platform requested in your config.json at position 4 12/29/2020, 7:22:00 PM Error: The requested platform 'SmartThings-v2' was not registered by any plugin. at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/homebridge/lib/pluginManager.js:152:23) at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:334:45 at Array.forEach () at Server.loadPlatforms (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:320:31) at Server.start (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:152:35) at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/cli.js:94:16 at processTicksAndRejections (internal/process/task_queues.js:97:5) 12/29/2020, 7:22:00 PM Got SIGTERM, shutting down Bridge... 12/29/2020, 7:22:00 PM [Living Room] INFO - shutdown 12/29/2020, 7:22:00 PM [Living Room] INFO - shutdown 12/29/2020, 7:22:02 PM Loaded plugin 'homebridge-adt-pulse' 12/29/2020, 7:22:02 PM [12/29/2020, 5:22:02 PM] Registering platform 'homebridge-adt-pulse.ADTPulse' 12/29/2020, 7:22:02 PM Loaded plugin 'homebridge-harmony' 12/29/2020, 7:22:02 PM [12/29/2020, 5:22:02 PM] Registering platform 'homebridge-harmony.HarmonyHubWebSocket' 12/29/2020, 7:22:04 PM Loaded plugin 'homebridge-ring' 12/29/2020, 7:22:04 PM [12/29/2020, 5:22:04 PM] Registering platform 'homebridge-ring.Ring' 12/29/2020, 7:22:04 PM Loading 4 platforms... 12/29/2020, 7:22:04 PM [Ring] Initializing Ring platform... 12/29/2020, 7:22:04 PM [Living Room] Initializing HarmonyHubWebSocket platform... 12/29/2020, 7:22:04 PM [Living Room] HarmonyPlatform Init 12/29/2020, 7:22:04 PM [ADT Pulse] Initializing ADTPulse platform... 12/29/2020, 7:22:04 PM Error loading platform requested in your config.json at position 4 12/29/2020, 7:22:04 PM Error: The requested platform 'SmartThings-v2' was not registered by any plugin. at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/homebridge/lib/pluginManager.js:152:23) at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:334:45 at Array.forEach () at Server.loadPlatforms (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:320:31) at Server.start (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:152:35) at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/cli.js:94:16 at processTicksAndRejections (internal/process/task_queues.js:97:5) 12/29/2020, 7:22:04 PM Got SIGINT, shutting down Bridge... 12/29/2020, 7:22:04 PM [Living Room] INFO - shutdown 12/29/2020, 7:22:04 PM [Living Room] INFO - shutdown

mkellsy commented 3 years ago

Error: The requested platform 'SmartThings-v2' was not registered by any plugin

Check your config. Do you have the smart things v2 plugin installed?

Also please use the issue templates. It asks for information that helps us diagnose your issue.

tarunprakashsingh commented 3 years ago

Yes i had everything working with smarthings... now its not

On Tue, Dec 29, 2020 at 8:13 PM Michael Kellsy notifications@github.com wrote:

Error: The requested platform 'SmartThings-v2' was not registered by any plugin

Check your config. Do you have the smart things v2 plugin installed?

Also please use the issue templates. It asks for information that helps us diagnose your issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoobs-org/HOOBS/issues/993#issuecomment-752293491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFTGSPLQYBMQQHTRM57ACTSXJ5D5ANCNFSM4VNYFAGQ .

-- Thanks Tarun Singh

Like Us on Facebook CricketDepotOnline http://www.facebook.com/CricketDepotOnline Like Us on Facebook XTreme Cricket USA http://www.facebook.com/XtremeCricketUSA

askovi commented 3 years ago

According to your logs, it says you have smartthings in your configuration file (you can see it by clicking the Advanced tab in the HOOBS settings), but you don't have the SmartThings plugin installed. Can you check if it's actually installed? If it isn't then install the plugin. If it's already installed, try uninstalling it then make sure to remove any smartthings related configuration from the Advanced tab if it doesn't get auto removed when uninstalling the plugin. Then simply reinstall the plugin and configure it.

rjbh002 commented 3 years ago

This is also happening to me as well. This happens after updating to version 2.3.5 of the plug-in. I believe there is a bug in the plug-in. Someone needs to roll-back the update.

tarunprakashsingh commented 3 years ago

yes and now it shows there new version available but its not updating to that.

On Thu, Dec 31, 2020 at 2:36 PM rjbh002 notifications@github.com wrote:

This is also happening to me as well. This happens after updating to version 2.3.5 of the plug-in. I believe there is a bug in the plug-in. Someone needs to roll-back the update.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoobs-org/HOOBS/issues/993#issuecomment-753033472, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFTGSPUNE656NVQC6BMU23SXTHDDANCNFSM4VNYFAGQ .

-- Thanks Tarun Singh

Like Us on Facebook CricketDepotOnline http://www.facebook.com/CricketDepotOnline Like Us on Facebook XTreme Cricket USA http://www.facebook.com/XtremeCricketUSA

rjbh002 commented 3 years ago

What version is it showing? mine still shows 2.3.5 is the most recent version.

tarunprakashsingh commented 3 years ago

Yes 2.3.5 Mine is on 2.3.4 and its not upgrading to latest...

On Thu, Dec 31, 2020 at 2:42 PM rjbh002 notifications@github.com wrote:

What version is it showing? mine still snows 2.3.5 is the most recent version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoobs-org/HOOBS/issues/993#issuecomment-753040516, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFTGSJLII7XJ7UOBZAGK7TSXTHY5ANCNFSM4VNYFAGQ .

-- Thanks Tarun Singh

Like Us on Facebook CricketDepotOnline http://www.facebook.com/CricketDepotOnline Like Us on Facebook XTreme Cricket USA http://www.facebook.com/XtremeCricketUSA

rjbh002 commented 3 years ago

Interesting mine was on 2.3.4 and worked fine. Started having the issue when I upgraded to 2.3.5.

mkellsy commented 3 years ago

You can downgrade the plugin with this command

cd ~/.hoobs
npm install homebridge-smartthings-v2@2.3.4

However the plugin dev want's you to use his new plugin. So you can backup your config. Then uninstall SmartThings V2 Then install SmartThings.

Here's the message from homebridge-smartthings-v3

I've acquired the original homebridge-smartthings repo and npm package from @pdlove and i've updated the code to the latest v2.x Please use the new version here: https://github.com/tonesto7/homebridge-smartthings

stale[bot] commented 3 years ago

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