Comments (2)
The log you have posted does not contain any "full_poll": true
entries, so the full info that is received from the light is not visible.
The information about DPS mappings also seems to be from one of the API calls intended for "standard" cloud API use, and not the full details that are available from the QueryThingsDataModel API call (albiet in a less human readable format).
from tuya-local.
I do see "full_poll": true
in the third line of the HA log that I posted, but here's the result of the QueryThingsDataModel API call:
{
"result": {
"model": "{\"modelId\":\"000002rvu5\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":20,\"accessMode\":\"rw\",\"code\":\"switch_led\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power\",\"attribute\":\"515\"},\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":26,\"accessMode\":\"rw\",\"code\":\"countdown\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-a_nav_timer\",\"attribute\":\"514\"},\"name\":\"倒计时\",\"typeSpec\":{\"type\":\"value\",\"max\":86400,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"s\"}},{\"abilityId\":28,\"accessMode\":\"wr\",\"code\":\"control_data\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_box2\",\"attribute\":\"608\"},\"name\":\"调节\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"lightcustomization\",\"description\":\"bit 1:显示灯泡;bit 0:关闭灯泡;\\n如 0b101......表示第1个灯泡开,第2个灯泡关,第3个灯泡关....\",\"name\":\"灯串显示\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":106,\"accessMode\":\"rw\",\"code\":\"mode\",\"description\":\"模式字符串:012345555……5555\\n0:模式(单字符0-b):Fade、Blink、Twinkle、Rainbow、Red White Blue、Red Green White、Mardi Gras、Valentines Day、Autumn、St Patrick Day、Spring、UserColor1、UserColor2、UserColor3、UserColor4、UserColor5\\n1:效果(单字符0-7):Solid、Twinkle、Blink、Pulse、Wave Chase、Chase、Wave、Fase chase\\n2:速度(单字符0-f)\\n3:亮度(单字符0-f)\\n4:颜色个数(单字符0-2)\\n5:颜色值(HSV白光)\\n\",\"name\":\"模式\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":107,\"accessMode\":\"rw\",\"code\":\"lamp_number\",\"description\":\"默认值24\",\"name\":\"灯串头数\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"12\",\"18\",\"24\"]}}]}]}"
},
"success": true,
"t": 1720883560691,
"tid": "58cc7f61412a11ef8d05deff400716f1"
}
I think I can also eventually work out how to get a debug scan from tinytuya
if you need it...
from tuya-local.
Related Issues (20)
- Request support for Wifi Energy Meter
- Request support for <TY-WFH V3.01 Tuya Wi-Fi Sliding gate opener> HOT 2
- Kogan 3.0 kw Smart Vertical Aircon HOT 7
- Ceiling Fan with Light by 'Create'
- The use of switch for Smart watering device is deprecated and should be replaced by valve. HOT 1
- Connection issue adding device HOT 1
- Request support for Aroma diffuser WB
- Ble Solar Light not an option? HOT 1
- Request support for Calibo Cloudfan DC With Light HOT 2
- humidity sensor shows 3 characters without comma HOT 1
- Air Purifier is added as a switch and not a fan type entity in HA HOT 4
- Request support for O'TU R1O1
- humidity sensor shows 3 digits instead of 2 HOT 2
- Request support for Suntec Air Conditioner 9.000 BTU/h HOT 1
- Smart Energy Monitor stopped working on HA update to 2024.8 HOT 3
- Request support for Bluetooth Door Lock PLD_196_RFID id isljqiq1 HOT 1
- Login using user code does not work HOT 1
- Request support for Calex S45 Clear E27
- Unable to connect to device HOT 5
- tuya rcrcbo power metter error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-local.