We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device info (please complete the following information, which can be found in log): request path = /v1.0/iot-01/associated-users/devices
TuyaOpenAPI response:
{ "result": { "devices": [ { "active_time": 1621223735, "biz_type": 18, "category": "kj", "create_time": 1621217994, "icon": "smart/icon/ay15143342475988rXpF/64290320ffdd48b7dc6f2e64df543d4c.png", "id": "021334723c6105ceabe9", "ip": "xxxxxxxxxxxxxxxx", "lat": "39.5", "local_key": "xxxxxxxxxxxxxxxx", "lon": "-119.85", "model": "", "name": "Air purifier", "online": true, "owner_id": "6213608", "product_id": "sferhht3hjkc942e", "product_name": "KJ210F-142-01-C �����款�", "status": [ { "code": "switch", "value": false }, { "code": "pm25", "value": 0 }, { "code": "speed", "value": "1" }, { "code": "filter", "value": 100 }, { "code": "lock", "value": false } ], "sub": false, "time_zone": "-08:00", "uid": "az1554248276698SpyAt", "update_time": 1715531599, "uuid": "xxxxxxxxxxxxxxxx" } ] } }
There should be another status for Sleep Mode
Device functions (please complete the following information, which can be found in log): request path = /v1.0/devices/functions
Same device Id, like this: { "category": "kj", "devices": [ "021334723c6105ceabe9" ], "functions": [ { "code": "switch", "desc": "switch", "name": "switch", "type": "Boolean", "values": "{}" }, { "code": "speed", "desc": "speed", "name": "speed", "type": "Enum", "values": "{"range":["1","2","3"]}" }, { "code": "lock", "desc": "lock", "name": "lock", "type": "Boolean", "values": "{}" } ], "product_id": "sferhht3hjkc942e" }
There should be a fourth function, sleep mode, which controls whether or not the air purifier is in sleep mode. This is accessible through the app.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Device info (please complete the following information, which can be found in log):
request path = /v1.0/iot-01/associated-users/devices
TuyaOpenAPI response:
{
"result": {
"devices": [
{
"active_time": 1621223735,
"biz_type": 18,
"category": "kj",
"create_time": 1621217994,
"icon": "smart/icon/ay15143342475988rXpF/64290320ffdd48b7dc6f2e64df543d4c.png",
"id": "021334723c6105ceabe9",
"ip": "xxxxxxxxxxxxxxxx",
"lat": "39.5",
"local_key": "xxxxxxxxxxxxxxxx",
"lon": "-119.85",
"model": "",
"name": "Air purifier",
"online": true,
"owner_id": "6213608",
"product_id": "sferhht3hjkc942e",
"product_name": "KJ210F-142-01-C �����款�",
"status": [
{
"code": "switch",
"value": false
},
{
"code": "pm25",
"value": 0
},
{
"code": "speed",
"value": "1"
},
{
"code": "filter",
"value": 100
},
{
"code": "lock",
"value": false
}
],
"sub": false,
"time_zone": "-08:00",
"uid": "az1554248276698SpyAt",
"update_time": 1715531599,
"uuid": "xxxxxxxxxxxxxxxx"
}
]
}
}
There should be another status for Sleep Mode
Device functions (please complete the following information, which can be found in log):
request path = /v1.0/devices/functions
Same device Id, like this:
{
"category": "kj",
"devices": [
"021334723c6105ceabe9"
],
"functions": [
{
"code": "switch",
"desc": "switch",
"name": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "speed",
"desc": "speed",
"name": "speed",
"type": "Enum",
"values": "{"range":["1","2","3"]}"
},
{
"code": "lock",
"desc": "lock",
"name": "lock",
"type": "Boolean",
"values": "{}"
}
],
"product_id": "sferhht3hjkc942e"
}
There should be a fourth function, sleep mode, which controls whether or not the air purifier is in sleep mode. This is accessible through the app.
The text was updated successfully, but these errors were encountered: