Bonjour,
J’étais étonné de voir les controleurs Tuya RGB ou RGBW et pas celui pour un strip led unicolor.
Il n’est pas identifié ni dans la liste du Fabricant. Je donne les infos demandés dans la doc.
Model : TS0501B
manufacturer : _TZ3000_4whigl8i
Je l’ai acheté sur aliexpress si jamais, 2e commande chez ce vendeur, rapide et ras
LE PNG qui devrait être transparent (via gimp):
Le JPG d’origine au cas où :
Le format brut :
{
"ieee": "cc:86:ec:ff:fe:56:93:17",
"nwk": 39103,
"status": 2,
"lqi": "164",
"rssi": "-59",
"last_seen": "1624301709.633903",
"node_descriptor": "01:40:8e:02:10:52:52:00:00:2c:52:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 257,
"profile_id": 260,
"manufacturer": "_TZ3000_4whigl8i",
"model": "TS0501B",
"output_clusters": [
{
"id": 10,
"name": "Time",
"attributes": []
},
{
"id": 25,
"name": "Ota",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 3
},
{
"id": 1,
"name": "app_version",
"value": 82
},
{
"id": 2,
"name": "stack_version",
"value": 0
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "_TZ3000_4whigl8i"
},
{
"id": 5,
"name": "model",
"value": "TS0501B"
},
{
"id": 6,
"name": "date_code",
"value": ""
},
{
"id": 7,
"name": "power_source",
"value": 1
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": []
},
{
"id": 8,
"name": "Level control",
"attributes": []
},
{
"id": 768,
"name": "Color Control",
"attributes": []
},
{
"id": 4096,
"name": "LightLink",
"attributes": []
}
]
},
{
"id": 242,
"status": 1,
"device_type": 97,
"profile_id": 41440,
"manufacturer": null,
"model": null,
"output_clusters": [
{
"id": 33,
"name": "GreenPowerProxy",
"attributes": []
}
],
"input_clusters": []
}
],
"signature": {
"manufacturer": "_TZ3000_4whigl8i",
"model": "TS0501B",
"node_desc": {
"byte1": 1,
"byte2": 64,
"mac_capability_flags": 142,
"manufacturer_code": 4098,
"maximum_buffer_size": 82,
"maximum_incoming_transfer_size": 82,
"server_mask": 11264,
"maximum_outgoing_transfer_size": 82,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": 260,
"device_type": 257,
"input_clusters": [
0,
3,
4,
5,
6,
8,
768,
4096
],
"output_clusters": [
10,
25
]
},
"242": {
"profile_id": 41440,
"device_type": 97,
"input_clusters": [],
"output_clusters": [
33
]
}
}
},
"class": "zhaquirks.tuya.ts0501b"
}
Attention qu’il y a un color control 1::768 dans le brut qui ne sert à rien ici.
Les commandes créés ont été prises depuis un controleur rgbw et j’ai repris que Etat, On, Off, Toggle, Etat Luminosité, Lumiosité. Il se comporte exactement de la même façon.
Extrait du log zigbee :
[2021-06-21 20:50:14][DEBUG] : {"device_joined":"cc:86:ec:ff:fe:56:93:17"}
[2021-06-21 20:50:25][DEBUG] : {"device_initialized":"cc:86:ec:ff:fe:56:93:17"}
[2021-06-21 20:50:27][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[{"4":{"value":"_TZ3000_4whigl8i","cluster_name":"Basic"},"5":{"value":"TS0501B","cluster_name":"Basic"}}]}}}
[2021-06-21 20:50:28][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[[{"value":"3","cluster_name":"Basic"},{"value":"82","cluster_name":"Basic"},{"value":"0","cluster_name":"Basic"},{"value":"1","cluster_name":"Basic"}]]}}}
[2021-06-21 20:50:29][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[{"7":{"value":"PowerSource.Mains_single_phase","cluster_name":"Basic"}}]}}}
[2021-06-21 20:50:30][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[{"6":{"value":"","cluster_name":"Basic"}}]}}}
[2021-06-21 20:50:56][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17"}
[2021-06-21 20:52:40][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[{"1":{"value":"82","cluster_name":"Basic"}}]}}}
[2021-06-21 20:52:40][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::0::1 => 82
[2021-06-21 20:55:10][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[{"1":{"value":"82","cluster_name":"Basic"}}]}}}
[2021-06-21 20:55:10][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::0::1 => 82
[2021-06-21 20:56:10][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17"}
[2021-06-21 20:57:39][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[{"1":{"value":"82","cluster_name":"Basic"}}]}}}
[2021-06-21 20:57:39][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::0::1 => 82
[2021-06-21 21:00:08][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[{"1":{"value":"82","cluster_name":"Basic"}}]}}}
[2021-06-21 21:00:08][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::0::1 => 82
[2021-06-21 21:02:37][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[{"1":{"value":"82","cluster_name":"Basic"}}]}}}
[2021-06-21 21:02:37][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::0::1 => 82
[2021-06-21 21:05:06][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":[{"1":{"value":"82","cluster_name":"Basic"}}]}}}
[2021-06-21 21:05:06][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::0::1 => 82
[2021-06-21 21:05:10][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}],"8":[{"value":"254","cluster_name":"Level control"}]}}}}
[2021-06-21 21:05:10][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::6::0 => Bool.true
[2021-06-21 21:05:11][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::8::0 => 254
[2021-06-21 21:05:41][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17","endpoint":1,"cluster":6,"cluster_type":"in","attributes":[0],"allowCache":0}
[2021-06-21 21:05:41][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17","endpoint":1,"cluster":8,"cluster_type":"in","attributes":[0],"allowCache":0}
[2021-06-21 21:05:42][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17","endpoint":1,"cluster":768,"cluster_type":"in","attributes":[3,4,7],"allowCache":0}
[2021-06-21 21:05:42][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}],"8":[{"value":"254","cluster_name":"Level control"}]}}}}
[2021-06-21 21:05:42][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::6::0 => Bool.true
[2021-06-21 21:05:42][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::8::0 => 254
[2021-06-21 21:05:56][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17","endpoint":1,"cluster":6,"cluster_type":"in","attributes":[0],"allowCache":0}
[2021-06-21 21:05:56][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17","endpoint":1,"cluster":8,"cluster_type":"in","attributes":[0],"allowCache":0}
[2021-06-21 21:05:56][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}]}}}}
[2021-06-21 21:05:56][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::6::0 => Bool.true
[2021-06-21 21:05:56][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17","endpoint":1,"cluster":768,"cluster_type":"in","attributes":[3,4,7],"allowCache":0}
[2021-06-21 21:05:56][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":{"8":[{"value":"254","cluster_name":"Level control"}]}}}}
[2021-06-21 21:05:56][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::8::0 => 254
[2021-06-21 21:06:58][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17","cmd":[{"endpoint":1,"cluster":"on_off","command":"toggle","await":1}],"allowQueue":false}
[2021-06-21 21:06:59][DEBUG] : {"devices":{"cc:86:ec:ff:fe:56:93:17":{"1":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-06-21 21:06:59][DEBUG] : Search attribut for cc:86:ec:ff:fe:56:93:17 logicalId : 1::6::0 => Bool.false
[2021-06-21 21:07:07][DEBUG] : {"ieee":"cc:86:ec:ff:fe:56:93:17","cmd":[{"endpoint":1,"cluster":"level","command":"move_to_level","await":1,"args":[127,0]}],"allowQueue":false}