Giter VIP home page Giter VIP logo

homebridge-secvest's People

Contributors

chris1705 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebridge-secvest's Issues

iobroker.ham implementing is not working

Hello Sir, i just tried to install you npm Plugin homebridge-secvest on latest iobroker.ham.

My Problem is that i see only the 4 Teilbereiche, the other actors i cant see, could you please check?

The fault:
Accessories must be created with a non-empty displayName.

Trace:
2018-10-17 11:28:40.311 - error: Caught by controller[1]: Error: Accessories must be created with a non-empty displayName.
2018-10-17 11:28:40.311 - error: Caught by controller[1]: at new Accessory (/opt/iobroker/node_modules/homebridge-plugin-wrapper/hap-nodejs/lib/Accessory.js:47:27)
2018-10-17 11:28:40.311 - error: Caught by controller[1]: at Server._createAccessory (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:428:21)
2018-10-17 11:28:40.311 - error: Caught by controller[1]: at Server. (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:396:32)
2018-10-17 11:28:40.311 - error: Caught by controller[1]: at /opt/iobroker/node_modules/homebridge-plugin-wrapper/hap-nodejs/lib/util/once.js:16:19
2018-10-17 11:28:40.311 - error: Caught by controller[1]: at self.getPartitions (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-secvest/index.js:83:7)
2018-10-17 11:28:40.311 - error: Caught by controller[1]: at IncomingMessage.res.on (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-secvest/index.js:68:11)
2018-10-17 11:28:40.312 - error: Caught by controller[1]: at emitOne (events.js:116:13)
2018-10-17 11:28:40.312 - error: Caught by controller[1]: at IncomingMessage.emit (events.js:211:7)
2018-10-17 11:28:40.312 - error: Caught by controller[1]: at addChunk (_stream_readable.js:263:12)
2018-10-17 11:28:40.312 - error: Caught by controller[1]: at readableAddChunk (_stream_readable.js:250:11)
2018-10-17 11:28:40.312 - error: Caught by controller[2]: { Error: Parse Error
2018-10-17 11:28:40.312 - error: Caught by controller[2]: at TLSSocket.socketOnData (_http_client.js:440:20)
2018-10-17 11:28:40.313 - error: Caught by controller[2]: at emitOne (events.js:116:13)
2018-10-17 11:28:40.313 - error: Caught by controller[2]: at TLSSocket.emit (events.js:211:7)
2018-10-17 11:28:40.313 - error: Caught by controller[2]: at addChunk (_stream_readable.js:263:12)
2018-10-17 11:28:40.313 - error: Caught by controller[2]: at readableAddChunk (_stream_readable.js:250:11)
2018-10-17 11:28:40.313 - error: Caught by controller[2]: at TLSSocket.Readable.push (_stream_readable.js:208:10)
2018-10-17 11:28:40.313 - error: Caught by controller[2]: at TLSWrap.onread (net.js:601:20) bytesParsed: 0, code: 'HPE_CB_body' }

Kind regards

SecvestIP?

Does this plugin also support Abus' SecvestIP?

Block-scoped declaration not supported outside strict mode

I installed the plugin, but when loading homebridge the secvest plugin throughs this error:

ERROR LOADING PLUGIN homebridge-secvest:
[2017-01-27 10:24:54] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:65:22)
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:132:14)
at Array.forEach (native)
at Server._loadPlugins (/usr/local/lib/node_modules/homebridge/lib/server.js:128:22)
at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:51: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:409:26)
at Object.Module._extensions..js (module.js:416:10)

Any idea? I'm running Raspbian via Noobs on a Pi2

Proxy or https error?

I get this error when running homebridge and after installation and plugin initialization ran without errors.

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: write EPROTO 1995735568:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:

    at exports._errnoException (util.js:1022:11)
    at WriteWrap.afterWrite (net.js:801:14)

Note that I changed the port in the index.js to my used sevest port already. Any idea? The secvest is only available via http, which might be the cause when I (resp. google) understand(s) the error correctly.

I tried also to put http:// in front of my IP address in the config.json but got this error

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: getaddrinfo ENOTFOUND http://192.168.0.21 http://192.168.0.21:1024
    at errnoException (dns.js:28:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

Any idea how to help?

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.