bropat / ioBroker.eusec

This ioBroker adapter allows to control Eufy security devices by connecting to the Eufy cloud servers.
MIT License
132 stars 17 forks source link

[Bug]: eufyCam 2C Pro - battery 0% #239

Closed al10b closed 2 years ago

al10b commented 2 years ago

Adapter version

0.8.4

JS-Controller version

4.0.18

Node version

v14.19.0

Operating System type

Linux

Operating system version

Raspbian GNU/Linux 10 (buster)

Describe the bug

ioBroker shows 0% as battery status for both of my cameras. However, the cams work well and the Eufy Security App says > 50%.

System eufy Security eufyCam 2C Pro with 2 cameras.

ioBroker Log -> debug says: "battery":{"value":88,"timestamp":1646057782000},"rtspStream":, see below.

To reproduce

No special action required.

Screenshots & Logfiles

2022-03-09 10:12:26.983 - debug: eusec.0 (19003) [Camera.update] Normalized Properties [{"deviceSN":"T8142N6321111D7A","properties":{"name":{"value":"Haustür ","timestamp":1646814205000},"model":{"value":"T8142-Z","timestamp":1646814205000},"serialNumber":{"value":"T8142N6321111D7A","timestamp":1646814205000},"type":{"value":15,"timestamp":1646814205000},"hardwareVersion":{"value":"T8142-Z","timestamp":1646814205000},"softwareVersion":{"value":"5.4.6","timestamp":1646663647000},"stationSerialNumber":{"value":"T8010N2321062F14","timestamp":1646814205000},"rtspStreamUrl":{"value":"","timestamp":0},"lastChargingDays":{"value":8,"timestamp":1646814205000},"lastChargingFalseEvents":{"value":0,"timestamp":1646814205000},"lastChargingRecordedEvents":{"value":520,"timestamp":1646814205000},"lastChargingTotalEvents":{"value":520,"timestamp":1646814205000},"batteryUsageLastWeek":{"value":8,"timestamp":1646814205000},"pictureUrl":{"value":"https://cdn-eu.eufylife.com/thumb/2022/03/09/station/T8010N2321062F14/UDtQgk1FPo5P4rPC./camera00_20220309092321.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJYLV2KOLW6PU4FSA%2F20220309%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20220309T091226Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=ded73a451f6e640ac3c404c09019a88ebaeff5c6d6234a2b0b3c30a896df7a91","timestamp":1646814199000},"recordingClipLength":{"value":60,"timestamp":0},"recordingRetriggerInterval":{"value":5,"timestamp":0},"recordingEndClipMotionStops":{"value":true,"timestamp":0},"lightSettingsBrightnessManual":{"value":100,"timestamp":0},"motionDetectionType":{"value":2,"timestamp":1646041238000},"speakerVolume":{"value":93,"timestamp":1625067288000},"videoStreamingQuality":{"value":0,"timestamp":1625067288000},"chargingStatus":{"value":2,"timestamp":1646060542000},"antitheftDetection":{"value":false,"timestamp":1625067288000},"powerSource":{"value":0,"timestamp":1625067288000},"enabled":{"value":true,"timestamp":1646058926000},"light":{"value":false,"timestamp":1625071124000},"powerWorkingMode":{"value":1,"timestamp":1625072212000},"videoRecordingQuality":{"value":1,"timestamp":1625067288000},"nightvision":{"value":1,"timestamp":1625067288000},"notificationType":{"value":1,"timestamp":1625067288000},"microphone":{"value":false,"timestamp":1628590370000},"batteryTemperature":{"value":14,"timestamp":1646041035000},"state":{"value":1,"timestamp":1646082607000},"statusLed":{"value":true,"timestamp":1646080499000},"motionDetectionSensitivity":{"value":6,"timestamp":1646034314000},"battery":{"value":88,"timestamp":1646057782000},"rtspStream":{"value":true,"timestamp":1629295762000},"audioRecording":{"value":false,"timestamp":1628590373000},"speaker":{"value":false,"timestamp":1628590373000},"motionDetection":{"value":true,"timestamp":1645965437000},"watermark":{"value":0,"timestamp":1625072212000},"wifiRssi":{"value":-64,"timestamp":1646081052000},"wifiSignalLevel":{"value":4,"timestamp":1646081052000}}}]

Additional context

No response

Baenker commented 2 years ago

Was zeigt die App an? 88%

al10b commented 2 years ago

Ja. Jetzt 87%.

Stefan22184 commented 2 years ago

Here also 2c Pro in operation. Correct battery display in ioBroker. However, the js controller is still on 3.3.22 For me it shows the battery_usage_last_week with 0%. Not dramatic at all, I haven't used it yet, but maybe it fits the topic.

Hier ebenfalls 2c Pro im Betrieb. Korrekte Batterie Anzeige im ioBroker. Allerdings noch den js-Controler auf 3.3.22 Bei mir zeigt er die battery_usage_last_week mit 0% an. Überhaupt nicht dramatisch, ich nutze es bisher auch nicht, aber vielleicht passt es zum Thema.

al10b commented 2 years ago

It's pretty good possible, that this issue is related to the new js-controller. I recently did the upgrade and not 100% sure, but I got the feeling, it showed the correct % before.

BTW: Once a week I check the battery status of all devices. It would be nice to have the cams included.

al10b commented 2 years ago

Upgraded JS-Controller to 4.0.19 -> no improvement (i.e. battery still shows 0%).

al10b commented 2 years ago

Problem solved with V 0.8.5.