Comments (3)
The device is not exposing any USB switch. It is basically compatible with smartplugv2 (probably one of the energyv? variants) according to the dps mapping, but the diagnostics show it also isn't reporting any power data, so it can only function as the simple_switch it was detected as.
from tuya-local.
Thank you for the quick reply. I have accidentally put the DPS values of the wrong device.
Correct DPS data
"result": {
"model": {
"modelId": "0000027u7p",
"services": [
{
"actions": [],
"code": "",
"description": "",
"events": [],
"name": "默认服务",
"properties": [
{
"abilityId": 1,
"accessMode": "rw",
"code": "switch_1",
"description": "",
"extensions": {
"iconName": "icon-dp_power2",
"attribute": "16"
},
"name": "开关",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 7,
"accessMode": "rw",
"code": "switch_usb1",
"description": "",
"extensions": {
"iconName": "icon-dp_power2",
"attribute": "16"
},
"name": "USB开关1",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 9,
"accessMode": "rw",
"code": "countdown_1",
"description": "",
"extensions": {
"iconName": "icon-dp_time2"
},
"name": "开关1倒计时",
"typeSpec": {
"type": "value",
"max": 86400,
"min": 0,
"scale": 0,
"step": 1,
"unit": "s"
}
},
{
"abilityId": 15,
"accessMode": "rw",
"code": "countdown_usb1",
"description": "",
"extensions": {
"iconName": "icon-dp_time2"
},
"name": "USB1倒计时",
"typeSpec": {
"type": "value",
"max": 86400,
"min": 0,
"scale": 0,
"step": 1,
"unit": "s"
}
}
]
}
]
}
},
"success": true,
from tuya-local.
This looks more promising, but it won't help to resolve the problem that your device is only reporting the outlet switch:
"cached_state": {
"updated_at": 1717851343.5644524,
"1": true
},
from tuya-local.
Related Issues (20)
- Request support for Presence Sensor HOT 1
- Crash in the config_flow.py HOT 1
- Request support for SilverCrest (Lidl) HF-6602T-WIFI Air fryer
- Request support for atorch_gr2pws_breaker, cronos_heater_gph-d-da and earu_1p_breaker
- Vacuum Smart 700 - Can't start cleaning HOT 6
- Request support for Smart lock_QJ_006 (rxfxmjls) HOT 4
- Tuya celing fan dont work after upgrade to HA to 2024.9.1 and local tuya to 5.2.0 HOT 1
- Error when adding WiFi Online Control Monitor HOT 1
- Error: Detected blocking call since 2024.09 HOT 3
- Unable to remove device HOT 5
- Request support for Heatstorm 750 Watt Heater
- Request support for Petrie Automatic WiFi Pet Feeder
- Request support for PZIOT_E01 power meter
- Request support for Klarstein Kraftwerk Smart HOT 1
- Cant access meal_plan for cleverio_pf100_petfeeder HOT 6
- Hydrotherm X8 no longer accepting turn on and turn off commands HOT 3
- Request support for Wonderwall Smart Bornholm
- Request support for Tuya Video Doorbell Security Camera from Aliexpress HOT 2
- Tuya RGBCW lightbulbs unavailable after power-cycle HOT 2
- I am update dreamlight_led_strip.yaml - adding scenes selector / values
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.