Giter Club home page Giter Club logo

homebridge-ailight's People

Contributors

stelgenhof avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homebridge-ailight's Issues

ERROR LOADING PLUGIN homebridge-ailight

[2/25/2018, 9:13:07 AM] ====================
[2/25/2018, 9:13:08 AM] ERROR LOADING PLUGIN homebridge-ailight:
[2/25/2018, 9:13:08 AM] Error: Plugin /usr/local/lib/node_modules/homebridge-ailight requires a HomeBridge version of 0.4.28 which does not satisfy the current HomeBridge version of 0.4.38. You may need to upgrade your installation of HomeBridge.
at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:56:11)
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:142:14)
at Array.forEach (native)
at Server._loadPlugins (/usr/local/lib/node_modules/homebridge/lib/server.js:138:22)
at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:56:24)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
[2/25/2018, 9:13:08 AM] ====================

some error

[5/19/2018, 1:18:14 PM] Plugin /usr/lib/nodejs does not have a package name that begins with 'homebridge-'.
[5/19/2018, 1:18:14 PM] Plugin /usr/lib/node_modules/homebridge-ailight requires Node version of 6.11.3 which does not satisfy the current Node version of v7.1.0. You may need to upgrade your installation of Node.
[5/19/2018, 1:18:16 PM] Loaded plugin: homebridge-ailight
[5/19/2018, 1:18:16 PM] Registering accessory 'homebridge-ailight.AiLight'
[5/19/2018, 1:18:16 PM] ---
[5/19/2018, 1:18:16 PM] Loaded plugin: homebridge-mqtt-blinds
[5/19/2018, 1:18:16 PM] Registering accessory 'homebridge-mqtt-blinds.BlindsMQTT'
[5/19/2018, 1:18:16 PM] ---
[5/19/2018, 1:18:17 PM] Loaded plugin: homebridge-mqtt-dimmer
[5/19/2018, 1:18:17 PM] Registering accessory 'homebridge-mqtt-dimmer.mqtt-dimmer'
[5/19/2018, 1:18:17 PM] ---
[5/19/2018, 1:18:18 PM] Loaded plugin: homebridge-mqtt-door
[5/19/2018, 1:18:18 PM] Registering accessory 'homebridge-mqtt-door.mqtt-door'
[5/19/2018, 1:18:18 PM] ---
[5/19/2018, 1:18:18 PM] Loaded plugin: homebridge-mqttgaragedoor
[5/19/2018, 1:18:18 PM] Registering accessory 'homebridge-mqttgarage.Mqttgarage'
[5/19/2018, 1:18:18 PM] ---
[5/19/2018, 1:18:19 PM] Loaded plugin: homebridge-mqttlightbulb
[5/19/2018, 1:18:19 PM] Registering accessory 'homebridge-mqttlightbulb.mqttlightbulb'
[5/19/2018, 1:18:19 PM] ---
[5/19/2018, 1:18:19 PM] Loaded config.json with 4 accessories and 0 platforms.
[5/19/2018, 1:18:19 PM] ---
[5/19/2018, 1:18:19 PM] Loading 0 platforms...
[5/19/2018, 1:18:19 PM] Loading 4 accessories...
[5/19/2018, 1:18:19 PM] [Building Door] Initializing mqtt-door accessory...
[5/19/2018, 1:18:19 PM] [Garage?ppnare] Initializing Mqttgarage accessory...
[5/19/2018, 1:18:19 PM] [Bedroom Light] Initializing AiLight accessory...
[5/19/2018, 1:18:19 PM] [crome] Initializing Mqttgarage accessory...
Setup Payload:
X-HM://0024XUS27J3NI
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐
│ 888-89-999 │
└────────────┘

[5/19/2018, 1:18:20 PM] Homebridge is running on port 51826.
[5/19/2018, 1:18:36 PM] [crome] getDoorPosition
[5/19/2018, 1:18:36 PM] [crome] getObstructionDetected
[5/19/2018, 1:18:36 PM] [crome] getDoorTargetPosition
[5/19/2018, 1:18:36 PM] [Garage?ppnare] getObstructionDetected
[5/19/2018, 1:18:36 PM] [Garage?ppnare] getDoorPosition
[5/19/2018, 1:18:36 PM] [Garage?ppnare] getDoorTargetPosition
undefined:1

SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at AiLightAccessory. (/usr/lib/node_modules/homebridge-ailight/index.js:226:25)
at Request._callback (/usr/lib/node_modules/homebridge-ailight/index.js:47:7)
at Request.self.callback (/usr/lib/node_modules/homebridge-ailight/node_modules/request/request.js:185:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/usr/lib/node_modules/homebridge-ailight/node_modules/request/request.js:1157:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/usr/lib/node_modules/homebridge-ailight/node_modules/request/request.js:1079:12)

Cannot register plugin

I installed plug-in and modified config file as sample config. But this message showed when I restarted homebridge
Error: The requested accessory 'AiLight' was not registered by any plugin.

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.