Giter Site home page Giter Site logo

node-eufy-api's People

Contributors

dependabot[bot] avatar sebmos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-eufy-api's Issues

T1012 not working

T1012 does not work. Here is a snippet of the Homebridge log when I try adding this product:

[10/31/2019, 2:14:40 PM] [eufy] Initializing eufy platform...
[10/31/2019, 2:14:40 PM] [eufy] Eufy initializing
[10/31/2019, 2:14:40 PM] Loading 0 accessories...
[10/31/2019, 2:14:41 PM] [eufy] Add Accessory: Front Porch - F7251E291A314547
[10/31/2019, 2:14:41 PM] [eufy] Error connecting to accessory: Error: Socket closed without sending response

at Timeout.<anonymous> (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
[10/31/2019, 2:14:41 PM] [eufy] Removing accessory: Front Porch

Feature Request: Support for T1015

When a replacement model was sent to me, eufy's support team told me they'd be sending me the T1015 ("the upgraded model with a longer lifetime"), is there any way to add this model for homebridge support?

EDIT: It's the Tunable White Smart Bulb

Device T1012 not working

From cli:

``

[email protected] cli:verbose /home/eufy/node-eufy-api
node lib/cli.js --verbose

? Eufy account email XXX
? Eufy account password [hidden]
Logging in
Loading devices
(AbstractDevice.new) Create device (model: T1012, code: 476700EE1D5F48BA)
(AbstractDevice.new) Create device (model: T1012, code: F67F39B1E1A84DCE)
Logged in, devices loaded
? Save credentials locally for future use? Yes

? Choose device Nela (Model: T1012, Code: 476700EE1D5F48BA, IP Address: 192.168.5.239)
(AbstractDevice.connect) Connecting
(TcpSocket.connect) Connecting to 192.168.5.239
(AbstractDevice.new) TCP Socket connected
(AbstractDevice.connect) Connected to device Nela (Model: T1012, Code: 476700EE1D5F48BA, IP Address: 192.168.5.239)
(AbstractDevice.connect) Loading current device state
(LightBulb.loadCurrentState) Loading current device state
(LightBulb.getState) Loading current device state
(AbstractDevice.getSequence) Loading current sequence number
(AbstractDevice.sendPacketWithResponse) 08a8947e1210343736373030454531443546343842411a020800
(encryptPacket) Extended: 08a8947e1210343736373030454531443546343842411a020800000000000000
(encryptPacket) Encrypted: 60c9b13a7ff9d57191c9b51df1ed8a46384ec162e1eb90a0e6c2065e4ded849d
(AbstractDevice.sendPacket) Sending encrypted packet: 60c9b13a7ff9d57191c9b51df1ed8a46384ec162e1eb90a0e6c2065e4ded849d
(AbstractDevice.sendPacketWithResponse) Response received: 8094e62d35766f51601d08d33601c9ac
(AbstractDevice.sendPacketWithResponse) Response decrypted: 0b0008bd8a9c0312001a020801000000
(AbstractDevice.sendPacketWithResponse) Expected packet length: 11
(AbstractDevice.sendPacketWithResponse) Serialized packet: 08bd8a9c0312001a020801
(AbstractDevice.sendPacketWithResponse) Serialized packet length: 11
(AbstractDevice.sendPacketWithResponse) Deserializing response as T1012Packet
(AbstractDevice.sendPacketWithResponse) Decoded packet: {"sequence":6751549,"code":"","ping":{"type":1}}
(AbstractDevice.getSequence) Current sequence number: 6751549
(LightBulb.getState) Sending request to device
(AbstractDevice.sendPacketWithResponse) 08be8a9c03121034373637303045453144354634384241
(encryptPacket) Extended: 08be8a9c03121034373637303045453144354634384241000000000000000000
(encryptPacket) Encrypted: ad947e2a3d95376409378f720c068570c1e4751710b1a8e9d1713a796d0fe9ea
(AbstractDevice.sendPacket) Sending encrypted packet: ad947e2a3d95376409378f720c068570c1e4751710b1a8e9d1713a796d0fe9ea
Socket closed
(AbstractDevice.new) TCP Socket connected
Error connecting to device: Socket closed without sending response
``

Is there a chance to operate this light bulb?

Error on Startup - Won't Load

Receiving the following on startup (Homebridge v1.6.0 (HAP v0.11.0)):

[12/14/2022, 11:01:37 AM] ====================
[12/14/2022, 11:01:37 AM] ERROR LOADING PLUGIN homebridge-eufy:
[12/14/2022, 11:01:37 AM] /homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/index.js:1
import fetch from "node-fetch";
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at Object.compileFunction (node:vm:360:18)
    at wrapSafe (node:internal/modules/cjs/loader:1088:15)
    at Module._compile (node:internal/modules/cjs/loader:1123:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Function.Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/homebridge/node_modules/homebridge-eufy/lib/index.js:2:23)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)

Eufy Plug Mini T1202

So I have four of the mini plugs and they were all working fine until recently. Now it appears that only two of them work. Here's homebridge's journal output when grep'ing eufy:

Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] Loaded plugin: homebridge-eufy Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] Registering platform 'homebridge-eufy.eufy' Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Initializing eufy platform... Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Eufy initializing Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Add Accessory: Left Living Room - F4B73C43CC4B4F83 Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Add Accessory: Right Living Room - AD28DCF6020D4AE0 Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Add Accessory: Person1's Bedroom Light - 328165890976443D Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Add Accessory: Person2's Bedroom Light - E6302EAAFB2C4273 Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Error connecting to accessory: { AssertionError: Assertion failed Mar 07 22:41:06 homebridge homebridge[953]: at new goog.asserts.AssertionError (/usr/lib/node_modules/homebridge-eufy/node_modules/google-protobuf/google-protobuf.js:98:603) Mar 07 22:41:06 homebridge homebridge[953]: at Object.goog.asserts.doAssertFailure_ (/usr/lib/node_modules/homebridge-eufy/node_modules/google-protobuf/google-protobuf.js:99:126) Mar 07 22:41:06 homebridge homebridge[953]: at Object.goog.asserts.assert (/usr/lib/node_modules/homebridge-eufy/node_modules/google-protobuf/google-protobuf.js:99:385) Mar 07 22:41:06 homebridge homebridge[953]: at jspb.BinaryWriter.writeInt32 (/usr/lib/node_modules/homebridge-eufy/node_modules/google-protobuf/google-protobuf.js:330:264) Mar 07 22:41:06 homebridge homebridge[953]: at Function.proto.lakeside.T1201Packet.serializeBinaryToWriter (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/lakeside_pb.js:4360:12) Mar 07 22:41:06 homebridge homebridge[953]: at proto.lakeside.T1201Packet.serializeBinary (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/lakeside_pb.js:4344:30) Mar 07 22:41:06 homebridge homebridge[953]: at PowerPlugOrSwitch.<anonymous> (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:221:77) Mar 07 22:41:06 homebridge homebridge[953]: at step (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:32:23) Mar 07 22:41:06 homebridge homebridge[953]: at Object.next (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:13:53) Mar 07 22:41:06 homebridge homebridge[953]: at /usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:7:71 Mar 07 22:41:06 homebridge homebridge[953]: at __awaiter (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:3:12) Mar 07 22:41:06 homebridge homebridge[953]: at PowerPlugOrSwitch.AbstractDevice.sendPacketWithResponse (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:215:16) Mar 07 22:41:06 homebridge homebridge[953]: at PowerPlugOrSwitch.<anonymous> (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-power-plug-or-switch.js:75:51) Mar 07 22:41:06 homebridge homebridge[953]: at step (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-power-plug-or-switch.js:45:23) Mar 07 22:41:06 homebridge homebridge[953]: at Object.next (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-power-plug-or-switch.js:26:53) Mar 07 22:41:06 homebridge homebridge[953]: at fulfilled (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-power-plug-or-switch.js:17:58) Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Removing accessory: Left Living Room Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Error connecting to accessory: { AssertionError: Assertion failed Mar 07 22:41:06 homebridge homebridge[953]: at new goog.asserts.AssertionError (/usr/lib/node_modules/homebridge-eufy/node_modules/google-protobuf/google-protobuf.js:98:603) Mar 07 22:41:06 homebridge homebridge[953]: at Object.goog.asserts.doAssertFailure_ (/usr/lib/node_modules/homebridge-eufy/node_modules/google-protobuf/google-protobuf.js:99:126) Mar 07 22:41:06 homebridge homebridge[953]: at Object.goog.asserts.assert (/usr/lib/node_modules/homebridge-eufy/node_modules/google-protobuf/google-protobuf.js:99:385) Mar 07 22:41:06 homebridge homebridge[953]: at jspb.BinaryWriter.writeInt32 (/usr/lib/node_modules/homebridge-eufy/node_modules/google-protobuf/google-protobuf.js:330:264) Mar 07 22:41:06 homebridge homebridge[953]: at Function.proto.lakeside.T1201Packet.serializeBinaryToWriter (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/lakeside_pb.js:4360:12) Mar 07 22:41:06 homebridge homebridge[953]: at proto.lakeside.T1201Packet.serializeBinary (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/lakeside_pb.js:4344:30) Mar 07 22:41:06 homebridge homebridge[953]: at PowerPlugOrSwitch.<anonymous> (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:221:77) Mar 07 22:41:06 homebridge homebridge[953]: at step (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:32:23) Mar 07 22:41:06 homebridge homebridge[953]: at Object.next (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:13:53) Mar 07 22:41:06 homebridge homebridge[953]: at /usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:7:71 Mar 07 22:41:06 homebridge homebridge[953]: at __awaiter (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:3:12) Mar 07 22:41:06 homebridge homebridge[953]: at PowerPlugOrSwitch.AbstractDevice.sendPacketWithResponse (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-base.js:215:16) Mar 07 22:41:06 homebridge homebridge[953]: at PowerPlugOrSwitch.<anonymous> (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-power-plug-or-switch.js:75:51) Mar 07 22:41:06 homebridge homebridge[953]: at step (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-power-plug-or-switch.js:45:23) Mar 07 22:41:06 homebridge homebridge[953]: at Object.next (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-power-plug-or-switch.js:26:53) Mar 07 22:41:06 homebridge homebridge[953]: at fulfilled (/usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/device-power-plug-or-switch.js:17:58) Mar 07 22:41:06 homebridge homebridge[953]: [3/7/2019, 10:41:06 PM] [eufy] Removing accessory: Right Living Room

Hope that helps, let me know if you need any more information or output. I'm pretty new to homebridge and node in general, but happy to help out where I can!

Thank you for the hard work!

Unable to connect to T1011 model.

Hello Sebastian!
First of all thanks for the node port. I want to address an issue with the T1011 model. Credentials and fetching device information are working great. Unfortunately I receive the following error when I attempt to connect with a T1011 bulb.

Socket closed (with error) during connection process - not attempting restart

followed by

(node:19033) UnhandledPromiseRejectionWarning: Error: Unable to connect to device. Are you on the same WiFi network?
at Socket. (/home/dogukan/Projects/eufy-test/node_modules/node-eufy-api/lib/tcp-socket.js:86:28)
at Socket.emit (events.js:188:13)
at TCP._handle.close (net.js:610:12)

However, the client and the bulb are in the same network. I am running node version 11.6.0 on Linux and used both, the CLI variant and programmatically interface.

Socket closed without sending response (timeout.js:153)

I'm having an issue similar to #2 and #5 but this doesn't appear to be related to the sequence number but rather a timeout issue (see the homebridge output at the bottom).

I have removed one of the bulbs (T1011) from my account, readded and upgraded the firmware but no dice. Both bulbs are presently on the latest firmware available.

$ npm run cli:verbose

? Choose device Kitchen Lamp (Model: T1011, Code: 056E67FCDC6D4B5C, IP Address: 10.10.25.133)
(AbstractDevice.connect) Connecting
(TcpSocket.connect) Connecting to 10.10.25.133
(AbstractDevice.new) TCP Socket connected
(AbstractDevice.connect) Connected to device Kitchen Lamp (Model: T1011, Code: 056E67FCDC6D4B5C, IP Address: 10.10.25.133)
(AbstractDevice.connect) Loading current device state
(LightBulb.loadCurrentState) Loading current device state
(LightBulb.getState) Loading current device state
(AbstractDevice.getSequence) Loading current sequence number
(AbstractDevice.sendPacketWithResponse) 08f7f3111210303536453637464344433644344235431a020800
(encryptPacket) Extended: 08f7f3111210303536453637464344433644344235431a020800000000000000
(encryptPacket) Encrypted: eddc55378b6f3bdfe672fe6ab409ec1325b501e601105ebf3db3d06b9d4cf3e8
(AbstractDevice.sendPacket) Sending encrypted packet: eddc55378b6f3bdfe672fe6ab409ec1325b501e601105ebf3db3d06b9d4cf3e8
(AbstractDevice.sendPacketWithResponse) Response received: e42402a05d23d5ac60085a11286c973a
(AbstractDevice.sendPacketWithResponse) Response decrypted: 0c0008b190fde00212001a0208010000
(AbstractDevice.sendPacketWithResponse) Expected packet length: 12
(AbstractDevice.sendPacketWithResponse) Serialized packet: 08b190fde00212001a020801
(AbstractDevice.sendPacketWithResponse) Serialized packet length: 12
(AbstractDevice.sendPacketWithResponse) Deserializing response as T1012Packet
(AbstractDevice.sendPacketWithResponse) Decoded packet: {"sequence":740247601,"code":"","ping":{"type":1}}
(AbstractDevice.getSequence) Current sequence number: 740247601
(LightBulb.getState) Sending request to device
(AbstractDevice.sendPacketWithResponse) 08b290fde002121030353645363746434443364434423543
(encryptPacket) Extended: 08b290fde0021210303536453637464344433644344235430000000000000000
(encryptPacket) Encrypted: 4d5da1acb4bacd6ed95036f005d8dfcc375e7b443e80bff62096624c2aab95cd
(AbstractDevice.sendPacket) Sending encrypted packet: 4d5da1acb4bacd6ed95036f005d8dfcc375e7b443e80bff62096624c2aab95cd
Socket closed
(AbstractDevice.new) TCP Socket connected
Error connecting to device: Socket closed without sending response
$ homebridge

Logged in, devices loaded
[6/15/2019, 12:12:19 PM] [Eufy] Add Accessory: Kitchen Lamp - 056E67FCDC6D4B5C
[6/15/2019, 12:12:19 PM] [Eufy] Add Accessory: Living Room Lamp - 9AB6CF30D3A540A7
[6/15/2019, 12:12:20 PM] [Eufy] Error connecting to accessory: Error: Socket closed without sending response
    at Timeout.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)
[6/15/2019, 12:12:20 PM] [Eufy] Removing accessory: Kitchen Lamp
[6/15/2019, 12:12:20 PM] [Eufy] Error connecting to accessory: Error: Socket closed without sending response
    at Timeout.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)
[6/15/2019, 12:12:20 PM] [Eufy] Removing accessory: Living Room Lamp

Request support for Lumos 2.0

Hi,

I have a Eufy Lumos Smart Bulb 2.0 White & Color (model code T1018). The bulb doesn't appear in Homebridge's devices using the current version of the plugin.

I thought it was the same model code as T1013, but only knew it was different once the bulbs arrived home (the seller doesn't list the model code in its page). Is there a chance to add support for this device in the api?

I tried modifying the plugin files in homebridge, adding the T1018 model in the same categories as T1013, but had no effect, the bulb doesn't appear in the available devices. I also ran the cli commands to check the devices under my account, but I receive a "No devices found, exiting" message.

Thanks in advance,
Esteban.

T1013 connects to device but does not turn power on

Hey @sebmos

Thanks for putting this api together!
I have used it for automating the T1011 lightbulb with success and recently tried it on a T1013 but have ran into an issue getting the bulb to successfully power on.

Below is the output when I connect via cli (verbose logging on) there are no obvious issues that I see:

(AbstractDevice.connect) Connecting
(TcpSocket.connect) Connecting to 10.100.5.79
(AbstractDevice.new) TCP Socket connected
(AbstractDevice.connect) Connected to device T Rex (Model: T1013, Code: 62F5EF8E50C24B4E, IP Address: 10.100.5.79)
(AbstractDevice.connect) Loading current device state
(LightBulb.loadCurrentState) Loading current device state
(LightBulb.getState) Loading current device state
(AbstractDevice.getSequence) Loading current sequence number
(AbstractDevice.sendPacketWithResponse) 2673901,62F5EF8E50C24B4E,0
(AbstractDevice.encryptPacket) 2673901,62F5EF8E50C24B4E,0
(AbstractDevice.sendPacketWithResponse) Sending encrypted packet
(AbstractDevice.sendPacketWithResponse) Response received: {"type":"Buffer","data":[12,17,205,105,99,127,124,61,212,144,142,228,165,206,74,135]}
(AbstractDevice.sendPacketWithResponse) Response decrypted: {"type":"Buffer","data":[11,0,8,249,182,246,32,18,0,26,2,8,1,0,0,0]}
(AbstractDevice.sendPacketWithResponse) Deserializing response as T1013Packet
(AbstractDevice.getSequence) Current sequence number: 69049209
(LightBulb.getState) Sending request to device
(AbstractDevice.sendPacketWithResponse) 69049210,62F5EF8E50C24B4E,,,1
(AbstractDevice.encryptPacket) 69049210,62F5EF8E50C24B4E,,,1
(AbstractDevice.sendPacketWithResponse) Sending encrypted packet
(AbstractDevice.sendPacketWithResponse) Response received: {"type":"Buffer","data":[115,212,165,30,24,178,101,127,164,56,51,251,57,214,57,253,171,1,76,31,211,116,3,217,92,130,180,237,55,71,26,144,16,11,229,219,228,192,187,235,22,100,95,57,203,81,21,20,62,35,221,10,210,69,84,3,100,81,236,159,186,150,201,209]}
(AbstractDevice.sendPacketWithResponse) Response decrypted: {"type":"Buffer","data":[58,0,8,251,182,246,32,18,0,42,49,8,2,18,45,8,255,255,255,255,255,255,255,255,255,1,18,32,8,6,16,1,24,0,42,11,8,171,1,16,205,1,24,239,1,32,10,56,0,64,221,255,255,255,255,255,255,255,255,1,0,0,0,0]}
(AbstractDevice.sendPacketWithResponse) Deserializing response as T1013Packet
(LightBulb.loadCurrentState) Parsing current state as color light bulb
(LightBulb.loadCurrentState) Current power state: false
(LightBulb.loadCurrentState) Current state: {"brightness":10,"temperature":50,"colors":{"red":171,"green":205,"blue":239}}
(AbstractDevice.isPowerOn) Checking power state
(AbstractDevice.isPowerOn) Checking power state
(AbstractDevice.isPowerOn) Checking power state
(AbstractDevice.isPowerOn) Checking power state

and below is the output when I try to power on which is unsuccessful but again, nothing jumps out as an obvious issue. Perhaps you might find some useful information from the output.

? Options Turn on
(AbstractDevice.isPowerOn) Checking power state
(LightBulb.setPowerOn) Change to: true
LightBulb.setPowerOn
(LightBulb.setState) Change to: [object Object]
(LightBulb.setState) Treat as color bulb (T1013Packet)
Treat as color bulb (T1013Packet)
packet:
{ wrappers_:
   { '5':
      { wrappers_: [Object],
        messageId_: undefined,
        arrayIndexOffset_: -1,
        array: [Array],
        pivot_: 1.7976931348623157e+308,
        convertedFloatingPointFields_: {} } },
  messageId_: undefined,
  arrayIndexOffset_: -1,
  array: [ <4 empty items>, [ 1, [Array] ] ],
  pivot_: 1.7976931348623157e+308,
  convertedFloatingPointFields_: {} }
Set power
(LightBulb.setState) Set power
(LightBulb.setState) No colors
state:
{ brightness: 10,
  temperature: 50,
  colors: { red: 171, green: 205, blue: 239 } }
set brightness to this.state.brightness
set temp to this.state.temperature
(AbstractDevice.getSequence) Loading current sequence number
(AbstractDevice.sendPacketWithResponse) 1906194,62F5EF8E50C24B4E,0
(AbstractDevice.encryptPacket) 1906194,62F5EF8E50C24B4E,0
(AbstractDevice.sendPacketWithResponse) Sending encrypted packet
(AbstractDevice.sendPacketWithResponse) Response received: {"type":"Buffer","data":[94,194,252,160,171,188,250,110,248,27,44,66,215,161,93,209]}
(AbstractDevice.sendPacketWithResponse) Response decrypted: {"type":"Buffer","data":[11,0,8,185,177,229,32,18,0,26,2,8,1,0,0,0]}
(AbstractDevice.sendPacketWithResponse) Deserializing response as T1013Packet
(AbstractDevice.getSequence) Current sequence number: 68769977
sending packet
(LightBulb.setState) Sending packet
(AbstractDevice.sendPacket) 68769978,62F5EF8E50C24B4E,,,1,10,,7,0,10,50,,1
(AbstractDevice.encryptPacket) 68769978,62F5EF8E50C24B4E,,,1,10,,7,0,10,50,,1
(AbstractDevice.sendPacket) Sending encrypted packet
reloading state
(LightBulb.setState) Reloading state
(LightBulb.getState) Loading current device state
(AbstractDevice.getSequence) Loading current sequence number
(AbstractDevice.sendPacketWithResponse) 1979946,62F5EF8E50C24B4E,0
(AbstractDevice.encryptPacket) 1979946,62F5EF8E50C24B4E,0
(AbstractDevice.sendPacketWithResponse) Sending encrypted packet
(AbstractDevice.sendPacketWithResponse) Response received: {"type":"Buffer","data":[148,132,142,102,195,104,17,91,74,162,110,185,224,149,185,80]}
(AbstractDevice.sendPacketWithResponse) Response decrypted: {"type":"Buffer","data":[11,0,8,241,241,233,32,18,0,26,2,8,1,0,0,0]}
(AbstractDevice.sendPacketWithResponse) Deserializing response as T1013Packet
(AbstractDevice.getSequence) Current sequence number: 68843761
(LightBulb.getState) Sending request to device
(AbstractDevice.sendPacketWithResponse) 68843762,62F5EF8E50C24B4E,,,1
(AbstractDevice.encryptPacket) 68843762,62F5EF8E50C24B4E,,,1
(AbstractDevice.sendPacketWithResponse) Sending encrypted packet
(AbstractDevice.sendPacketWithResponse) Response received: {"type":"Buffer","data":[226,146,4,87,77,214,183,123,164,51,154,61,5,236,105,95,69,51,43,236,134,122,128,174,120,27,232,202,91,75,232,185,99,21,247,13,10,237,211,9,195,144,191,159,116,182,224,246,19,38,194,100,221,13,119,169,144,75,145,255,144,54,241,22]}
(AbstractDevice.sendPacketWithResponse) Response decrypted: {"type":"Buffer","data":[58,0,8,243,241,233,32,18,0,42,49,8,2,18,45,8,255,255,255,255,255,255,255,255,255,1,18,32,8,6,16,1,24,0,42,11,8,171,1,16,205,1,24,239,1,32,10,56,0,64,218,255,255,255,255,255,255,255,255,1,0,0,0,0]}
(AbstractDevice.sendPacketWithResponse) Deserializing response as T1013Packet
(LightBulb.setPowerOn) New power state: false
New power state:
Power is now off
(AbstractDevice.isPowerOn) Checking power state
(AbstractDevice.isPowerOn) Checking power state
(AbstractDevice.isPowerOn) Checking power state
(AbstractDevice.isPowerOn) Checking power state

Wanted to pass along this info in case it helps with any troubleshooting.
Thanks again for putting this project together!

Unknown device model

Hi, I’ve just tried to install the homebridge plugin (https://www.npmjs.com/package/homebridge-eufy). After restarting homebridge I got the following error: “Unknown device model “T2103”. The only device in my eufy account is the Robovac 11c. Are there any plans to support this kind of devices?

Eufy / Homebridge error

Hello,
I always get the following error (also attached) when adding eufy plugin to home bridge. I rested the plug-in and home bridge but still getting the same issue.

how to solve?

2021-05-09, 9:04:55 AM [eufy] Add Accessory: Aquarium - 634496A2F6234697
2021-05-09, 9:04:56 AM [eufy] Error connecting to accessory: Error: Socket closed without sending response
at Timeout. (/home/hoobs/.hoobs/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
2021-05-09, 9:04:56 AM [eufy] Removing accessory: Aquarium

82AA30A6-4ED3-45A5-83BF-44BF627D2FA0

CORS issue at calling loadDevices

Hi,

I'm currently trying to implement a web dashboard on top of your node-eufy-api.
Unfortunately, I can't access the Eufy API from the browser as it seems, failing with a CORS error:

Access to fetch at 'https://home-api.eufylife.com/v1/user/email/login' from origin 'http://localhost:8559' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Is there some way I can tell your library, that it should fetch the Eufy API with 'no-cors' option?

Thanks & br,
Marco

T1012

Here's my log for this untested device:

[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:32 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:32 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:32 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:35 PM] [eufy] Error toggling power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error toggling power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error setting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error setting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:35 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:35 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:35 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:39 PM] [eufy] Error toggling power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error setting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error toggling power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error setting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:39 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:39 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
Socket Error: This socket has been ended by the other party
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Kitchen Sink  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 2  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error loading power state on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting brightness on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)
[5/20/2021, 8:55:42 PM] [eufy] Error getting temperature on device: Ceiling Fan Bulb 1  -  Error: Socket closed without sending response
    at Timeout.<anonymous> (/homebridge/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/tcp-socket.js:153:48)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)

T1012

Error connecting to accessory: Error: Socket closed without sending response
at Timeout. (C:\Users\afnan\AppData\Roaming\npm\node_modules\homebridge-eufy\node_modules\node-eufy-api\lib\tcp-socket.js:153:48)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)

hi my bulb connect in first and get a eror and deletd so how i can fix that problem please answer @sebmos @sebmos

Power usage

Great work on this repo! Will you be adding power usage reporting to the power plugs anytime soon?

Devices added then immediately removed

The plugin installed fine, but from the log, it appears to find my devices and then immediately remove them. Any idea what's going on? Nothing weird in my config file either, just added the plugin with my EufyLife login.

I replaced the IDs in the log with <> just in case that's a security issue.

[2/7/2019, 8:44:22 AM] [Eufy] Add Accessory: Bedside Light - <<alphanumeric string>>
[2/7/2019, 8:44:22 AM] [Eufy] Add Accessory: Living Room Right Wall Light - <<alphanumeric string>>
[2/7/2019, 8:44:22 AM] [Eufy] Add Accessory: Living Room Left Wall Light - <<alphanumeric string>>
[2/7/2019, 8:44:22 AM] [Eufy] Add Accessory: Living Room Standing Light - <<alphanumeric string>>
[2/7/2019, 8:44:22 AM] [Eufy] Removing accessory: Bedside Light
[2/7/2019, 8:44:22 AM] [Eufy] Removing accessory: Living Room Right Wall Light
[2/7/2019, 8:44:22 AM] [Eufy] Removing accessory: Living Room Left Wall Light
[2/7/2019, 8:44:22 AM] [Eufy] Removing accessory: Living Room Standing Light

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.