New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio from/through Homekit app to Ring Doorbell not working. #431
Comments
First thing to try is to make sure that you turn on your microphone within the first few seconds of the video stream. After about 5 seconds, the return audio converter times out if it hasn't received any packets. If you turn on the audio right away and still don't hear return audio, then try setting |
Thanks for the response! Here is my Ring debug. There's are the actions I took to produce the log: [8/16/2020, 09:26:05] [Ring] No snapshot cached for Voordeur [8/16/2020, 09:26:09] [Ring] ffmpeg stderr From Ring: Metadata: [8/16/2020, 09:26:09] [Ring] ffmpeg stderr From Ring: Stream mapping: [8/16/2020, 09:26:09] [Ring] ffmpeg stderr From Ring: Output #0, rtp, to 'srtp://192.168.1.8:50408?localrtcpport=46555&pkt_size=188': [8/16/2020, 09:26:09] [Ring] ffmpeg stderr From Ring: Stream #0:0: Audio: aac (libfdk_aac) (ELD), 16000 Hz, mono, s16, 24 kb/s [8/16/2020, 09:26:09] [Ring] Streaming active for Voordeur [8/16/2020, 09:26:10] [Ring] ffmpeg stderr HomeKit Return Audio: Metadata: [8/16/2020, 09:26:10] [Ring] ffmpeg stderr HomeKit Return Audio: Stream mapping: [8/16/2020, 09:26:10] [Ring] ffmpeg stderr HomeKit Return Audio: Output #0, rtp, to 'srtp://127.0.0.1:43199?pkt_size=188': [8/16/2020, 09:26:10] [Ring] ffmpeg stderr HomeKit Return Audio: Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s [8/16/2020, 09:26:11] [Ring] ffmpeg stderr From Ring: size= 5kB time=00:00:01.45 bitrate= 29.3kbits/s speed=0.945x [8/16/2020, 09:26:16] [Ring] ffmpeg stderr From Ring: size= 23kB time=00:00:06.67 bitrate= 27.7kbits/s speed= 1x [8/16/2020, 09:26:38] [Ring] ffmpeg stderr HomeKit Return Audio: size= 159kB time=00:00:17.44 bitrate= 74.8kbits/s speed=0.635x [8/16/2020, 09:26:38] [Ring] ffmpeg stderr HomeKit Return Audio: Exiting normally, received signal 15. [8/16/2020, 09:26:38] [Ring] ffmpeg HomeKit Return Audio exited with code 255 [8/16/2020, 09:26:38] [Ring] ffmpeg stderr From Ring: size= 62kB time=00:00:18.57 bitrate= 27.3kbits/s speed=0.649x [8/16/2020, 09:26:38] [Ring] ffmpeg stderr From Ring: Exiting normally, received signal 15. [8/16/2020, 09:26:38] [Ring] ffmpeg From Ring exited with code 255 |
Those logs look perfect, no obvious issues with return audio. Can you try v |
Thanks @dgreif for answering so quick. |
I am having this same issue with the same mode doorbell. Kind of stating the obvious, but a fix would be awesome! |
Thanks for the additional detail @mrh270188. The fact that the recording contains the audio means that we are at least getting it to the Ring server properly. Did this work for either or you previously? Would you be willing to try downgrading to version |
I just downgraded using the command you gave and that did not fix the issue. I am running HOOBS and logs look nearly identical to the logs above. Thanks! |
@mdemarino thanks for trying. Has 2-way audio ever worked for you? |
No it has not. I only have one ring doorbell on my HOOBS & a ring security system. |
Would you be willing to try downgrading to version Did this work for either or you previously? |
I have indeed no issues once so ever. |
Thank you both for trying the older version. You can update back to the latest since downgrading didn't help. Unfortunately, I don't have a Doorbell 2 to test with (I have the doorbell pro), so I can't really dig into this further. The logs look good, and it sounds like the audio is getting to the Ring servers just fine since it's in the recordings. The only other thing I can think of is maybe the output volume level is set on a per-session basis and for some reason it's set to 0 for your homebridge session. The easiest way to confirm this would be for you to run the device discovery tool and post the output here. See https://github.com/dgreif/ring/wiki/Data-Discovery for the full directions on how to do that. |
My test to show it can work. Tested on a ring video doorbell 2. (With detachable battery) Edit: |
Fortunately enough for me, I am still within my return window. So I will be upgrading to the Pro, sorry this doesn’t help the open issue. |
Yeah I just edited my post to clarify this 😄 |
@mrh270188 running https://github.com/dgreif/ring/wiki/Data-Discovery is the next step at this point |
Here is the json printed after using the ring-device-data-cli command: {"locations":[{"name":"Den Helder","cameras":[{"description":"Voordeur","subscribed":true,"subscribed_motions":true,"battery_life":"100","external_connection":true,"firmware_version":"Up to Date","kind":"cocoa_doorbell","settings":{"offline_motion_event_settings":{"subscribed":true,"enabled":false,"max_upload_kb":5000,"resolution_p":360,"frequency_after_secs":2,"period_after_secs":30},"lite_24x7":{"subscribed":true,"enabled":true,"frequency_secs":3600,"resolution_p":360},"enable_vod":1,"exposure_control":2,"motion_zones":[1,0,0,0,0],"motion_snooze_preset_profile":"low","motion_snooze_presets":["none","low","medium","high"],"live_view_preset_profile":"middle","live_view_presets":["low","middle","high","highest"],"pir_sensitivity_1":5,"vod_suspended":0,"doorbell_volume":0,"vod_status":"enabled","video_settings":{"encryption_enabled":null},"advanced_motion_detection_enabled":true,"advanced_motion_zones":{"zone1":{"name":"Default Zone","state":2,"vertex1":{"x":0,"y":0.4},"vertex2":{"x":0.333333,"y":0.4},"vertex3":{"x":0.666666,"y":0.4},"vertex4":{"x":1,"y":0.4},"vertex5":{"x":1,"y":1},"vertex6":{"x":0.666666,"y":1},"vertex7":{"x":0.333333,"y":1},"vertex8":{"x":0,"y":1}},"zone2":{"name":"Zone 2","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}},"zone3":{"name":"Zone 3","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}}},"advanced_motion_detection_human_only_mode":true,"enable_audio_recording":true,"people_detection_eligible":true,"live_view_disabled":false,"ignore_zones":{"zone1":{"name":"","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone2":{"name":"","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone3":{"name":"","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone4":{"name":"","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}}},"enable_rich_notifications":false,"rich_notifications_billing_eligible":true,"loitering_threshold":10,"advanced_motion_detection_types":["human"],"motion_detection_enabled":true,"rich_notifications_scene_source":"cloud","recording_storage_type":"default_s3","advanced_motion_zones_enabled":false,"advanced_motion_zones_type":"8vertices","advanced_pir_motion_zones":{"zone1_sensitivity":5,"zone2_sensitivity":5,"zone3_sensitivity":5,"zone4_sensitivity":5,"zone5_sensitivity":5,"zone6_sensitivity":5},"rich_notifica-uuid":false},"features":{"motions_enabled":true,"show_recordings":true,"show_vod_settings":true,"rich_notifications_eligible":true,"show_24x7_lite":true,"show_offline_motion_events":false,"chime_auto_detect_capable":false},"owned":true,"alerts":{"connection":"online","ota_status":"successful"},"motion_snooze":null,"stolen":false,"is_sidewalk_gateway":false,"created_at":"2020-08-08T16:55:52Z"}],"chimes":[],"devices":[]}],"amazonKeyLocks":[]} |
@mrh270188 can you give v |
It’s working now! Edit: I did purchase the Ring Pro and that did work on previous versions. I upgraded to 9.8.2 and the Ring Doorbell Gen 2 is now working!!!! Thanks! |
@mdemarino that's great! I saw your note that it wasn't working with |
@dgreif I thought I had updated but I was wrong, once the update and it actually went through and I rebooted my pi it worked great! |
Awesome! I'll wait for @mrh270188 to report back before closing |
Everything seems to be working now. Thanks alot for your support! |
Hello, hey hey.
I have Ring 2nd Generation and I can hear the person standing at the door but I cannot get the mic function working to talk back thought HomeKit.
I see that this has been updated and it should be working, but for me it doesn't.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: