Using firmware 4.5.20_0026.0096 , Latest frigate , latest home assistant.
I purchased an AQARA G410 from RING, basically because i was under the impression it was all local and worked in Home Assistant. Also i wanted a notification on my AppleTV.
Since my purchase i have found increasing paywall activity by AQARA and in retrospect i should have gone with REOLINK.
The problem is the streaming to frigate/doubletake in home assistant, it works fine in AQARA app of the time. But the feed has been increasingly unstable, so useless to me since 4.5.20_0026.0096.
I see some posts that suggests âsun shining directlyâ on lens can cause it?? Ridiculous, its a doorbell, anyway Iâm in the UK and its in a covered porch( so not much chance of the sun shining directly on lens, lol). The sky seems to be washed out, i have notice (needs better adjustment settings)
Asked for chatGPT help and claude for help reconfiguration of frigate, they help a little, then i get âno frames receivedâ error message. So i think its the stream itself. Why offer the streaming, if its unusable.
Iâm very disappointed with this device, as you can tell. Nearly had enough.
Hi there, it looks like youâre experiencing a support-related issue. Weâve automatically created a support ticket for you and will reach out via the forum email within the next two business days.
If other members have any suggestions or insights on this topic, feel free to share!
It was getting worse, delayed doorbell notifications etc
I stopped frigate and doubletake. And stopped them starting on boot, turned off watchdog.
Removed the Generic Camera from the integration
Rebooted HA Host dedicated device
Generic Camera would not connect.
hard reset both the camera and ringer( although it might not have worked with the camera because its wired and has got batteries for backup in)
Checked the Stream was working in VLC â Yay!
Re-added the Generic Camera â Yay!
Started frigate and doubletake â Yay!
Many Moons ago, when i first set it up, i recall having some problems with the Generic Camera integration. The preview after the connection was just spinning. But i accepted anyway.
This time the preview appeared? So i can only assume the Generic Camera part was amiss in some way?? Sorry i cannot be more specific on the cause. I donât know how long it will last? But at the moment its also a lot quicker in showing the stream. So sometimes it seems, nuke it and start again is the fix. Very frustrating.
Stopped again.
Found that the Aqara app was intermittent at showing live stream as well. Also no memory card playback!! Set to âcontinuous loopâ, also have NAS backup.
Reformatted the card, restarted the device. All working again???
Is it not continuous looping correctly?
Its wired in, can you use the batteries as well or should i take them out?
Because at this point , i cannot seem to fix it, temporary fixes but then get errors. I ran the frigate logs through a Claude AI, results are:
Deeper Problem â RTSP Stream Timestamp Corruption
The situation got worse, not better. The new logs reveal a much more fundamental issue than I initially suggested. Let me break down whatâs actually happening.
What the Logs Show
The key new errors are:
bad cseq â The RTSP sequence numbers are jumping wildly (eb55 expected 69ca), meaning RTP packets are arriving completely out of order or the stream is resetting mid-session.
Massive DTS jumps â DTS 2683461663, next:1749717000 â the timestamps jumped backwards by ~933 million ticks on stream 1 (audio). This is a stream-level reset/discontinuity.
Every single audio frame is being dropped â All those invalid dropping st:1 lines are audio packets being discarded because their timestamps are from a completely different epoch.
Corrupt recording segments â The timestamp chaos corrupted the cached .mp4 segment.
Root Cause
Your camera ([IP_address]) is resetting its RTSP stream internally â likely a firmware issue or the camera is renegotiating/restarting the stream without tearing down the RTSP session. The go2rtc relay at 127.0.0.1:8554 passes this corruption straight through.
It gives some fixes but i have tried them before. Use ffmpeg and tcp transport. Drop FPS in camera settings(i couldnât see any setting in the Aqara app)
I have learned a few things, but still getting errors. Starts OK then reverts to errors. I think next i will remove the âAudioâ but we shouldnât be debugging for Aqara. I may have to give up with this doorbell(thats not true, never give up, never surrender lol).
p.s # Hatton920 They are back from holiday now apparently
Got rid of the audio settings in frigate, which cleaned the logs for a short while. I think stability is the issue, the network seems strong in app, -44 rssi, doorbell signal says medium-high. No direct sunlight(uk), i think we need to build an ark, its been raining so much.
I think itâs a shame that this doorbell isnât better integrated into Home Assistant, and I really should have known about Reolink sooner because I replaced my G3 with a Reolink and it works perfectly.