Giter Site home page Giter Site logo

homebridge-helios-kwl's People

Contributors

ubreu avatar

Watchers

 avatar

homebridge-helios-kwl's Issues

Error "unexpected server response: 200"

Describe Your Problem:

I tried to connect a KWL easy controls v2.27 and I am getting a connection error.

Logs:

[27/03/2024, 16:29:46] [@ubreu/homebridge-helios-kwl] Child bridge process ended
[27/03/2024, 16:29:46] [@ubreu/homebridge-helios-kwl] Process Ended. Code: 1, Signal: null
[27/03/2024, 16:29:53] [@ubreu/homebridge-helios-kwl] Restarting Process...
[27/03/2024, 16:29:54] [@ubreu/homebridge-helios-kwl] Launched child bridge with PID 27144
[27/03/2024, 16:29:54] Registering platform '@ubreu/homebridge-helios-kwl.HeliosKwlHomebridgePlugin'
[27/03/2024, 16:29:54] [@ubreu/homebridge-helios-kwl] Loaded @ubreu/homebridge-helios-kwl v0.1.1 child bridge successfully
[27/03/2024, 16:29:54] [@ubreu/homebridge-helios-kwl] Finished initializing platform: @ubreu/homebridge-helios-kwl
[27/03/2024, 16:29:54] Publishing bridge accessory (name: @ubreu/homebridge-helios-kwl, publishInfo: {
  username: '0E:92:ED:A5:82:A2',
  port: 51179,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'avahi'
}).
[27/03/2024, 16:29:54] [@ubreu/homebridge-helios-kwl] Executed didFinishLaunching callback
[27/03/2024, 16:29:54] [@ubreu/homebridge-helios-kwl] Connecting to: ws://192.168.1.101 80
[27/03/2024, 16:29:54] [@ubreu/homebridge-helios-kwl] connection error Error: Unexpected server response: 200
    at ClientRequest.<anonymous> (/var/lib/homebridge/node_modules/@ubreu/homebridge-helios-kwl/node_modules/ws/lib/websocket.js:912:7)
    at ClientRequest.emit (node:events:517:28)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:700:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at Socket.socketOnData (node:_http_client:541:22)
    at Socket.emit (node:events:517:28)
    at addChunk (node:internal/streams/readable:335:12)
    at readableAddChunk (node:internal/streams/readable:308:9)
    at Socket.Readable.push (node:internal/streams/readable:245:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
[27/03/2024, 16:29:54] [@ubreu/homebridge-helios-kwl] connection closed
UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "connection error".
[27/03/2024, 16:29:54] [@ubreu/homebridge-helios-kwl] Child bridge process ended
[27/03/2024, 16:29:54] [@ubreu/homebridge-helios-kwl] Process Ended. Code: 1, Signal: null

Plugin Config:

{
    "name": "@ubreu/homebridge-helios-kwl",
    "heliosHost": "192.168.1.101",
    "heliosPort": 80,
    "platform": "HeliosKwlHomebridgePlugin",
    "_bridge": {
        "username": "0E:92:ED:A5:82:A2",
        "port": 51179
    }
}

Environment:

  • Plugin Version: v0.1.1
  • Homebridge Version: 1.7.0
  • Node.js Version: v18.18.2
  • NPM Version: 9.8.1
  • Operating System: Raspbian

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.