Pour la telecommande : sunricher-rgb-cct-sun-3-in-1n
Json:
{
"ieee": "60:a4:23:ff:fe:45:e0:dd",
"nwk": 56772,
"status": 2,
"lqi": "159",
"rssi": "0",
"last_seen": "1614934438.8740788",
"node_descriptor": "02:40:80:24:12:52:52:00:00:2c:52:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 261,
"profile_id": 260,
"manufacturer": "Sunricher",
"model": "ZG2855-RGB",
"output_clusters": [
{
"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": 25,
"name": "Ota",
"attributes": []
},
{
"id": 768,
"name": "Color Control",
"attributes": []
},
{
"id": 4096,
"name": "LightLink",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 3
},
{
"id": 1,
"name": "app_version",
"value": 0
},
{
"id": 2,
"name": "stack_version",
"value": 0
},
{
"id": 3,
"name": "hw_version",
"value": 0
},
{
"id": 4,
"name": "manufacturer",
"value": "Sunricher"
},
{
"id": 5,
"name": "model",
"value": "ZG2855-RGB"
},
{
"id": 6,
"name": "date_code",
"value": "NULL"
},
{
"id": 7,
"name": "power_source",
"value": 3
},
{
"id": 16384,
"name": "sw_build_id",
"value": "2.7.6_r22"
}
]
},
{
"id": 1,
"name": "Power Configuration",
"attributes": [
{
"id": 33,
"name": "battery_percentage_remaining",
"value": 100
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 2821,
"name": "Diagnostic",
"attributes": []
},
{
"id": 4096,
"name": "LightLink",
"attributes": []
}
]
}
],
"signature": {
"manufacturer": "Sunricher",
"model": "ZG2855-RGB",
"node_desc": {
"byte1": 2,
"byte2": 64,
"mac_capability_flags": 128,
"manufacturer_code": 4644,
"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": 261,
"input_clusters": [
0,
1,
3,
2821,
4096
],
"output_clusters": [
3,
4,
5,
6,
8,
25,
768,
4096
]
}
}
},
"class": "zigpy.device"
}
Pour les logs:
Appuie BP en haut a gauche (light Big):
[2021-03-05 10:13:29][DEBUG] : {"devices":{"60:a4:23:ff:fe:45:e0:dd":{"1":{"8":{"cmd":{"0":{"value":"6","cluster_name":"Level control"},"1":{"value":"0","cluster_name":"Level control"},"1.1":{"value":"32","cluster_name":"Level control"},"1.2":{"value":"0","cluster_name":"Level control"}}}}}}}
[2021-03-05 10:13:29][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::8::cmd::0 => 6
[2021-03-05 10:13:29][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::8::cmd::1 => 0
[2021-03-05 10:13:29][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::8::cmd::1.1 => 32
[2021-03-05 10:13:29][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::8::cmd::1.2 => 0
Appuie BP en haut a droite (light Small):
[2021-03-05 10:16:15][DEBUG] : {"devices":{"60:a4:23:ff:fe:45:e0:dd":{"1":{"8":{"cmd":{"0":{"value":"6","cluster_name":"Level control"},"1":{"value":"1","cluster_name":"Level control"},"1.1":{"value":"32","cluster_name":"Level control"},"1.2":{"value":"0","cluster_name":"Level control"}}}}}}}
[2021-03-05 10:16:15][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::8::cmd::0 => 6
[2021-03-05 10:16:15][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::8::cmd::1 => 1
[2021-03-05 10:16:15][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::8::cmd::1.1 => 32
[2021-03-05 10:16:15][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::8::cmd::1.2 => 0
Appuie BP Milieu (Power):
[2021-03-05 10:18:46][DEBUG] : {"devices":{"60:a4:23:ff:fe:45:e0:dd":{"1":{"6":{"cmd":[{"value":"1","cluster_name":"On\/Off"},{"value":"[]","cluster_name":"On\/Off"}]}}}}}
[2021-03-05 10:18:46][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::6::cmd::0 => 1
Appuie BP en bas à gauche (RGB):
[2021-03-05 10:20:04][DEBUG] : {"devices":{"60:a4:23:ff:fe:45:e0:dd":{"1":{"768":{"cmd":{"color":{"value":"#2a0200","cluster_name":"Color Control"}}}}}}}
[2021-03-05 10:20:04][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::768::cmd::color => #2a0200
Appuie BP en bas à droite (C-W):
[2021-03-05 10:21:11][DEBUG] : {"devices":{"60:a4:23:ff:fe:45:e0:dd":{"1":{"768":{"cmd":{"colorTemperature":{"value":450,"cluster_name":"Color Control"}}}}}}}
[2021-03-05 10:21:11][DEBUG] : Search command for 60:a4:23:ff:fe:45:e0:dd logicalId : 1::768::cmd::colorTemperature => 450
En espérant que c’est ok pour toi.