HubConnect (0.3.1) and Hoobs (3.2.4) Plugin won't load/install

I just got a brand new Hoobs and tried installing the HubConnect plugin, it seems to install but shows no configuration. When looking at the logs it appears to fail to load the plugin. I tried the similar MakerAPI plugin as well, and got basically the same error. The plug-in I installed for Smartthings worked just fine however.

The Hoobs device is brand new, just got it today, and is updated to the latest version 3.2.4. The HubConnect Plugin is version 0.3.10.. Seems like others have been running the HubConnect plugin without any problems on Hoobs.. So anyone have any ideas why I'm this error? Stack trace below..

5/18/2020, 8:33:08 PM + homebridge-hubitat-hubconnect@0.3.10
added 30 packages from 19 contributors in 17.324s
5/18/2020, 8:33:09 PM 
7 packages are looking for funding
  run `npm fund` for details
5/18/2020, 8:33:09 PM winston.Logger is not a constructor
5/18/2020, 8:33:09 PM Unable to determine plugin type for "homebridge-hubitat-hubconnect"
5/18/2020, 8:33:09 PM Plugin "homebridge-hubitat-hubconnect" installed.
5/18/2020, 8:33:09 PM winston.Logger is not a constructor
5/18/2020, 8:33:09 PM Unable to determine plugin type for "homebridge-hubitat-hubconnect"
5/18/2020, 8:33:10 PM Got SIGINT, shutting down Bridge...
5/18/2020, 8:33:10 PM winston.Logger is not a constructor
5/18/2020, 8:33:10 PM Unable to determine plugin type for "homebridge-hubitat-hubconnect"
5/18/2020, 8:33:15 PM Error loading plugin "homebridge-hubitat-hubconnect".
5/18/2020, 8:33:15 PM TypeError: winston.Logger is not a constructor
    at new Logger (/home/hoobs/.hoobs/node_modules/homebridge-hubitat-hubconnect/lib/Logger.js:91:17)
    at Object.<anonymous> (/home/hoobs/.hoobs/node_modules/homebridge-hubitat-hubconnect/lib/Logger.js:40:12)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/home/hoobs/.hoobs/node_modules/homebridge-hubitat-hubconnect/index.js:24:16)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Plugin.load (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/plugin.js:44:35)

You want maker with homebridge/hoobs.

Make sure you select the devices in hoobs you want to share out.

The MakerAPI is working fine on the my Hubitat as is Hubconnect. I have Hubconnect working with my SmartThings Hub. The problem in on the homebridge/hoobs side. Both homebridge-hubitat-hubconnect and homebridge-hubitat-makerapi plugins will not load with similar errors regarding the Winston logger. It appears it may be a compatibility issue, that Hoobs is using a newer version of the logger which deprecated the method these plugins are using to create the logger.

In a google search I found mention of a bug in the homebridge-smartthings-v2 plugin having the same problem on Hoobs, but it was patched. That plugin works fine for me and is connected up to my SmartThings Hub.

@matt9 Did you ever get it running on hoobs? I am running 3.3.2 hoobs and I am having the same issue you were having.

Sorry to hear that.. Sadly I never did get it working. I had problems with another plug-in as well and ended up just getting rid of my Hoobs in favor of a Raspberry PI running the latest version of Homebridge.

The main reason I got the Hoobs was the web interface. The newest Homebridge added something similar. So with the main "selling point" for me no longer a factor, coupled with it giving me nothing but hassles, I just switched to Homebridge and haven't looked back.

Wish I had a better answer for you.. :frowning: Good luck.

1 Like

I am just getting started with Hubitat and I'm transitioning from ST. I didn't realize they had made the improvements to homebridge. I spun up a docker image and got it setup with hubconnect. I appreciate you letting me know about your journey so I wouldn't spend a lot of time trying to figure it out.

I appreciate your help!

There's a lot of people using HOOBS here who may be able to help. But I agree - running HomeBridge with config-ui-x is just as easy (and convenient).

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.