0.4.4 • Published 3 years ago

tuya-sdk-tools v0.4.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

capacitor-asiainfo

capcitor plugin

Install

npm install capacitor-asiainfo
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


registrationTuyaToken(...)

registrationTuyaToken(options: { homeId: string; }) => Promise<{ status: boolean; token: string; msg: string; }>
ParamType
options{ homeId: string; }

Returns: Promise<{ status: boolean; token: string; msg: string; }>


loginTuya(...)

loginTuya(options: { uid: string; passwd: string; }) => Promise<{ status: boolean; msg: string; }>
ParamType
options{ uid: string; passwd: string; }

Returns: Promise<{ status: boolean; msg: string; }>


getOrCreateHome(...)

getOrCreateHome(options: { home: string; }) => Promise<{ status: boolean; homeId: string; msg: string; }>
ParamType
options{ home: string; }

Returns: Promise<{ status: boolean; homeId: string; msg: string; }>


startTuyaConfigWait(...)

startTuyaConfigWait(options: { ssid: string; password: string; type: string; token: string; homeId: string; }) => Promise<{ status: boolean; msg: string; deviceList: string; }>
ParamType
options{ ssid: string; password: string; type: string; token: string; homeId: string; }

Returns: Promise<{ status: boolean; msg: string; deviceList: string; }>


stopConfig()

stopConfig() => Promise<{ status: boolean; }>

Returns: Promise<{ status: boolean; }>


startSubConfigWait(...)

startSubConfigWait(options: { deviceId: string; homeId: string; }) => Promise<{ status: boolean; msg: string; deviceList: string; }>
ParamType
options{ deviceId: string; homeId: string; }

Returns: Promise<{ status: boolean; msg: string; deviceList: string; }>


logoutTuya()

logoutTuya() => Promise<{ status: boolean; msg: string; }>

Returns: Promise<{ status: boolean; msg: string; }>


stopSubConfig(...)

stopSubConfig(options: { deviceId: string; }) => Promise<{ status: boolean; }>
ParamType
options{ deviceId: string; }

Returns: Promise<{ status: boolean; }>


startGwConfigWait(...)

startGwConfigWait(options: { homeId: string; }) => Promise<{ status: boolean; msg: string; deviceList: string; }>
ParamType
options{ homeId: string; }

Returns: Promise<{ status: boolean; msg: string; deviceList: string; }>


stopGwConfig()

stopGwConfig() => Promise<{ status: boolean; }>

Returns: Promise<{ status: boolean; }>


0.4.4

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago