Skip to content

@mega-yfue/eufy-sdk / buildRealtimeInit

Function: buildRealtimeInit()

ts
function buildRealtimeInit(capabilities, ctx): Command[];

The commands to send once a device's realtime channel is up, from every capability it has that asks for one. Empty for a device whose state arrives without being asked.

Parameters

capabilities

ReadonlySet<Capability>

ctx

CommandContext

Returns

Command[]

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