homebridge-eufy-security / plugin

Homebridge plugin to control certain Eufy Security devices
Apache License 2.0
157 stars 24 forks source link

This camera is in "Off" mode and cannot stream or record. #365

Open pgogins1 opened 10 months ago

pgogins1 commented 10 months ago

What happened?

Any fixes for this? I’ve installed the plugin and set it up as it was designed. Motion and even seems to work and register but no live stream. I get this. “ This camera is in "Off" mode and cannot stream or record”. I’ve read about the child bridge but not believe this plugin should works without all that finagling. Eufy s100 and a few other eufy camera models are all showing the same.

Device Type

Doorbell (Supported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

v1.6.x (Supported)

NodeJS Version

v18 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

None available

config

None available
github-actions[bot] commented 10 months ago

Did you check this Common Issues pages ?

lenoxys commented 10 months ago

can you update on 2.2.5 and enable debug and sent me again the output ? thanks !

https://github.com/homebridge-eufy-security/plugin/wiki/Basic-Troubleshooting

JEMcats commented 10 months ago

I'm having the same problem, I included log-lib.log in my post. log-lib.log

zhodd commented 9 months ago

I don't mean to resurrect this one but it isn't that old. I have a couple cameras showing as 'Off' and I don't see way to enable them anywhere. Am I missing something silly and I am going to want to smack myself? 8 are just fine

lenoxys commented 9 months ago
  1. can you try on latest version >=2.2.18 and provide logs ?
  2. I can see you have enabled enable button, is the button switch on or off ?
  3. when switching on and off does it change the "Off" of the camera
zhodd commented 9 months ago

@lenoxys
1: Logs attached: 60828c3c-f5c4-476e-9f8f-5f4f17082628.zip 2: I just left the default options - it looks to be defaulting to off. I have tried toggling the button. It doesn't have any affect. Should I just be disabling the button?

Thanks!

lenoxys commented 9 months ago

is the camera off in Eufy App? If yes try to enable it and reboot plugin.

zhodd commented 9 months ago

is the camera off in Eufy App? If yes try to enable it and reboot plugin.

They are working normally in the Eufy App. I had this happen once in the past and I happened to fix the camera by bridging and unbridging - completely by accident but this was on an older version before the bridging option was moved from the individual cameras

lenoxys commented 9 months ago

@lenoxys 1: Logs attached: 60828c3c-f5c4-476e-9f8f-5f4f17082628.zip 2: I just left the default options - it looks to be defaulting to off. I have tried toggling the button. It doesn't have any affect. Should I just be disabling the button?

Thanks!

hey @zhodd, which cam has the problem ? and which cam doesn't have ? So I can compare the 2

zhodd commented 9 months ago

@lenoxys 1: Logs attached: 60828c3c-f5c4-476e-9f8f-5f4f17082628.zip 2: I just left the default options - it looks to be defaulting to off. I have tried toggling the button. It doesn't have any affect. Should I just be disabling the button? Thanks!

hey @zhodd, which cam has the problem ? and which cam doesn't have ? So I can compare the 2

'Garden' is one showing as 'Off' - the On/Off button does turn off the camera in the Eufy App but does not have any impact inside of the Home App.

You can use 'Doorbell' or 'Driveway' as an example of working ones

lenoxys commented 9 months ago

hello try 2.2.19

zhodd commented 9 months ago

@lenoxys Sorry for the delay - same issue. Let me know if you need another debug log

lenoxys commented 9 months ago

Can I see the full debug ?

dn4hc commented 9 months ago

eufy.zip

I'm experiancing the same OFF issue with Eufy 2c 2K cameras with hub 2 running homebridge-eufy-security v2.2.19 Doorbell works however the 4 cameras do not.

lenoxys commented 9 months ago

Did you add the camera has new accessories ?

dn4hc commented 9 months ago

No not as accessory. Happy to give you access to the portal for an hour to look at. Are you on telegram/discord?

JEMcats commented 9 months ago

Please try version v2.2.7-test.0 it fixed this problem for me

pgogins1 commented 9 months ago

For some reason, 2.2.7 worked for me also, and then I updated it to the newest after and it stayed working.

lenoxys commented 9 months ago

@JEMcats and @pgogins1 thanks for your feedback. Is it possible to share your config (please remove credentials before share) ? I suspect that something is wrong when doing upgrade.

If someone hasn't already did the workaround provided, could you save your config and share the before and after? It would be appreciated!

ibmaster commented 9 months ago

Thanks for the tip to downgrade to 2.2.7, my cameras on HomeBase 3 started working! Upgrading to latest (2.2.21) and they are still working... wild.

zhodd commented 9 months ago

Well this has certainly gotten stranger. My cameras went from mostly working to all showing 'off' to now nothing showing up. I am assuming something blew up. Am I better off taking a hand grenade to this and reinstalling?

debug attached 8f5f04f6-bd9c-4057-9256-b598465ab6ad.zip

ibmaster commented 9 months ago

I saw similar behavior and downgraded to label 2.2.7 and everything started working again (except for my very new eufy camera models that aren’t officially supported yet). Worth a shot to try.Ben.Sent from my iPhoneOn Sep 24, 2023, at 1:17 PM, zhodd @.***> wrote: Well this has certainly gotten stranger. My cameras went from mostly working to all showing 'off' to now nothing showing up. I am assuming something blew up. Am I better off taking a hand grenade to this and reinstalling? debug attached 8f5f04f6-bd9c-4057-9256-b598465ab6ad.zip

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

zhodd commented 9 months ago

@ibmaster Might be worth a shot - really weird behavior

cytan299 commented 6 months ago

Actually, I resolved my own problem :). See my solution below:


Has this been resolved? I installed a second camera today and the second camera is always OFF. I can turn the camera on/off in HomeKit and can see the camera actually turn on/off. But the stream never starts in homebridge. Here's the relevant section of the log

[12/30/2023, 7:08:46 PM] [EufySecurity-2.2.0-beta.20] INFO:  You're using guest admin account with this plugin! This is recommanded way!
[12/30/2023, 7:08:46 PM] [EufySecurity-2.2.0-beta.20] INFO:  Updating accessory: Kitchen
[12/30/2023, 7:08:46 PM] [EufySecurity-2.2.0-beta.20] INFO:  You're using guest admin account with this plugin! This is recommanded way!
[12/30/2023, 7:08:46 PM] [EufySecurity-2.2.0-beta.20] INFO:  Updating accessory: Living Room
[30/12/2023, 19:08:46] [Ring] Configuring 1 cameras and 1 devices for location "xxxxxx" - locationId: xxxxxx
[12/30/2023, 7:08:47 PM] [EufySecurity-2.2.0-beta.20] INFO:  Kitchen is set to generate new snapshots on events every time. This might reduce homebridge performance and increase power consumption.
[12/30/2023, 7:08:47 PM] [EufySecurity-2.2.0-beta.20] INFO:  Updating accessory: Kitchen
[12/30/2023, 7:08:47 PM] [EufySecurity-2.2.0-beta.20] INFO:  Living Room is set to generate new snapshots on events every time. This might reduce homebridge performance and increase power consumption.
[12/30/2023, 7:08:47 PM] [EufySecurity-2.2.0-beta.20] INFO:  Updating accessory: Living Room
[12/30/2023, 7:08:47 PM] [EufySecurity-2.2.0-beta.20] WARN:  Kitchen Couldt not get cloud snapshot: Error: self-signed certificate
[12/30/2023, 7:08:47 PM] [EufySecurity-2.2.0-beta.20] WARN:  Kitchen snapshot handler is initialized without cloud snapshot. Maybe no snapshot will displayed the first times.
[12/30/2023, 7:08:47 PM] [EufySecurity-2.2.0-beta.20] WARN:  Living Room Couldt not get cloud snapshot: Error: self-signed certificate
[12/30/2023, 7:08:47 PM] [EufySecurity-2.2.0-beta.20] WARN:  Living Room snapshot handler is initialized without cloud snapshot. Maybe no snapshot will displayed the first times.
[12/30/2023, 7:09:07 PM] [EufySecurity-2.2.0-beta.20] INFO:  Living Room station livestream (P2P session) for Living Room has started.
[Living Room] The image snapshot handler for the given accessory is slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/30/2023, 7:09:12 PM] [EufySecurity-2.2.0-beta.20] INFO:  Living Room station livestream for Living Room has stopped.
[12/30/2023, 7:09:29 PM] [EufySecurity-2.2.0-beta.20] INFO:  Living Room station livestream (P2P session) for Living Room has started.
[Living Room] The image snapshot handler for the given accessory is slow to respond! See https://homebridge.io/w/JtMGR for more info.
[12/30/2023, 7:09:35 PM] [EufySecurity-2.2.0-beta.20] INFO:  Living Room station livestream for Living Room has stopped.

My Kitchen camera never starts the P2P session ...

Any hints as to how to make this work?

The config for the two cameras are the same:

 "platform": "EufySecurity",
            "ignoreStations": [],
            "ignoreDevices": [],
            "cleanCache": true,
            "cameras": [
                {
                    "serialNumber": "T***************",
                    "useCachedLocalLivestream": true,
                    "videoConfig": {
                        "audio": true,
                        "audioSampleRate": 0
                    },
                    "talkback": true,
                    "enableCamera": "true",
                    "hsv": true,
                    "hsvRecordingDuration": 90,
                    "hsvConfig": {},
                    "unbridge": false,
                    "snapshotHandlingMethod": 1
                },
                {
                    "serialNumber": "T***************",
                    "useCachedLocalLivestream": true,
                    "videoConfig": {
                        "audio": true,
                        "audioSampleRate": 0
                    },
                    "talkback": true,
                    "enableCamera": "true",
                    "hsv": true,
                    "hsvRecordingDuration": 90,
                    "hsvConfig": {},
                    "unbridge": false,
                    "snapshotHandlingMethod": 1
                }
            ]
        }

P.S. Both cameras work fine in the EUFY app.


The problem is that in HomeKit, I have to Right Click on the Kitchen camera image (that was black and off), select Accessory Details-> Recording Options and then Select Stream for both "When Home" and "When Away". Once I did the above, I can see streaming from my Kitchen camera :)

joeriSp1977 commented 5 months ago

First of all, I apologise for responding to this old post. This is the only place I could find with a similar issue as I have.

I recently started using Homebridge and am experiencing the same issues with my Eufy cameras.

With some difficulty (first configuring as motion sensors and later changing to camera), I got the cameras available in Homekit. However, the cameras have the status "Off" while in the Eufy app everything seems to be working fine. When I click on the camera, I get the text "This camera is in 'Off' mode and cannot stream or record".

There is no way I can get the cameras to work.

In this issue, I saw a Workaround by downgrading to version 2.2.7 (am now using the latest version 2.2.21) but this version is no longer available. The last version I can install is version 2.2.10 however this downgrade did not fix the issue. With other available software versions or settings, I also fail to get the cameras to work.

Is there another workaround to solve this issue or a possibility to still use version 2.2.7?

I really have no idea at the moment how to solve this now.

`

    {
        "username": "xxx",
        "password": "xxx",
        "country": "NL",
        "deviceName": "Camera",
        "platform": "EufySecurity",
        "ignoreStations": [],
        "ignoreDevices": [],
        "cleanCache": true,
        "cameras": [
            {
                "serialNumber": "xxx",
                "useCachedLocalLivestream": false,
                "videoConfig": {
                    "audio": false,
                    "audioSampleRate": 0
                },
                "talkback": false,
                "enableButton": true,
                "motionButton": false,
                "snapshotHandlingMethod": 3,
                "delayCameraSnapshot": true,
                "enableCamera": true
            },
            {
                "serialNumber": "xxx",
                "useCachedLocalLivestream": false,
                "videoConfig": {
                    "audio": false,
                    "audioSampleRate": 0
                },
                "talkback": false,
                "enableButton": true,
                "motionButton": false,
                "delayCameraSnapshot": true,
                "enableCamera": true
            },
            {
                "serialNumber": "xxx",
                "useCachedLocalLivestream": false,
                "rtsp": false,
                "videoConfig": {
                    "audio": false,
                    "audioSampleRate": 0
                },
                "talkback": false,
                "delayCameraSnapshot": true,
                "enableButton": true,
                "motionButton": false,
                "enableCamera": true
            }
        ],`
JEMcats commented 5 months ago

Hi @joeriSp1977, may I know what platform Homebridge is running on?

cytan299 commented 5 months ago

Hi JoeriSp1977 Did you try the latest beta? And did you try what I had posted about enabling streaming in HomeKit? HomeKit didn't show camera on/off (although I can see the camera go on and off)until I enabled streaming.

cytan

joeriSp1977 commented 5 months ago

@JEMcats Synology NAS

joeriSp1977 commented 5 months ago

@cytan299 In homekit (Home app) I don't have Recording Options in the Accessory Details. Or do I need to do this in Homebridge? Can you please tell me what the latest beta version is? Can try it tonight.

JEMcats commented 5 months ago

To install Homebridge-Eufy-Security 2.2.7 run:

$npm install -g homebridge-eufy-security@2.2.7

If your on docker, go to the homebridge terminal and run:

$hb-service add homebridge-eufy-security@2.2.7

JEMcats commented 5 months ago

If you're looking for HKSV (HomeKit Secure Video), try installing 2.3.0, this will show recording options.

joeriSp1977 commented 5 months ago

@JEMcats Thanks, will try tonight.

JEMcats commented 5 months ago

No Problem

cytan299 commented 5 months ago

Hi JoeriSP1977 Here's how I installed the beta version: https://github.com/homebridge/homebridge/wiki/How-To-Change-Homebridge-Version

The beta version that I'm using is 2.2.0-beta.20

and if you want to use homekit secure video, you have to use the beta version (I'm using HKSV) as we speak and it works (last entry of common issues):

https://github.com/homebridge-eufy-security/plugin/wiki/Common-Issues

And I had to enable streaming (stream & allow recording doesn't work for me) in HomeKit using my previous instructions. Note: On motion event, the cameras will record, but it'll be on the memory card and not into iCloud. At least for me, that's great: I don't need to pay extra for iCloud :)

Also, I had enabled 2FA in my Eufy account + when Homebridge rebooted with the beta version if may complain about the Captcha required problem. You'll have to follow the instructions in the above link for Captcha required solution.

cytan

joeriSp1977 commented 5 months ago

@JEMcats I tried to install the 2.2.7 version but get the message below. Can you please help me?

image

joeriSp1977 commented 5 months ago

@cytan299 Installed v2.2.0-beta.20 but unfortunately this didn't solve the problem.

joeriSp1977 commented 5 months ago

@JEMcats . Managed to install, $ to many.

joeriSp1977 commented 5 months ago

@JEMcats It looks like I have installed something but I can't see the plugin 2.2.7 anywhere in homebridge. Sorry to bother you but don't a clue how to activate. Thanks in advance

JEMcats commented 5 months ago

Have you tried using hb-service install instead of npm install -g ?

joeriSp1977 commented 5 months ago

@JEMcats I have not tried this. But somehow I got it working.

I don't know what fixed the issue but I saw in the logging that I had a "Socket warning". I changed Avahi to systemd-resolved under mDNS Options in Homebridge settings (the software now chooses Bonjour-HAP). I also set the cameras first to Bridged and later to Unbridged. Now it seems to work fine.

Thanks for your support.