bropat / eufy-security-client

This shared library allows to control Eufy security devices by connecting to the Eufy cloud servers and local/remote stations over p2p.
MIT License
484 stars 69 forks source link

[Feature request]: Pan and Tilt 2K (IndoorCam Mini) T8414 (New Device not supported) #100

Closed jhaleit closed 2 years ago

jhaleit commented 2 years ago

Client version

Latest

Node version

v14.18.1

Operating System type

Linux

Operating system version

Raspberry Pi

Describe the bug

This seems like a new device (possibly released 2 months ago) and there's no support for it. If you need access to work on it please contact me directly and I will set you up.

To reproduce

Starting the service..

Screenshots & Logfiles

[1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: CameraMaxLivestreamDuration: 30 [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Found 2 stations. [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Found Station T8414P1021380957 Office undefined undefined [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Found Station T8414P1021381699 Living Room undefined undefined [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Found 2 devices. [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Found device T8414P1021380957 Office undefined [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Found device T8414P1021381699 Living Room undefined [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: This device is not a station. Generating a new UUID to avoid any duplicate issue [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office UUID: 85308c10-9181-4235-9400-3c8f41159a3e [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] WARN: Office looks station but it's not could imply some errors Type: 100 [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office Constructed Station [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] INFO: Restoring existing accessory from cache: Office [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: This device is not a station. Generating a new UUID to avoid any duplicate issue [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room UUID: 77d7e679-7a5d-48a8-a0b5-fa0b67eac84b [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] WARN: Living Room looks station but it's not could imply some errors Type: 100 [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room Constructed Station [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] INFO: Restoring existing accessory from cache: Living Room [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office UUID: 8eaf117b-432a-4825-b9ca-a0b0506469f7 [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] WARN: This accessory is not compatible with HomeBridge Eufy Security plugin: Office Type: 100 [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room UUID: eb226388-2a25-4eb0-95e3-22b8db640a9e [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] WARN: This accessory is not compatible with HomeBridge Eufy Security plugin: Living Room Type: 100 TuyaOpenMQ connected [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room ON handleRawPropertyChange: { type: 1151, value: '63', modified: 1642056169565 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room ON SecuritySystemCurrentState: 63 [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room ON handlePropertyChange: { name: 'currentMode', value: { value: 63, timestamp: 1642056169565 } } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room ON handleRawPropertyChange: { type: 6093, value: '1', modified: 1642056169565 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room ON handleRawPropertyChange: { type: 6094, value: '60', modified: 1642056169565 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room ON handleRawPropertyChange: { type: 6096, value: '0', modified: 1642056169565 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room ON handleRawPropertyChange: { type: 6095, value: '0', modified: 1642056169565 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office ON handleRawPropertyChange: { type: 1151, value: '63', modified: 1642056169585 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office ON SecuritySystemCurrentState: 63 [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office ON handlePropertyChange: { name: 'currentMode', value: { value: 63, timestamp: 1642056169585 } } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office ON handleRawPropertyChange: { type: 6093, value: '1', modified: 1642056169585 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office ON handleRawPropertyChange: { type: 6094, value: '60', modified: 1642056169585 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office ON handleRawPropertyChange: { type: 6096, value: '0', modified: 1642056169585 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office ON handleRawPropertyChange: { type: 6095, value: '0', modified: 1642056169585 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office GET StationCurrentMode: { value: 63, timestamp: 1642056169585 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office GET StationGuardMode: { value: 47, timestamp: 1642034266000 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room GET StationCurrentMode: { value: 63, timestamp: 1642056169565 } [1/13/2022, 12:42:49 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room GET StationGuardMode: { value: 47, timestamp: 1641977682000 } [1/13/2022, 12:42:49 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 47 exceeded maximum of 3. See https://git.io/JtMGR for more info. [1/13/2022, 12:42:49 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 47 exceeded maximum of 3. See https://git.io/JtMGR for more info. [1/13/2022, 12:42:50 AM] [EufySecurity-1.1.1-beta.14] WARN: Push Closed! [1/13/2022, 12:42:50 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Push Connected! [1/13/2022, 12:42:52 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office GET StationGuardMode: { value: 47, timestamp: 1642034266000 } [1/13/2022, 12:42:52 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Office GET StationCurrentMode: { value: 63, timestamp: 1642056169585 } [1/13/2022, 12:42:52 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 47 exceeded maximum of 3. See https://git.io/JtMGR for more info. [1/13/2022, 12:42:56 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Push Connected! [1/13/2022, 12:43:01 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room GET StationCurrentMode: { value: 63, timestamp: 1642056169565 } [1/13/2022, 12:43:01 AM] [EufySecurity-1.1.1-beta.14] DEBUG: Living Room GET StationGuardMode: { value: 47, timestamp: 1641977682000 } [1/13/2022, 12:43:01 AM] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 47 exceeded maximum of 3. See https://git.io/JtMGR for more info.

Additional context

No response

jhaleit commented 2 years ago

updated..

bropat commented 2 years ago

The attached log is not from eufy-security-client, but from another implementation that uses my library. What is not working?

PS: It is not said that just because this device is not listed as officially supported, it does not work anyway.

jhaleit commented 2 years ago

It detects it but it doesn't get the video feed, two-way audio, and so forth.

jhaleit commented 2 years ago

Here is the original issue I started with: https://github.com/samemory/homebridge-eufy-security/issues/328