plasticrake / homebridge-tplink-smarthome

TP-Link Smarthome Plugin for Homebridge
MIT License
470 stars 69 forks source link

emeter.getRealtime Error ECONNREFUSED #233

Closed slvrscoobie closed 2 years ago

slvrscoobie commented 2 years ago

Expected Behavior

I never got this on previous versions, seem to occur pretty frequently now. only seems to be my 'power meter' equipped plugs

Current Behavior

[12/28/2021, 2:25:17 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime() [12/28/2021, 2:25:17 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.44.67', port: 9999 }

Versions

[12/28/2021, 2:31:23 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [12/28/2021, 2:31:35 PM] [HB Supervisor] OS: Linux 3.10.108 x64 [12/28/2021, 2:31:35 PM] [HB Supervisor] Node.js v16.13.1 /volume1/@appstore/homebridge/app/bin/node [12/28/2021, 2:31:35 PM] [HB Supervisor] Homebridge Path: /volume1/@appdata/homebridge/lib/node_modules/homebridge/bin/homebridge [12/28/2021, 2:31:35 PM] [HB Supervisor] UI Path: /volume1/@appdata/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [12/28/2021, 2:31:45 PM] [Homebridge UI] Homebridge Config UI X v4.41.6-test.3 is listening on :: port 8581 [12/28/2021, 2:31:45 PM] [HB Supervisor] Starting Homebridge with extra flags: -I [12/28/2021, 2:31:45 PM] [HB Supervisor] Started Homebridge v1.3.8 with PID: 24541

Configuration

{ "name": "TplinkSmarthome", "addCustomCharacteristics": true, "inUseThreshold": 5, "pollingInterval": 3, "deviceTypes": [ "plug", "bulb" ], "platform": "TplinkSmarthome" }


### Homebridge Log / Command Output
[12/28/2021, 2:25:17 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:17 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:17 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:17 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:20 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:20 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:20 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:20 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:23 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:23 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:23 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:23 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:26 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:26 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:26 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:26 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:29 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:29 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:29 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:29 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:32 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:32 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:32 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:32 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:35 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:35 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:35 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:35 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:39 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:39 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:39 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:39 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:42 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:42 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:42 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:42 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:45 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:45 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:45 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:45 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:48 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:48 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:48 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:48 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:51 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:51 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:25:51 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:25:51 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:20 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:20 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:20 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:20 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:23 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:23 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:23 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:23 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:26 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:26 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:26 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:26 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:29 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:29 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:29 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:29 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:32 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:32 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:32 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:32 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:35 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:35 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:35 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:35 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:38 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:38 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:38 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:38 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:41 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:41 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:41 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:41 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:44 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:44 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:44 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:44 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:48 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:48 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:48 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:48 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:51 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:51 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
}
[12/28/2021, 2:26:51 PM] [TplinkSmarthome] [Dylan room heater] emeter.getRealtime()
[12/28/2021, 2:26:51 PM] [TplinkSmarthome] Error: connect ECONNREFUSED 192.168.44.67:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.44.67',
  port: 9999
slvrscoobie commented 2 years ago

now that I look at this, I notice that the IP is actually a reserved IP of my POE cam. I deleted the cache for this item, but its still trying to connect to this IP. [12/28/2021, 2:43:45 PM] [TplinkSmarthome.API] TCP 192.168.44.67:9999 Error: connect ECONNREFUSED 192.168.44.67:9999 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.44.67', port: 9999 } [12/28/2021, 2:43:45 PM] [TplinkSmarthome.API] [Dylan room heater] device.send() Error: connect ECONNREFUSED 192.168.44.67:9999 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.44.67', port: 9999 } [12/28/2021, 2:43:45 PM] TypeError: Cannot read properties of undefined (reading 'log') at logRejection (/volume1/@appdata/homebridge/lib/node_modules/homebridge-tplink-smarthome/src/homekit-device/index.ts:193:10) at processTicksAndRejections (node:internal/process/task_queues:96:5) [12/28/2021, 2:43:45 PM] TypeError: Cannot read properties of undefined (reading 'log') at logRejection (/volume1/@appdata/homebridge/lib/node_modules/homebridge-tplink-smarthome/src/homekit-device/index.ts:193:10) at processTicksAndRejections (node:internal/process/task_queues:96:5) [12/28/2021, 2:43:45 PM] Got SIGTERM, shutting down Homebridge...

slvrscoobie commented 2 years ago

nm, I inadvertently set that device to that IP in my router, and my POE camera on manual IP. unplugged the device, set the camera to DHCP Reserved and now its settled down.