homebridge-plugins / homebridge-camera-ffmpeg

Homebridge Plugin Providing FFmpeg-based Camera Support
https://homebridge-plugins.github.io/homebridge-camera-ffmpeg/
Apache License 2.0
1.09k stars 227 forks source link

No Longer Getting Rich Notifications On iOS 13 Beta 5 #332

Closed tarbychark closed 5 years ago

tarbychark commented 5 years ago

My current home hubs are Apple TVs also running tvOS 13 beta 5. Motion notifications still come through, but I’m no longer getting image previews. Let me know if there is any logging you might need.

NorthernMan54 commented 5 years ago

@ScharV I abandoned that with my WyzeCam’s due to stability and image quality issues ( Night Vision ). And am currently working on an approach based on the Wyze RTSP firmware, node-red and camera-ffmpeg ( the version in my fork ). Still a work in progress, but so far it has been positive.

ScharV commented 5 years ago

@NorthernMan54 that sounds really good. Will it have the same functions as the dafang plugin?

NorthernMan54 commented 5 years ago

@ScharV no, as I’m basing it on camera ffmpeg and the Wyze firmware. My focus is on mimicing the Ring Camera with snapshots and videos stored to google photo’s. I’m currently storing a high quality picture and 1 minute of video for each motion event.

ScharV commented 5 years ago

@NorthernMan54 would it be possible to help me to get it work on dafang plugin?

phralh commented 5 years ago

Great work!

I really would like support for triggering motion with a mqtt message to avoid adding extra dummy switches. I wish I was skilled enough to make it happen.

@ScharV If we could get mqtt support you could expose the dafang video stream through homebridge-camera-ffmpeg. Dafang hacks sends mqtt message for motion which the camera plugin could listen for and trigger a rich notification.

ScharV commented 5 years ago

@phralh that sounds very good but i don‘t want to miss camera movement Accessoires

phralh commented 5 years ago

@ScharV You don't have to move more than the rtsp stream, and you can delete accessories you don't need in config.json. Keep the controls!

I currently have one dafang exposed with dafang plugin for control, and one dafang exposed with mqttthings plugin for control (I find it easier and more powerful to setup control via node-red). Both videostreams is exposed to homebridge using homebridge-ffmpeg-camera.

ScharV commented 5 years ago

Thats an interesting way🤔

fennec622 commented 5 years ago

Thanks for all I adapt to mqtt and all is ok when i have time i publish on git

tarbychark commented 5 years ago

@ScharV You don't have to move more than the rtsp stream, and you can delete accessories you don't need in config.json. Keep the controls!

I currently have one dafang exposed with dafang plugin for control, and one dafang exposed with mqttthings plugin for control (I find it easier and more powerful to setup control via node-red). Both videostreams is exposed to homebridge using homebridge-ffmpeg-camera.

I have pretty much the same setup. MQTT functions from homebridge-dafang combined with the stream in homebridge-camera-ffmpeg.

Everything works like a charm now with the changes from @NorthernMan54!

Thanks for all of the hard work!

pax0707 commented 5 years ago

Works like a charm!

nerosan commented 5 years ago

@NorthernMan54 Thank you for fixing this Problem.

NorthernMan54 commented 5 years ago

@tarbychark as this was merged last night, can you close this

Just a comment for everyone else, one side effect of the change is that each device now sends an individual snapshot request when motion is detected, and this causes a mini DDOS attack on my camera. During my last round of testing I counted 4 snapshot requests at once to my camera. Where previously it was a single request.

Just a heads up, as you may now encounter resource constraints on your homebridge instance or camera, if you have a lot of iOS devices.

iuliusmaximilian commented 5 years ago

Quick question, has anyone this working with a conditional automation e.g. with an if then clause on HomeKit Shortcut instead of toggle the switch on. I wanted to use a virtual (HomeMatic) Variable als switch to toggle Notification on/off in general and include this virtual switch into an if then clause within the automation to toggle the camera motion switch on - but this does not work whyever.

1 2 3

black01gt commented 5 years ago

I updated and added motion true to my config but don’t get the switch or motion sensor.

pax0707 commented 5 years ago

Go to camera, settings. Should see 2 accessories there.

black01gt commented 5 years ago

Figured it out for some reason my homebridge plug-ins are being installed in a different location then they did when I installed.

joselito11 commented 5 years ago

Apple released ios 13.2 with homekit grouping, anyone tried if that also fix notifications?

BadgerBadgerAndFox commented 5 years ago

@joselito11 wont help, that simply flips between post and pre ios 13 behavior for display of combined devices. Under 13 combined devices place the accessories inside the parent object. Prior to 13 they appeared alongside them (in the same Homekit "room"). The code fix as implemented works great.

joselito11 commented 5 years ago

Just asking if maybe apple have fixed😀 I have implemented the code, and works fine.