-
Notifications
You must be signed in to change notification settings - Fork 6
Description
The knx ip-router is this error , always is not connected
the knx ip-interface is not can control , only received KNX telegrams. ip-interface is not support?
`,EventedSocketServer.prototype.connect = function(host,port) {
this._remoteAddress = host;
this._remotePort = port;
_clientSocket = new knx.Connection( {
ipAddr: this._remoteAddress,
ipPort: this._remotePort,
physAddr: '15.15.15',
loglevel: 'info',
interface: 'eth0',
manualConnect: false,
autoReconnect: true,
forceTunneling: true,
minimumDelay: 10,
suppress_ack_ldatareq: false,
handlers: {
connected: () => {
debug('can talk KNX!');
console.log('can talk KNX!');
this._clientSocketConnect();
},
event: (evt, src, dest, value) => {
debug("event: %s, src: %j, dest: %j, value: %j", evt, src, dest, value);
console.log("event: %s, src: %j, dest: %j, value: %j", evt, src, dest, value);
this._clientSocketData( evt, src, dest, value);
},
error: (connstatus) => {
debug("KNX ERROR: %j", connstatus);
console.log("KNX ERROR: %j", connstatus);
this._clientSocketError(connstatus);
}
}
});
