Skip to content

@mega-yfue/eufy-sdk / tuya / buildGetDeviceDpsAction

Function: buildGetDeviceDpsAction() ​

ts
function buildGetDeviceDpsAction(devId): TuyaAction;

READ: a device's current data-points. Action smartlife.m.device.dp.get v1.0, postData { devId }. The reply result is a flat { "<dpId>": value } map.

Parameters ​

devId ​

string

Returns ​

TuyaAction

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.