This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

comet-knx-backend

0.1.0 • Public • Published

# comet-knx-backend

Beta of an interface between knxd (the knx daemon) and CometVisu using Server Sent Events (SSE aka EventStream).

Requires

ES6 e.g. NodeJS 10 LTS, get it here: nodejs.org

Install

  • clone the repository
  • rename file config-sample.json to config.json

Configuration

  • config.json

    • the IP address or name of the knxd server: Locate knxd object, host: 'my-knxd-server.local' change to your setup
    • the default port of 32150: See http object, locate port:32150
    • if required adjust the keepaliveSecs setting - if there was no telegram to be sent upstream to the CV this triggers an empty message to force the reverse proxy to keep the session alive
    • the debug output in stdout: set the level in loglevel: 4- Debug, 3-Info, 2-Warning, 1-Error only; defaults to Warning=2
  • configure your webserver to proxy the following paths:

    • /rest/cv/read --> localhost:32150/read
    • /rest/cv/write --> localhost:32150/write
    • /rest/cv/login --> localhost:32150/login
  • configure your webserver to point /rest/cv/login in the apache settings. See the sample in 010-apache2sample.conf

Run

  • start the server with node knxcometbackend.js
  • optional parameters: --config | -c <path>: use other config-file than local config.json

not supported yet:

  • rrdfetch

Readme

Keywords

Package Sidebar

Install

npm i comet-knx-backend

Weekly Downloads

0

Version

0.1.0

License

GPL-3.0-or-later

Unpacked Size

64.3 kB

Total Files

6

Last publish

Collaborators

  • snowdd1