Aqara Video Doorbell G4 Announced with future Matter support

Just set it up, go2rtc connects directly to the camera via the HomeKit protocol, and exposes the stream to HomeKit (transparent proxy) and to frigate. It works perfectly! haven’t yet added it to home assistant but I wouldn’t see why it wouldn’t work!

but if you pair the camera to go2rtc and not to HA you are missing functions. E.g. trigger the doorbell

I have troubles adding it to Homekit at all. Can I still connect it to whatever else, without having to add it to HK first?

Should be zero issues connecting to HomeKit. Are you trying to add it to the iOS Home app or Home Assistant with HomeKit Device? Your only alternative is using the Aqara app.

Nope, as go2rtc can then publish a transparent proxy to HomeKit: so doorbell rings and everything go through. Only thing is that go2rtc doesn’t support HKSV

1 Like

I’ve got go2rtc set up, with the doorbell showing in Home & Aqara apps, so I have access to the settings. And I can see the stream in Home Assistant. So that’s good.

But, is there anyway to have this set up such that I can see an event or something triggered in Home Assistant if the doorbell is pressed? Home app doesn’t let you make an automation to turn on/off another device if the doorbell is rung. Seems to have no way to acknowledge it happened at all, other than the notification that is sent.

My main issue with having just added the doorbell to Home app normally, is that there’s no way to trigger an automation if someone presses the doorbell. Does anyone know a work around?

Hi, I have managed to get everything working as expected :slight_smile:

Steps are:

  1. Add G4 to your Apple Home first
  2. Import G4 from Apple home to Aqara app
  3. Remove G4 from Apple Home
  4. Add G4 to HomeKit
  5. Import G4 from HomeKit to Go2RTC, here is the config:
streams:
  front_door: 
    - homekit://.... # You can find this on Go2RTC -> Add -> HomeAssistant (NOT APPLE HOMEKIT)
    - ffmpeg:front_door#audio=opus

homekit:
  front_door:
    pin: #Put your pin here
    name: FrontDoor
    device_id: front_door
    device_private: front_door
  1. Import camera back to Apple Home :slight_smile:

I have just set all this up so we will see how stable it is, but for now two-way audio, camera and notifications are working as expected.

Cheers!

2 Likes

Hi, I have got the G4 in to HA and also in to Apple Home, but wondered if it is possible to access the video stream as a http cam? want to us it in homey and on a dashbord (not a HA dashbord).

I have successfully gotten through steps 1 - 5.

But how do I get it back into the Home App?

If I try to pair with the QR code (not entering pairing mode), it says “Accessory Already in Another Home”

It took me two days to figure this out.

I always write down the process in detail, incase I ever need to repeat it.

Here is how I got this to work:

1) Add G4 to your Apple Home App

  • Reset the camera (hold reset for 10 seconds)
  • Reset the repeater (press button 10 times)
  • Pair with Apple Home App
  • Optional, select location area
  • Do not adjust other settings, (just use defaults)

2) Import G4 from Apple Home App to Aqara App

  • Open G4 in Apple Home App
  • Go to setting for G4 and open the Aqara App from there
  • Bind G4 to the Aqara App (Do not add by pairing, choose BIND)
  • Optional, select location area
  • Do not adjust other settings, (just use defaults)
  • NOTE: Make sure your phone is on the same Wi-Fi network as G4

3) Remove G4 from Apple Home App

  • Click on the G4 in the Apple Home App
  • Click settings
  • Scroll to bottom and click Remove Camera from Home

4) Add G4 to HomeKit Device Integration in HA

  • Doorbell Repeater should be auto discovered in Integrations
  • Click Configure
  • Enter Paring Code listed above G4 QR Code (no hyphens)
  • Click Submit
  • Optional, select location area
  • Click Finish

5) Add G4 to Go2RTC via Config

  • May need to restart Go2RTC from Add ons first
  • Edit this configuration (listed below)
    • Use the G4 Device ID in all fields (DEVICEID)
    • Collect the link for homekit stream from Go2RTC > Add > Home Assistant
  • Paste the edited configuration into Go2RTC > Config
  • Click Save & Restart
  • Restart HA

6) Import G4 back to Apple Home App as a Virtual Device

  • Open Apple Home App
  • Click + and select Add Accessory
  • Click More Options
  • Select nearby device (go2rtc-XXXX)
  • Ignore popup warning
  • Enter Default PIN (19550224)

Edit this configuration:

streams:
  DEVICEID: 
    - homekit://XXX.XXX.XX.XXX:XXXX?client_id=XXXX
    - ffmpeg: DEVICEID#audio=opus

homekit:
  DEVICEID:

NOTES:

I was not able to use the advance configuration options under homekit in Go2RTC > Config

pin:  did not work for me in the Apple Home App
name: never appeared in the Apple Home App, only go2rtc-XXXX

After using minimal config setting in Go2RTC > Config and pairing with Apple Home App, additional lines appeared in Go2RTC > Config:

pairings:
 - client_id=XXXX&permissions=1
 - client_id=XXXX&permissions=1

I will attempt to edit setting in both the Aqara App and Apple Home App now that this is configured and working.

Big thanks to everyone who figured this out.

Hope these written instructions help others.

5 Likes

I still need some help here.

I first configured this in the Go2RTC standalone add on and it worked fine.

But I want to get the G4 into Frigate.

I spent a few days figuring out how to find the Go2RTC dashboard in Frigate and entered the same configuration. From there I am not able to pair the G4 back to the Apple Home App virtually.

I have two questions:

  1. How do I pair the G4 back into the Apple Home App from the Frigate > Go2RTC config?

  2. If that is not possible, how do I stream the G4 from the standalone Go2RTC into Frigate?

Any help would be appreciated.

i am testing the Aqara G4 Doorbell, and was able to add both HK and HomeAssistant.
In HomeAssistant needed to add using Go2RTC stream and create a new entry as Generic Camera, since the stream from native HA was very poor.

Question - in this case the HomeAssistant can see the stream but is not a 2 way communication correct?

Thanks

Ive got this most of the way working- HA can detect the doorbell press, i can view the doorbell stream from the go2rtc web ui, i can still see the camera in Home app, and i do get notifications on my phone and Apple TV. Whats missing is

HKSV, ive lost recordings. I still see them in the Aqara app, but i still would rather use Home. I do have it set to record, but it doesnt anymore since this integration.

Object Detection - I do get notifications of basic motion, but when i switch it to notify on people or packages etc it stops notifying.

My go2rtc config is:

streams:
  AqaraG4_HA_Doorbell:
    - homekit://HOMEKIT_CONFIG_FROM_HA_TAB_IN_GO2RTC
    - ffmpeg:AqaraG4_HA_Doorbell#audio=opus

homekit:
  AqaraG4_HA_Doorbell:
    pin: 12345678 

what am i doing wrong?

2 Likes

Does this doorbell easily sync with HA now with the new Aqara Hub M3?

Did you solved that in the meantime? I have the exact same problem…

Hi,
I dont get it managed in Home Assistant.

What do you mean with “Apple Home App”? Is that an app on an apple device or in Homa Assistant? I dont have any apple devices.

I have conncected the G4 with the Aqara App on my Android device.

In Homa Assistant, I went to integrations, add integration, Apple, HomeKit-Device and I see "HASS Bridge XX1XX1 (Bridge). Connecting doesnt work.

If you haven’t resolved this yet, the issue is that it can only be connected in one way. ie the Aqara App or Home Assistant, not both. Try remove it from Aqara App - do not factory reset the doorbell or anything like that. You want it to stay on your network. Then try reconnect via the HA HomeKit-device.

Thank you. It is not resolved. I will check after holidays.

1 Like

If I need full support in Apple Home and doorbell event in HA, what is the way?

1 Like

I still haven’t found one so please share here if you do