steilerDev / homebridge-openhab2-complete

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)
GNU General Public License v3.0
52 stars 16 forks source link

Not sure what happened, but HomeBridge is broken because of OH2complete #64

Closed piejanssens closed 4 years ago

piejanssens commented 4 years ago
[11/4/2019, 9:18:25 PM] ---
[11/4/2019, 9:18:25 PM] Plugin /homebridge/node_modules/homebridge-tado-thermostat-plugin requires Node version of ^8.9.4 which does not satisfy the current Node version of v12.13.0. You may need to upgrade your installation of Node.
[11/4/2019, 9:18:25 PM] Loaded plugin: homebridge-tado-thermostat-plugin
[11/4/2019, 9:18:25 PM] Registering platform 'homebridge-tado-thermostat.TadoThermostat'
[11/4/2019, 9:18:25 PM] ---
[11/4/2019, 9:18:25 PM] Loaded plugin: homebridge-config-ui-x
[11/4/2019, 9:18:25 PM] Registering platform 'homebridge-config-ui-x.config'
[11/4/2019, 9:18:25 PM] ---
[11/4/2019, 9:18:25 PM] Loading 4 platforms...
[11/4/2019, 9:18:25 PM] [Ring] Initializing Ring platform...
[11/4/2019, 9:18:25 PM] [Camera-ffmpeg] Initializing Camera-ffmpeg platform...
[11/4/2019, 9:18:25 PM] Error: The requested platform 'openHAB2-Complete' was not registered by any plugin.
    at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:134:13)
    at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:327:45)
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36)
    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
[11/4/2019, 9:18:25 PM] Got SIGTERM, shutting down Homebridge...
[11/4/2019, 9:18:33 PM] Loaded config.json with 1 accessories and 4 platforms.
[11/4/2019, 9:18:33 PM] ---
[11/4/2019, 9:18:34 PM] Loaded plugin: homebridge-camera-ffmpeg
[11/4/2019, 9:18:34 PM] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[11/4/2019, 9:18:34 PM] ---
[11/4/2019, 9:18:34 PM] Loaded plugin: homebridge-dummy
[11/4/2019, 9:18:34 PM] Registering accessory 'homebridge-dummy.DummySwitch'
[11/4/2019, 9:18:34 PM] ---
[11/4/2019, 9:18:34 PM] Loaded plugin: homebridge-hubble-temp
[11/4/2019, 9:18:34 PM] Registering accessory 'homebridge-hubble-temp.HubbleCameraTemp'
[11/4/2019, 9:18:34 PM] ---
[11/4/2019, 9:18:34 PM] ====================
[11/4/2019, 9:18:34 PM] ERROR LOADING PLUGIN homebridge-openhab2-complete:
[11/4/2019, 9:18:34 PM] Error: Error relocating /homebridge/node_modules/homebridge-openhab2-complete/node_modules/sleep/build/Release/node_sleep.node: _ZN2v820EscapableHandleScope6EscapeEPPNS_8internal6ObjectE: symbol not found
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1003:18)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/homebridge/node_modules/homebridge-openhab2-complete/node_modules/sleep/index.js:1:13)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
[11/4/2019, 9:18:34 PM] ====================
[11/4/2019, 9:18:35 PM] Loaded plugin: homebridge-ring
[11/4/2019, 9:18:35 PM] Registering platform 'homebridge-ring.Ring'
[11/4/2019, 9:18:35 PM] ---
[11/4/2019, 9:18:35 PM] Loaded plugin: homebridge-tado-ac
[11/4/2019, 9:18:35 PM] Registering platform 'homebridge-tado-ac.TadoAC'
[11/4/2019, 9:18:36 PM] ---
[11/4/2019, 9:18:36 PM] Plug

homebridge-config-ui-x v4.6.3 - node.js v12.13.0

piejanssens commented 4 years ago

Reinstalling the pkg within homebridge resolved this issue.

steilerDev commented 3 years ago

Hi @piejanssens, which package did you reinstall? I am running into this at the moment myself :D

hartmood commented 3 years ago

After reinstallation of the openhab2-complete addon none of my devices respond anymore. Even the independet yeelight devices don't. Reinstalled all components including npm. No success.

piejanssens commented 3 years ago

It has been a while but I guess I did an npm update and npm i homebridge-openhab2-complete within the homebridge console.