Habe nun die config.json auf meine Anlage angepasst (geprüft mit JSONLint). Leider startet der homebridge Server nun nicht mehr:
Code:
ubuntu@ubuntu-VirtualBox:~/homebridge$ npm run start
> homebridge@0.1.1 start /home/ubuntu/homebridge
> DEBUG=* node app.js || true
*** 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>
Starting HomeBridge server...
_____________________________________________________________________
IMPORTANT: Homebridge is in the middle of some big changes.
Read more about it here:
https://github.com/nfarina/homebridge/wiki/Migration-Guide
_____________________________________________________________________
Loading 2 platforms...
[undefined] Initializing YamahaAVR platform...
[undefined] Getting Yamaha AVR devices.
[KNX] Initializing KNX platform...
[KNX] Fetching KNX devices.
[KNX] parsing acc 0 of 2
[KNX] push new universal device Werkstatt Licht Wohnen
[KNX] Accessory constructor called
[KNX] created Werkstatt Licht Wohnen universal accessory
[KNX] parsing acc 1 of 2
[KNX] push new universal device Werkstatt
[KNX] Accessory constructor called
[KNX] created Werkstatt universal accessory
[KNX] returning 2 accessories
[KNX] Initializing platform accessory 'Werkstatt Licht Wohnen'...
[KNX] Preparing Services: 1
[KNX] Preparing Service: 0 of type Lightbulb
[KNX] Lightbulb on/off characteristic enabled
[KNX] knx registering BOOLEAN 1/1/2,1/1/2
[KNX] Issuing read requests on the KNX bus...
>>> knxd groupsocketlisten starting <<<
[KNX] Initializing platform accessory 'Werkstatt'...
[KNX] Preparing Services: 2
[KNX] Preparing Service: 0 of type Lightbulb
[KNX] Lightbulb on/off characteristic enabled
[KNX] knx registering BOOLEAN 1/1/1
[KNX] Issuing read requests on the KNX bus...
[KNX] Preparing Service: 1 of type Thermostat
[KNX] Thermostat CurrentTemperature characteristic enabled
[KNX] knx registering FLOAT ,1/1/10
[KNX] Issuing read requests on the KNX bus...
[KNX] Thermostat TargetTemperature characteristic enabled
[KNX] knx registering FLOAT 1/1/10
[KNX] Issuing read requests on the KNX bus...
[KNX] Thermostat CurrentHeatingCoolingState characteristic enabled
[KNX] knx registering HVAC ,1/1/10
[KNX] Issuing read requests on the KNX bus...
<< knxd socket listener already running >>
Loading 0 accessories...
(node) warning: possible EventEmitter memory leak detected. 11 data listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Socket.addListener (events.js:179:15)
at Socket.Readable.on (_stream_readable.js:671:33)
at Connection.openTGroup (/home/ubuntu/homebridge/node_modules/eibd/lib/connection.js:142:15)
at Object.<anonymous> (/home/ubuntu/homebridge/accessories/knxdevice.js:123:20)
at Socket.emit (events.js:129:20)
at onwriteError (_stream_writable.js:317:10)
at onwrite (_stream_writable.js:335:5)
at WritableState.onwrite (_stream_writable.js:105:5)
at fireErrorCallbacks (net.js:456:13)
at Socket._destroy (net.js:467:5)
events.js:0
(null)
RangeError: Maximum call stack size exceeded


Einen Kommentar schreiben: