Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature]: Talkback/Two-way audio implementation

See original GitHub issue

Describe the solution you’d like


I’ve implemented a proof-of-concept talkback or two-way audio feature for this repository and would love to hear your input/recommendations.

But first let me thank you for the amount of work you have put in this project, so that we can make so much more out of our eufy devices. While I was working on this I did some network and software analysis on the native eufy app. It seems to me that this repository completely relies on the 1.0 api version of the eufylive network.

  1. do you have plans to move to the latest api version?
  2. do you believe that eufy will eventually let the old api version die, so that this project will no longer work? (since the old eufy apps already show a big warning message that an upgrade is required to use eufy).

But now to the talkback feature:

You can find it in my fork under the feature-talkback branch:

I have a battery doorbell from eufy.

  • T8210 (firmware:
  • Homebase T8010 (firmware

With this setup and a modified homebrigde-eufy-plugin (you can find it here: I am able to use the speech feature inside of HomeKit.

If you want I can open a draft pull request. But I don’t think that it is quite ready to merge it into this project yet, since some things are just missing.

What it does is quite simple. You can start and stop a talkback session while a p2p-stream is running. When the talkback session is confirmed from the station side a writeable stream is returned via EventEmitter. At last you can check whether talkback is supported for the device.

Since I own only a battery doorbell (T8210) this is the only tested and therefore supported device at the moment. But I suppose this approach should work for other devices too.

The input stream has to be of a specific format:

  • AAC_LC (format: adts)
  • 1 channel (mono)
  • 16000 kHz
  • ~16kbps/s (other bitrates might work, but I had best results with this)

An example ffmpeg command would be:

ffmpeg -i input.mp3 -acodec aac -ac 1 -ar 16k -b:a 16k -f adts pipe:1 The stdout of this process can directly be fed into the talkback stream.

Still ToDo:

  • Test other devices
  • Test other codec formats
  • implement for more than one device per station (for now all is running for channel 0 -> first device)
  • sanity checks for incoming audio data (is it the right codec/format, …)

Open questions on my side:

  • I found that you use another packet sequencing for energy saving devices. I didn’t dig really deep into this, since I don’t use that feature for myself. Is there a quick explanation, so that I can check whether this has to be accounted for here?

For me this works for now. If there is a demand I can try and improve this up to the point where it could be merged.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

bropatcommented, Jun 12, 2022

@thieren released 😉

bropatcommented, Jun 10, 2022

Hi @thieren, thank you for testing and contributing. I think this weekend should be doable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use TalkBack gestures - Android Accessibility Help
If you get the TalkBack menu: Your device supports both multi-finger gestures and one-finger gestures. If you don't get the TalkBack menu: Your...
Read more >
In this episode I show you how to setup talkback mics and why we use five. I linked below the mics on Amazon...
Read more >
Two-Way Audio (e.g. for doorbell, intercom, camera-systems ...
Many doorbells and cameras support two-way-audio to talk back to the camera. ... In order for this to be implemented in a standardized...
Read more >
Principles for improving app accessibility - Android Developers
Make all actions accessible. A user of TalkBack, Voice Access, or Switch Access might need alternate ways to complete certain user flows within ......
Read more >
Is there any way to do 2 way audio? - Ubiquiti Community
I previously had Nest Cams with this feature and can confirm that UniFi talk back works better with less lag and doesn't kill...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found