Closed tarbychark closed 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.
@NorthernMan54 that sounds really good. Will it have the same functions as the dafang plugin?
@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.
@NorthernMan54 would it be possible to help me to get it work on dafang plugin?
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.
@phralh that sounds very good but i don‘t want to miss camera movement Accessoires
@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.
Thats an interesting way🤔
Thanks for all I adapt to mqtt and all is ok when i have time i publish on git
@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!
Works like a charm!
@NorthernMan54 Thank you for fixing this Problem.
@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.
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.
I updated and added motion true to my config but don’t get the switch or motion sensor.
Go to camera, settings. Should see 2 accessories there.
Figured it out for some reason my homebridge plug-ins are being installed in a different location then they did when I installed.
Apple released ios 13.2 with homekit grouping, anyone tried if that also fix notifications?
@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.
Just asking if maybe apple have fixed😀 I have implemented the code, and works fine.
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.