Code Monkey home page Code Monkey logo

Comments (11)

brianwarehime avatar brianwarehime commented on July 17, 2024 1

@bradleyrawleigh I don't think I did anything special to get it working. Here's the part of the config for mine:
{ "accessory": "Xbox", "name": "Xbox", "ipAddress": "192.168.1.185", "liveId": "FD11A74D6F918BD3" }

from homebridge-wink.

brianwarehime avatar brianwarehime commented on July 17, 2024

Seeing the same thing as well:

`[7/8/2016, 8:40:56 PM] ERROR LOADING PLUGIN homebridge-wink:
[7/8/2016, 8:40:56 PM] TypeError: Path must be a string. Received null
at assertPath (path.js:7:11)
at Object.dirname (path.js:1326:5)
at Object. (/usr/lib/node_modules/homebridge-wink/node_modules/config-file/index.js:17:21)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object. (/usr/lib/node_modules/homebridge-wink/node_modules/wink-js/index.js:4:14)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
[7/8/2016, 8:40:56 PM] ====================
[7/8/2016, 8:40:56 PM] Loaded plugin: homebridge-xbox-one
[7/8/2016, 8:40:56 PM] Registering accessory 'homebridge-xbox-one.Xbox'
[7/8/2016, 8:40:56 PM] ---
[7/8/2016, 8:40:56 PM] Loaded config.json with 3 accessories and 2 platforms.
[7/8/2016, 8:40:56 PM] ---
[7/8/2016, 8:40:56 PM] Loading 2 platforms...
[7/8/2016, 8:40:56 PM] [Security Panel] Initializing Alarmdotcom platform...
/usr/lib/node_modules/homebridge/lib/api.js:106
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^

Error: The requested platform 'Wink' was not registered by any plugin.
at API.platform (/usr/lib/node_modules/homebridge/lib/api.js:106:13)
at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:263:45)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:71:36)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.runMain (module.js:575:10)
at run (node.js:348:7)
at startup (node.js:140:9)
at node.js:463:3
`

from homebridge-wink.

bradleyrawleigh avatar bradleyrawleigh commented on July 17, 2024

@brianwarehime I've tried to use the xbox one pluggin previously and failed, how did you get yours working properly? mine is connected through ethernet with a set IP on my network.....

from homebridge-wink.

bradleyrawleigh avatar bradleyrawleigh commented on July 17, 2024

ill try it again, Thanks @brianwarehime

from homebridge-wink.

dcgrove avatar dcgrove commented on July 17, 2024

Has anyone been able to figure this out? I have Homebridge running on one server, but want to install it on more stable hardware and am getting this message when trying to start it.

clayton@bigserver:~$ homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[9/16/2016, 9:34:32 AM] ====================
[9/16/2016, 9:34:32 AM] ERROR LOADING PLUGIN homebridge-wink:
[9/16/2016, 9:34:32 AM] TypeError: Path must be a string. Received null
at assertPath (path.js:7:11)
at Object.dirname (path.js:1326:5)
at Object. (/usr/lib/node_modules/homebridge-wink/node_modules/config-file/index.js:17:21)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
[9/16/2016, 9:34:32 AM] ====================
[9/16/2016, 9:34:32 AM] No plugins found. See the README for information on installing plugins.
[9/16/2016, 9:34:32 AM] Loaded config.json with 1 accessories and 1 platforms.
[9/16/2016, 9:34:32 AM] ---
[9/16/2016, 9:34:32 AM] Loading 1 platforms...
/usr/lib/node_modules/homebridge/lib/api.js:106
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^

Error: The requested platform 'Wink' was not registered by any plugin.
at API.platform (/usr/lib/node_modules/homebridge/lib/api.js:106:13)
at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:263:45)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:71:36)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
clayton@bigserver:~$

from homebridge-wink.

chado99 avatar chado99 commented on July 17, 2024

I'm having the same issue. I'm running a RPi3 version 6.6 of node. Just did clean install of everything.

My error:
_[9/21/2016, 10:57:06 PM] ERROR LOADING PLUGIN homebridge-wink:
[9/21/2016, 10:57:06 PM] TypeError: Path must be a string. Received null
at assertPath (path.js:7:11)
at Object.dirname (path.js:1326:5)
at Object. (/usr/lib/node_modules/homebridge-wink/node_modules/config-file/index.js:17:21)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/usr/lib/node_modules/homebridge-wink/node_modules/wink-js/index.js:4:14)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/usr/lib/node_modules/homebridge-wink/index.js:2:12)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module.load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Plugin.load (/usr/lib/node_modules/homebridge/lib/plugin.js:65:22)
at Server. (/usr/lib/node_modules/homebridge/lib/server.js:112:14)
[9/21/2016, 10:57:06 PM] ====================

from homebridge-wink.

ericvogel84 avatar ericvogel84 commented on July 17, 2024

Same exact problem as Chado and DCGrove... anyone figure it out? I also did a fresh install on my RPi with Node 6.6. I previously had it running for MONTHS just fine... maybe I need to go back to Node 4.x? Anyone? Bueller?

from homebridge-wink.

dcgrove avatar dcgrove commented on July 17, 2024

I fixed this by going to Node 4.5.

from homebridge-wink.

ericvogel84 avatar ericvogel84 commented on July 17, 2024

Thanks!! I'll give it a shot tonight.

from homebridge-wink.

luken avatar luken commented on July 17, 2024

Downgrading to 4.5 worked for me, but I had to npm uninstall homekit packages then reinstall, as discussed in #53

from homebridge-wink.

chado99 avatar chado99 commented on July 17, 2024

Yes, I solved ignored by downgrading to the last Node LTE version which was 4.5. Uninstall everything then reinstall everything (everything being homeveidge node and related packages)

from homebridge-wink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.