samemory / homebridge-eufy-security

Work in progress
Apache License 2.0
97 stars 14 forks source link

Doorbell No response / No Video #27

Closed karesake closed 2 years ago

karesake commented 3 years ago

Hi there,

I have updated to the newest Version of this Plugin this morning. But my Doorbell don't stream any Video.

HomeBridge says: Failed to start stream: spawn ffmpeg ENOENT Doorbell

Has any1 a solution for this ?

/ HomeBridge runs on a Mac with High Sierra. / All other Eufy Devices are working great.

PeterAlexander75 commented 3 years ago

That looks like ffmpeg is not perhaps not installed.

karesake commented 3 years ago

FFMPEG ist installed on the Mac. The Stream starts at one of ten trys and then it loads about 1-2 minutes. At the most time I've got the White "eufy" Screen or the Home-App says "Ne response".

I setting all my hope in Updates of the Plugin. And i hope they can remove this white eufy image.

PeterAlexander75 commented 3 years ago

OK, so I've moved across to this plugin from this one:-

https://github.com/birkir/homebridge-plugin-eufy-security

At version .1.8 and with the latest eufy-node-client installed manually, this did stream reliably (see this comment). Although the homebridge-plugin-eufy-security by birkir appears to be abandoned, it does work at present with doorbells, so perhaps this will help the development team here.

UPDATE: I've just updated the plugin to 0.2.0, cleared the Doorbell from the accessory cache, rebooted Homebridge and streaming is working. It might be worth noting that people using barker's plugin had issues with being locked out their accounts and streaming not being awfully reliable. The only difference to my setup was that I used the same account on an iPad and stayed logged in using both the app and the plugin using the same secondary account.

UPDATE 2: Had trouble with getting the stream to start or move beyond the "Eufy" logo to in some instances. Manually updated eufy-node-client and issues appear to be resolved.

andyrooo82 commented 3 years ago

@PeterAlexander75 i'm having issues getting the stream to start. Not even getting the eufy logo. The logs say that it's starting the stream but it just times out and stops. I have checked and the account i'm using (a secondary account) can access eufy so it's not logged out.

I've tried updating to eufy-node-client@0.5.0 and latest but still not working. What version did you upgrade to?

andyrooo82 commented 3 years ago

UPDATE: Don't worry @PeterAlexander75 i re-read your comments which i should have done before replying. I've updated to latest version of eufy node client and this seems to have done the tick. I can also confirm that at first this disn't work until i logged into the eufy app on my ipad as well so it would seem your way of setting things up is correct.

Note: while troubleshooting I also noticed my VPN wasn't playing nice. I was trying to stream but it kept timing out. Disabling my VPN has sorted this issue out. I'd prefer to have it on but i'm guessing there is either a latency issue or the VPNs DNS (although I don't think it's their DNS because i can resolve the eufy security website ok).

I'f anyone is getting issues stream, might be an idea to disable your VPN if you have one just to see if it works.

samemory commented 3 years ago

This plugin doesn't use the eufy-node-client actually as it's no longer being worked on. It uses eufy-security-client instead.

I have started a discussion topic to help solve some of the issues, so if you could please comment here (https://github.com/samemory/homebridge-eufy-security/discussions/32), it would help us diagnose what's going on.

deadrubberboy commented 3 years ago

OK, so I've moved across to this plugin from this one:-

https://github.com/birkir/homebridge-plugin-eufy-security

At version .1.8 and with the latest eufy-node-client installed manually, this did stream reliably (see this comment). Although the homebridge-plugin-eufy-security by birkir appears to be abandoned, it does work at present with doorbells, so perhaps this will help the development team here.

UPDATE: I've just updated the plugin to 0.2.0, cleared the Doorbell from the accessory cache, rebooted Homebridge and streaming is working. It might be worth noting that people using barker's plugin had issues with being locked out their accounts and streaming not being awfully reliable. The only difference to my setup was that I used the same account on an iPad and stayed logged in using both the app and the plugin using the same secondary account.

UPDATE 2: Had trouble with getting the stream to start or move beyond the "Eufy" logo to in some instances. Manually updated eufy-node-client and issues appear to be resolved.

How/where do I manually update the eufy-node-client?

andyrooo82 commented 3 years ago

OK, so I've moved across to this plugin from this one:- https://github.com/birkir/homebridge-plugin-eufy-security At version .1.8 and with the latest eufy-node-client installed manually, this did stream reliably (see this comment). Although the homebridge-plugin-eufy-security by birkir appears to be abandoned, it does work at present with doorbells, so perhaps this will help the development team here. UPDATE: I've just updated the plugin to 0.2.0, cleared the Doorbell from the accessory cache, rebooted Homebridge and streaming is working. It might be worth noting that people using barker's plugin had issues with being locked out their accounts and streaming not being awfully reliable. The only difference to my setup was that I used the same account on an iPad and stayed logged in using both the app and the plugin using the same secondary account. UPDATE 2: Had trouble with getting the stream to start or move beyond the "Eufy" logo to in some instances. Manually updated eufy-node-client and issues appear to be resolved.

How/where do I manually update the eufy-node-client?

I found instructions here - https://github.com/birkir/homebridge-plugin-eufy-security/issues/45#issuecomment-842929624.

You’ll need to change the directory so it points to homebridge-eufy-security as the above is from a different plugin.

Hope this helps

schliemann commented 3 years ago

Please test again with the newest version of the plugin.

deadrubberboy commented 3 years ago

Please test again with the newest version of the plugin.

Working for me same as before:

Thank you so much for your hard work! Even just the Live View video HUGE for me. Can view on Apple TV.

Misc info:

deadrubberboy commented 3 years ago

FYI - Homebase firmware updated today. Plugin still working as before.

Should this plug in support the cams that do not require a homebase?

lenoxys commented 3 years ago

I don't have solo device to test it but if it follow the same patch than camera which require base it should work.

deadrubberboy commented 3 years ago

Can confirm my non-homebase came is not working. I see error in log "unsupported device". It is in the Eufy app and shared to same guest account I'm using with the plug in.

schliemann commented 3 years ago

@deadrubberboy Please supply full log.

deadrubberboy commented 3 years ago

@deadrubberboy Please supply full log.

I removed things that looked like I shouldn't post in public and lines referencing other plug ins.

[03/08/2021, 13:53:21] [Homebridge UI] Homebridge restart request received [03/08/2021, 13:53:21] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [03/08/2021, 13:53:21] [Homebridge UI] Sending SIGTERM to Homebridge [03/08/2021, 13:53:21] Got SIGTERM, shutting down Homebridge... [03/08/2021, 13:53:26] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [03/08/2021, 13:53:31] [HB Supervisor] Restarting Homebridge... [03/08/2021, 13:53:31] [HB Supervisor] Starting Homebridge with extra flags: -I [03/08/2021, 13:53:31] [HB Supervisor] Started Homebridge v1.3.4 with PID: 3241 Initializing HAP-NodeJS v0.9.4... [03/08/2021, 13:53:32] Loaded config.json with 1 accessories and 5 platforms. [03/08/2021, 13:53:32] Loaded 26 cached accessories from cachedAccessories. [03/08/2021, 13:53:33] --- [03/08/2021, 13:53:33] Loaded plugin: homebridge-config-ui-x@4.41.1 [03/08/2021, 13:53:33] Registering platform 'homebridge-config-ui-x.config' [03/08/2021, 13:53:33] --- [03/08/2021, 13:53:34] Loaded plugin: homebridge-eufy-security@0.2.13 [03/08/2021, 13:53:34] Registering platform 'homebridge-eufy-security.EufySecurity' [03/08/2021, 13:53:35] Loading 5 platforms... [03/08/2021, 13:53:35] [Config] Initializing config platform... [03/08/2021, 13:53:35] [Config] Running in Service Mode [03/08/2021, 13:53:35] [EufySecurity] Initializing EufySecurity platform... [03/08/2021, 13:53:35] [EufySecurity] Loading accessory from cache: Doorbell [03/08/2021, 13:53:35] [EufySecurity] Loading accessory from cache: EufyHomeBase Preparing Advertiser for 'Homebridge CA96' using bonjour-hap backend! Setup Payload: X-HM://002439ICAI8MH Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

Starting to advertise 'Homebridge CA96' using bonjour-hap backend! [03/08/2021, 13:53:35] Homebridge v1.3.4 (Homebridge) is running on port XXXXX. [03/08/2021, 13:53:37] [EufySecurity] This accessory is not compatible with this plugin: Camera Type: 62 [03/08/2021, 13:53:37] [EufySecurity] Restoring existing accessory from cache: Doorbell [03/08/2021, 13:53:37] [EufySecurity] Restoring existing accessory from cache: HomeBase [03/08/2021, 13:53:37] [EufySecurity] This accessory is not compatible with this plugin: CameraType: 62 {"name":"eufyLog","hostname":"homebridge","pid":3241,"level":30,"msg":"Connected to station XXXXX on host XXXand port XXX","time":"2021-08-03T17:53:37.243Z","v":0} [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1266 -47 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1151 1 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Received onStationCurrentModePushNotification - currentMode 1 homekitCurrentMode 1 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Property Changes: -- currentMode { value: 1, timestamp: 1628013217639 } [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1102 9256 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1154 0 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1147 1628013217 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1279 0 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1137 0 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1162 0 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1660 -1 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1664 1 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1165 [] 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1281 0 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Property Changes: -- alarmTone { value: 0, timestamp: 1628013217639 } [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1282 0 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Property Changes: -- notificationStartAlarmDelay { value: false, timestamp: 1628013217639 } [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1284 0 1628013217639 [03/08/2021, 13:53:37] [EufySecurity] Handle Station Raw Property Changes: -- 1285 0 1628013217639 [03/08/2021, 13:53:39] [EufySecurity] Handle DoorBell Property Changes: -- pictureUrl { value: 'm } [03/08/2021, 13:53:39] [EufySecurity] Handle DoorBell Raw Property Changes: -- 1710 { notification_motion_onoff: 1, notification_ring_onoff: 1, notification_style: 1 } 1603123621000 {"name":"eufyLog","hostname":"homebridge","pid":3241,"level":30,"msg":"Connected to station T8010P131946008F on host 10.0.0.5 and port 15409","time":"2021-08-03T17:53:40.158Z","v":0} [03/08/2021, 13:53:40] [EufySecurity] Handle Station Raw Property Changes: -- 1147 1628013220 1628013220589 {"name":"eufyLog","hostname":"homebridge","pid":3241,"level":30,"msg":"Push notification connection successfully established","time":"2021-08-03T17:53:41.542Z","v":0}

deadrubberboy commented 3 years ago

Please delete the log I posted once you're done. Not sure if I got everything out of there I should have

schliemann commented 3 years ago

@deadrubberboy what camera do you have?

deadrubberboy commented 3 years ago

@deadrubberboy what camera do you have?

I'm not at liberty to say at this time.

Sure has been hot and sunny out this summer hasn't it?

schliemann commented 3 years ago

LOL. Ummm. Ok.

lenoxys commented 3 years ago

???

deadrubberboy commented 3 years ago

LOL. Ummm. Ok.

???

NDA

schliemann commented 3 years ago

@deadrubberboy Totally fair. I figured as much. Not really much we can do currently then. If the device is unsupported in the eufy client library you could try to get bropat to support it. But without the model he probably will wait.

bropat commented 3 years ago

@lenoxys @schliemann

Starting with eufy-security-client 1.1.0 I tried to support @deadrubberboy's camera. But since I didn't get this device shared by anyone, I can't say what works or not ;)

lenoxys commented 3 years ago

@lenoxys @schliemann

Starting with eufy-security-client 1.1.0 I tried to support @deadrubberboy's camera. But since I didn't get this device shared by anyone, I can't say what works or not ;)

Hey @bropat, I think you solve most of part and it's on our hands now 👍 https://github.com/samemory/homebridge-eufy-security/discussions/32#discussioncomment-1208553 https://github.com/samemory/homebridge-eufy-security/discussions/32#discussioncomment-1208614

I've asked him to open a dedicated issue for his problem so we can track that.

Thanks again !

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 5 days with no activity.