tuya-local
tuya-local copied to clipboard
Request support for SMART Socket BSD08
Log message
Device matches simple_switch_timerv2 with quality of 55%. DPS: {"updated_at": 1764069502.839435, "1": false, "2": true, "3": true, "9": 0, "10": 0, "11": 0, "38": "memory", "41": true, "42": "", "43": "", "44": ""}
Device matches simple_switch_timerv2 with quality of 55%. DPS: {"updated_at": 1764069899.2909412, "1": false, "2": true, "3": true, "9": 0, "10": 0, "11": 0, "38": "memory", "41": true, "42": "", "43": "", "44": ""}
Device matches simple_switch_timerv2 with quality of 55%. DPS: {"updated_at": 1764072113.3214383, "1": false, "2": true, "3": true, "9": 0, "10": 0, "11": 0, "38": "memory", "41": true, "42": "", "43": "", "44": ""}
Product ID
eb3a7fb3c2475ff18ewrd1
Product Name
SMART socket
DPS information
JSON_EDITOR:
[
{
"code": "switch_1",
"value": false
},
{
"code": "switch_2",
"value": false
},
{
"code": "switch_3",
"value": false
},
{
"code": "countdown_1",
"value": 0
},
{
"code": "countdown_2",
"value": 0
},
{
"code": "countdown_3",
"value": 0
},
{
"code": "relay_status"
},
{
"code": "child_lock",
"value": false
},
{
"code": "cycle_time"
},
{
"code": "random_time"
},
{
"code": "switch_inching"
}
]
switch_1 Boolean
"{true,false}"
switch_2 Boolean
"{true,false}"
switch_3 Boolean
"{true,false}"
countdown_1 Integer
{
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
countdown_2 Integer
{
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
countdown_3 Integer
{
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
relay_status Enum
{
"range": [
"power_off",
"power_on",
"last"
]
}
child_lock Boolean
"{true,false}"
cycle_time String
{}
random_time String
{}
switch_inching String
{}
Information about how the device functions
https://www.alibaba.com/product-detail/US-Tooya-BSD08-Plug-tuya-wifi_1600916531580.html
I can't tell which logs are relevant to this report, and the dps information is cloud only info, missing the local ids.
Hi,
I cleared the log and re-executed the operation, and these are the only results.
Could not find device: eb3a7fb3c2475ff18ewrd1
Adding SMART socket device with product id ldh6xfuul1acjldj
Cloud device spec: [{"id": 1, "name": "switch_1", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 2, "name": "switch_2", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 3, "name": "switch_3", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 9, "name": "countdown_1", "type": "Integer", "format": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}", "enumMap": {}}, {"id": 10, "name": "countdown_2", "type": "Integer", "format": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}", "enumMap": {}}, {"id": 11, "name": "countdown_3", "type": "Integer", "format": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}", "enumMap": {}}, {"id": 38, "name": "relay_status", "type": "Enum", "format": "{\"range\":[\"power_off\",\"power_on\",\"last\"]}", "enumMap": {"0": {"code": "relay_status", "value": "power_off"}, "1": {"code": "relay_status", "value": "power_on"}, "2": {"code": "relay_status", "value": "last"}, "memory": {"code": "relay_status", "value": "last"}, "off": {"code": "relay_status", "value": "power_off"}, "on": {"code": "relay_status", "value": "power_on"}}}, {"id": 41, "name": "child_lock", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 42, "name": "cycle_time", "type": "String", "format": "{}", "enumMap": {}}, {"id": 43, "name": "random_time", "type": "String", "format": "{}", "enumMap": {}}, {"id": 44, "name": "switch_inching", "type": "String", "format": "{}", "enumMap": {}}]
Device matches simple_switch_timerv2 with quality of 55%. DPS: {"updated_at": 1764079335.487456, "1": false, "2": true, "3": true, "9": 0, "10": 0, "11": 0, "38": "memory", "41": true, "42": "", "43": "", "44": ""}
Include the previous log messages with any new device request to https://github.com/make-all/tuya-local/issues/
switch_1 Boolean
"{true,false}"
switch_2 Boolean
"{true,false}"
switch_3 Boolean
"{true,false}"
countdown_1 Integer
{
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
countdown_2 Integer
{
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
countdown_3 Integer
{
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
relay_status Enum
{
"range": [
"off",
"on",
"memory"
]
}
child_lock Boolean
"{true,false}"
cycle_time String
{
"maxlen": 255
}
random_time String
{
"maxlen": 255
}
switch_inching String
{
"maxlen": 255
}
I captured it using TinyTuya. Is this it?
{
'1': False,
'2': True,
'3': True,
'9': 0,
'10': 0,
'11': 0,
'38': 'memory',
'41': True,
'42': '',
'43': '',
'44': ''
}
DEBUG:tinytuya.scanner:Received valid UDP packet: {'ip': '192.168.1.60', 'gwId': 'eb3a7fb3c2475ff18ewrd1', 'active': 2, 'ablilty': 0, 'encrypt': True, 'productKey': 'keyjup78v54myhan', 'version': '3.4', 'token': True, 'wf_cfg': True}
Unknown v3.4 Device Product ID = keyjup78v54myhan [Valid payload]:
Address = 192.168.1.60, Device ID = eb3a7fb3c2475ff18ewrd1, Local Key = , Version = 3.4, MAC =
No Stats for 192.168.1.60: DEVICE KEY required to poll for status