Comments (7)
Hi there is some other service already using that port. Probably killed another instance with ctrl-z instead of ctrl-c? That is only pausing the program and not killing it.
I simply propose to restart your pi to free the port.
If the problem persists, you'll need some Linux guru (or google) to find out what process is occupying the port 51826.
from homebridge-knx.
HAP-Nodejs was running, now its closed, but now i get the following error. If i read google they say its a knxd connection problem, but how to check this.
*** 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
Loaded plugin: homebridge-knx
Registering platform 'homebridge-knx.KNX'
Loaded config.json with 0 accessories and 1 platforms.
Loading 1 platforms...
[KNX] Initializing KNX platform...
[KNX] Fetching KNX devices.
[KNX] parsing acc 0 of 1
[KNX] push new universal device Tafel lamp
[KNX] Accessory constructor called
[KNX] created Tafel lamp universal accessory
[KNX] returning 1 accessories
[KNX] Initializing platform accessory 'Tafel lamp'...
[KNX] Preparing Services: 1
[KNX] Preparing Service: 0 of type Lightbulb
[KNX] [Tafel lamp]:Lightbulb on/off characteristic enabled
[KNX] knx registering BOOLEAN 2/1/2,2/4/2
[KNX] [Tafel lamp]:[On]: Issuing read requests on the KNX bus...
[KNX] [knxdevice:knxread] preparing knx request for 2/1/2
[KNX] [knxdevice:knxread] preparing knx request for 2/4/2
[KNX] [Tafel lamp]:Lightbulb Brightness characteristic enabled
[KNX] knx registering PERCENT 2/3/2,2/5/2
[KNX] [Tafel lamp]:[Brightness]: Issuing read requests on the KNX bus...
[KNX] [knxdevice:knxread] preparing knx request for 2/3/2
[KNX] [knxdevice:knxread] preparing knx request for 2/5/2
knxd groupsocketlisten starting <<<
Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
ââââââââââââââ
â 031-45-154 â
ââââââââââââââ
Homebridge is running on port 51826.
(node) warning: possible EventEmitter memory leak detected. 11 data listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Socket.addListener (events.js:239:17)
at Socket.Readable.on (_stream_readable.js:655:33)
at Connection.openTGroup (/usr/local/lib/node_modules/homebridge-knx/node_modules/eibd/lib/connection.js:142:15)
at Object. (/usr/local/lib/node_modules/homebridge-knx/index.js:458:20)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at onwriteError (_stream_writable.js:304:10)
at onwrite (_stream_writable.js:322:5)
at WritableState.onwrite (_stream_writable.js:89:5)
at fireErrorCallbacks (net.js:442:13)
_stream_writable.js:243
function decodeChunk(state, chunk, encoding) {
^
RangeError: Maximum call stack size exceeded
at decodeChunk (_stream_writable.js:243:21)
at writeOrBuffer (_stream_writable.js:256:11)
at Socket.Writable.write (_stream_writable.js:207:11)
at Socket.write (net.js:618:40)
at Connection.sendRequest (/usr/local/lib/node_modules/homebridge-knx/node_modules/eibd/lib/connection.js:187:15)
at Connection.openTGroup (/usr/local/lib/node_modules/homebridge-knx/node_modules/eibd/lib/connection.js:144:8)
at Object. (/usr/local/lib/node_modules/homebridge-knx/index.js:458:20)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at onwriteError (_stream_writable.js:304:10)
pi@homekit ~ $
in config.json i have:
"platform": "KNX",
"name": "KNX",
"knxd_ip": "127.0.0.1",
"knxd_port": 6720,
I have a running local knxd connected to a knx gateway at 192.168.2.6 with the following opts:
KNXD_OPTS="-u -b ipt:192.168.2.6"
from homebridge-knx.
having the same error ...
from homebridge-knx.
Problem solved: added -i to the knxd opts, to add a listener
from homebridge-knx.
The event emitter problem occurs if node-eibd, which is a module used bro homebridge-knx, is unable to connect to the KNX daemon.
If your knxd is running properly, it usually is a ip/port/ or firewall topic.
from homebridge-knx.
yeahr i got i run today... was my mistake ... was switching my servers and forgot to change IP in script ... sorry :)
from homebridge-knx.
Glad to hear that.
from homebridge-knx.
Related Issues (20)
- Neuer KNXSceneSelectorSwitch Handler AddIn HOT 3
- no status update on HomeKit HOT 2
- Humidity (9.007) shows wrong in Home.app HOT 4
- Controlling window covering without current and target position information
- ADDIN without reaction HOT 2
- HomeKit Sensor Status HOT 2
- strange issue with Siri voice command. HOT 1
- Question: Possibility to use KNX Address/UUID as Serialnumber HOT 1
- Question: Thermostat - How to red current temperature value with 0.1 degrees step? HOT 2
- Save the state of some lights HOT 1
- Group Address Level-2
- Question: Temperature is updated on start-up only
- How to configure devices for specific rooms HOT 4
- Lastest version of this plugin (0.3.27) can only run on an old version of homebridge >=0.4.28 <= 0.4.53 and Node 10 HOT 1
- GarageDoorOpenerAdvanced Rückmeldung Kontakt funktioniert nicht richtig HOT 12
- Homebridge Crash (AssertionError) after upgrading to v0.4.3 HOT 10
- v0.4.3 Status Jalousien HOT 6
- TypeError: Cannot read properties of undefined (reading 'knxd') HOT 1
- Deleted Property "MinValue" still throws errors after deleting/updating JSON-file. HOT 1
- KNX Typescript support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-knx.