Skip to content

eufy-mega / model/capabilities / parseQuickResponses

Function: parseQuickResponses()

ts
function parseQuickResponses(voiceList): QuickResponse[];

Parse a doorbell voice_list (the {voice_id,voice_name,voice_path} records the station returns in the quick-response GET reply) into typed QuickResponses. Pure/offline. The custom flag is derived from the voice_path prefix (robust) — predefined responses live under /system/snd/, user-recorded ones under /user/… — NOT from the id range (ids 1–3 predefined, 100+ custom, but the path is authoritative).

Parameters

voiceList

object[]

Returns

QuickResponse[]

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations or eufy. "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.