J’ai des interrupteurs Tuya (des simples et un double).
Interrupteur simple : ZigBee Switch Without Neutral Wire Single Live Switch 1 Gang | Light Switches | Tuya Expo
Fichier Json
{
"ieee": "84:2e:14:ff:fe:e3:63:ba",
"nwk": 34654,
"status": 2,
"lqi": "255",
"rssi": "-58",
"last_seen": "1606236114.397561",
"node_descriptor": "02:40:80:02:10:52:00:02:00:2c:00:02:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 256,
"profile_id": 260,
"output_clusters": [
{
"id": 25,
"name": "Ota",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 1,
"name": "app_version",
"value": 65
},
{
"id": 4,
"name": "manufacturer",
"value": "_TYZB01_qeqvmvti"
},
{
"id": 5,
"name": "model",
"value": "TS0011"
}
]
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": [
{
"id": 0,
"name": "on_off",
"value": 0
}
]
}
]
}
],
"signature": {
"manufacturer_name": "_TYZB01_qeqvmvti",
"model": "TS0011",
"node_descriptor": {
"byte1": 2,
"byte2": 64,
"mac_capability_flags": 128,
"manufacturer_code": 4098,
"maximum_buffer_size": 82,
"maximum_incoming_transfer_size": 512,
"server_mask": 11264,
"maximum_outgoing_transfer_size": 512,
"descriptor_capability_field": 0
},
"1": {
"profileid": 260,
"deviceid": 256,
"in_clusters": [
0,
4,
5,
6
],
"out_clusters": [
25
]
}
},
"class": "zigpy.device"
}
Ma configuration actuelle :
{
"name": "Interrupteur",
"ref" : "TS0011",
"buylink" : "",
"commands": [
{
"name": "Etat",
"type": "info",
"subtype": "binary",
"generic_type": "LIGHT_STATE",
"isVisible": 1,
"isHistorized": 1,
"logicalId": "1::6::0"
},
{
"name": "On",
"generic_type": "LIGHT_ON",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "1::on_off::on",
"template":{
"dashboard" : "light",
"mobile" : "light"
}
},
{
"name": "Off",
"generic_type": "LIGHT_OFF",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "1::on_off::off",
"template":{
"dashboard" : "light",
"mobile" : "light"
}
}
]
}
Interrupteur double Push Button Zigbee Switch Without Neutral Wire Single Live Smart Switch 2 Gang | Light Switches | Tuya Expo
Fichier JSON
{
"ieee": "84:2e:14:ff:fe:e3:64:4e",
"nwk": 47842,
"status": 2,
"lqi": "255",
"rssi": "-40",
"last_seen": "1606235844.6604662",
"node_descriptor": "02:40:80:02:10:52:00:02:00:2c:00:02:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 256,
"profile_id": 260,
"output_clusters": [
{
"id": 25,
"name": "Ota",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 1,
"name": "app_version",
"value": 65
},
{
"id": 4,
"name": "manufacturer",
"value": "_TYZB01_vzrytttn"
},
{
"id": 5,
"name": "model",
"value": "TS0012"
}
]
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": [
{
"id": 0,
"name": "on_off",
"value": 0
}
]
}
]
},
{
"id": 2,
"status": 1,
"device_type": 256,
"profile_id": 260,
"output_clusters": [],
"input_clusters": [
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": [
{
"id": 0,
"name": "on_off",
"value": 0
},
{
"id": 16385,
"name": "on_time",
"value": 0
},
{
"id": 16386,
"name": "off_wait_time",
"value": 0
}
]
}
]
}
],
"signature": {
"manufacturer_name": "_TYZB01_vzrytttn",
"model": "TS0012",
"node_descriptor": {
"byte1": 2,
"byte2": 64,
"mac_capability_flags": 128,
"manufacturer_code": 4098,
"maximum_buffer_size": 82,
"maximum_incoming_transfer_size": 512,
"server_mask": 11264,
"maximum_outgoing_transfer_size": 512,
"descriptor_capability_field": 0
},
"1": {
"profileid": 260,
"deviceid": 256,
"in_clusters": [
0,
4,
5,
6
],
"out_clusters": [
25
]
},
"2": {
"profileid": 260,
"deviceid": 256,
"in_clusters": [
4,
5,
6
],
"out_clusters": []
}
},
"class": "zigpy.device"
}
Ma configuration actuelle
{
"name": "Interrupteur double",
"ref" : "TS0012",
"buylink" : "",
"commands": [
{
"name": "Etat 1",
"type": "info",
"subtype": "binary",
"generic_type": "LIGHT_STATE",
"isVisible": 1,
"isHistorized": 1,
"logicalId": "1::6::0"
},
{
"name": "On 1",
"generic_type": "LIGHT_ON",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "1::on_off::on",
"template":{
"dashboard" : "light",
"mobile" : "light"
}
},
{
"name": "Off 1",
"generic_type": "LIGHT_OFF",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "1::on_off::off",
"template":{
"dashboard" : "light",
"mobile" : "light"
}
},
{
"name": "Etat 2",
"type": "info",
"subtype": "binary",
"generic_type": "LIGHT_STATE",
"isVisible": 1,
"isHistorized": 1,
"logicalId": "2::6::0"
},
{
"name": "On 2",
"generic_type": "LIGHT_ON",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "2::on_off::on",
"template":{
"dashboard" : "light",
"mobile" : "light"
}
},
{
"name": "Off 2",
"generic_type": "LIGHT_OFF",
"type": "action",
"subtype": "other",
"isVisible": 1,
"isHistorized": 0,
"value" : "Etat",
"logicalId": "2::on_off::off",
"template":{
"dashboard" : "light",
"mobile" : "light"
}
}
]
}
Merci.