go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

Even though HKSV is enabled, no recording is being saved

Open bgoncal opened this issue 2 years ago • 40 comments

I have my Aqara G4 doorbell in Apple Home through go2rtc, I have enabled recording on any movement (in HomeKit secure video), but nothing was recorded till now (a few hours using).

Is HKSV really supported?

bgoncal avatar Oct 12 '23 21:10 bgoncal

Proxy logic fixed in latest master version. I'm not using HKSV, so can't test it.

AlexxIT avatar Oct 13 '23 09:10 AlexxIT

I am having a similar problem. I haven't "fully" installed the device yet, because I want to make sure it is working or I will send it back. From the troubleshooting tips I have found, such as removing the doorbell from the Aqara and HK app, it still won't stream and record. 2TB iCloud plan 128gb SD card, no batteries, wired to a 12v source, firmware current at 4.0.4, HK either on a current HomePod mini or AppleTV. Activity history either off or One Month. If I don't get this working soon, I will send it back. I know HKSV works for me because I can do it from a Wyze camera streamed through Scrypted.

brb408wpb avatar Oct 13 '23 21:10 brb408wpb

Proxy logic fixed in latest master version. I'm not using HKSV, so can't test it.

Until this moment, nothing recorded

bgoncal avatar Oct 19 '23 23:10 bgoncal

I don't understand if problem solved or not

AlexxIT avatar Oct 20 '23 04:10 AlexxIT

First, THANK YOU Alex!! The proxy feature is AMAZING.

Second, I am having the same problem. I tested on multiple cameras: 2 Aqara G3s, Aqara G2H, Aqara G2H Pro, and an Ecobee Camera.

Happy to help test if you decided to work on a fix.

heroash88 avatar Nov 07 '23 05:11 heroash88

I don't understand if problem solved or not

The problem was not solved, I still don't see recordings in Apple Home app, neither on Aqara G4 or G3

bgoncal avatar Nov 07 '23 13:11 bgoncal

Unfortunately I can't pay for iCloud even for a test. Payment systems are blocked in the country.

AlexxIT avatar Nov 07 '23 13:11 AlexxIT

Unfortunately I can't pay for iCloud even for a test. Payment systems are blocked in the country.

Is there anything that I or @heroash88 could help as a user?

bgoncal avatar Nov 07 '23 14:11 bgoncal

I guess I need to see live how the data is transferred to understand the problem. As I know, HKSV can be enabled only for paid accounts.

AlexxIT avatar Nov 07 '23 15:11 AlexxIT

I've got the same situation with my cameras. Can't get any of them (proxied Eve cameras and Reolink cameras) to record anything after adding them in Apple Home. Get the option when adding them to record and have enabled it but there's no recording being saved on Apples servers. The only time it's working is if I'm adding the HomeKit cameras directly to Apple Home but I really wanna get them in Home Assistant and Go2RTC. Recordings working through other HKSV application, for example Scrypted.

Has anyone got the recordings working on Go2RTC? Also, awesome job

AbsolutJohan avatar Dec 05 '23 19:12 AbsolutJohan

@AbsolutJohan you got not same situation. Go2rtc doesn't support HKSV for 3rd party cameras. This issue about HomeKit cameras.

AlexxIT avatar Dec 06 '23 04:12 AlexxIT

@AbsolutJohan you got not same situation. Go2rtc doesn't support HKSV for 3rd party cameras. This issue about HomeKit cameras.

Im sorry, then I understand why some doesn’t work but the Eve indoor and outdoor cameras that I have has native support for HKSV. So I suppose the idea is that they are supposed to work as proxied HomeKit cameras with HKSV in Go2RTC

AbsolutJohan avatar Dec 06 '23 09:12 AbsolutJohan

Ok. Looks like HKSV proxy has some problems. I can't check them because I don't have an iCloud subscription.

AlexxIT avatar Dec 06 '23 10:12 AlexxIT

Any idea what the secret sauce koush/scrypted is using to get 3rd party cameras to work on HKSV? AlexxIT sorry you cant test it this is such a great bit of code you made here though, keep up the good work.

consolecwby avatar Dec 12 '23 03:12 consolecwby

No any magic there. Just support motion sensor and additional HomeKit services.

AlexxIT avatar Dec 12 '23 05:12 AlexxIT

No any magic there. Just support motion sensor and additional HomeKit services.

I'm currently using Scrypted only to get HKSV on my Tapo cameras. I was hoping the Homekit support in Go2rtc would work similar. Is it by any chance features coming? I've tried using both rtsp, onvif and the tapo source but non seem to give HKSV the motion sensor it needs (Scrypted is using onvif for that feature what I can tell)

filikun avatar Dec 21 '23 22:12 filikun

@AlexxIT могу предоставить возможность либо удаленного подключения к своему серверу для проверки работы камер (aqara g2h или g2h pro) либо могу помочь с оплатой подписки, там для 1 камеры достаточно минимального тарифа. было бы очень здорово, если бы ты починилподдержку hksv.

wbln avatar Feb 10 '24 18:02 wbln

Any update on this? Workaround? I need the doorbell (Aqara G4) on frigate so I've put it through go2rtc and then the transparent proxy to HomeKit, but the timeline recordings feature doesn't work.

mtthidoteu avatar Feb 19 '24 16:02 mtthidoteu

Yes, I’d be interested in that as well as I have the same problem. Also, is it possible to duplicate the stream that go2rtc creates? My camera only has one stream and then it shows up as in use through HomeKit.

DrPain911 avatar Feb 21 '24 12:02 DrPain911

Any update on this? Workaround? I need the doorbell (Aqara G4) on frigate so I've put it through go2rtc and then the transparent proxy to HomeKit, but the timeline recordings feature doesn't work.

as a workaround, i use the Scrypted service with motion detection plugin.

wbln avatar Mar 14 '24 06:03 wbln

Could you describe what you are doing? Does it work with the doorbell ring and two way audio?On 14 Mar 2024, at 06:29, N. Moiseenko @.***> wrote:

Any update on this? Workaround? I need the doorbell (Aqara G4) on frigate so I've put it through go2rtc and then the transparent proxy to HomeKit, but the timeline recordings feature doesn't work.

as a workaround, i use the Scrypted service with motion detection plugin.

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

mtthidoteu avatar Mar 14 '24 10:03 mtthidoteu

Could you describe what you are doing? Does it work with the doorbell ring and two way audio?

i mean, as a workaround, recording video in HCSV requires that the camera transmit status from a motion sensor that go2rtc does not currently transmit. And to do that, I use the Scrypted service, where I programmatically recognize movement and transmit that information to HomeKit

wbln avatar Mar 14 '24 10:03 wbln

Could you describe what you are doing? Does it work with the doorbell ring and two way audio?

i mean, as a workaround, recording video in HCSV requires that the camera transmit status from a motion sensor that go2rtc does not currently transmit. And to do that, I use the Scrypted service, where I programmatically recognize movement and transmit that information to HomeKit

I see! And are you using it with a doorbell or just a camera? If a doorbell, does the two way audio work? And the 'Someone has rang the doorbell' homekit notification work?

mtthidoteu avatar Mar 14 '24 11:03 mtthidoteu

Camera only, unidirectional audio.

wbln avatar Mar 14 '24 11:03 wbln

For me everything works (2w-audio, ring notification), even the motion sensor appears and registers motion. But it doesn’t trigger a HKSV recording, even though it is enabled in the camera settings.

DrPain911 avatar Mar 14 '24 12:03 DrPain911

Alex! go2RTC is a very cool program. I have 4 cameras connected and broadcast to homekit and Alice. But the no video recording in homekit forces me to give up for a while. The wife says it is not convenient)). I think many will agree. Thank you!

bebaton14 avatar Mar 19 '24 09:03 bebaton14

@AlexxIT ожидаются ли какие-то подвижки в сторону починки hksv прокси?

wbln avatar Mar 24 '24 15:03 wbln

Suddenly, I have a wife, too. And she has plans for my free time, too :)

AlexxIT avatar Apr 21 '24 05:04 AlexxIT

Congrats, I know the feeling 😉

DrPain911 avatar Apr 21 '24 08:04 DrPain911

I am having the same problem, when motion is detected and it is supposed to trigger recording on hksv it generates this error: [homekit] unknown host: NULL

SashaBusinaro avatar May 01 '24 12:05 SashaBusinaro