Home: Difference between revisions

From Hegemon Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://github.com/zigpy/zha-device-handlers/issues/1687#issuecomment-1704392229 ZHA Remote IR Blaster Example]
<code>service: zha.issue_zigbee_cluster_command
service: zha.issue_zigbee_cluster_command
data:
data:
cluster_type: in
cluster_type: in
ieee: 00:17:88:01:0c:4a:97:05
ieee: 00:17:88:01:0c:4a:97:05
endpoint_id: 11
cluster_id: 768
endpoint_id: 11
command: 10
cluster_id: 768
command: 10
command_type: server
command_type: server
params:
params:
color_temp_mireds: 200
color_temp_mireds: 200
transition_time: 20</code>
transition_time: 20


event_type: zha_event
<code>data:</code>
data:
device_ieee: e0:79:8d:ff:fe:9c:16:cd
unique_id: e0:79:8d:ff:fe:9c:16:cd:1:0x0006
device_id: 2ff9ce49e5cbf658d23274470523a664
endpoint_id: 1
cluster_id: 6
command: attribute_updated
args:
attribute_id: 32772
attribute_name: switch_mode
value: 1
params: {}
origin: LOCAL
time_fired: "2023-10-11T08:29:58.587695+00:00"
context:
id: 01HCEXPRDVES78FYTRX9FTF284
parent_id: null
user_id: null


event_type: state_changed
<code>cluster_type: in</code>
data:

entity_id: automation.knob
<code>ieee: 00:17:88:01:0c:4a:97:05</code>
old_state:

entity_id: automation.knob
<code>endpoint_id: 11</code>
state: "on"

attributes:
<code>cluster_id: 768</code>
id: "1697005359152"

last_triggered: "2023-10-11T08:29:31.916385+00:00"
<code>command: 10</code>
mode: restart

current: 1
<code>command_type: server</code>
friendly_name: knob

last_changed: "2023-10-11T06:24:28.049278+00:00"
<code>params:</code>
last_updated: "2023-10-11T08:29:31.916451+00:00"

context:
<code>color_temp_mireds: 200</code>
id: 01HCEXNYC5AC8PT3JGBSYX31MS

parent_id: 01HCEXNYC3WRZNE154ND6Q020K
<code>transition_time: 20</code>
user_id: null
new_state:
entity_id: automation.knob
state: "on"
attributes:
id: "1697005359152"
last_triggered: "2023-10-11T08:29:31.916385+00:00"
mode: restart
current: 0
friendly_name: knob
last_changed: "2023-10-11T06:24:28.049278+00:00"
last_updated: "2023-10-11T08:29:31.921031+00:00"
context:
id: 01HCEXNYC5AC8PT3JGBSYX31MS
parent_id: 01HCEXNYC3WRZNE154ND6Q020K
user_id: null
origin: LOCAL
time_fired: "2023-10-11T08:29:31.921031+00:00"
context:
id: 01HCEXNYC5AC8PT3JGBSYX31MS
parent_id: 01HCEXNYC3WRZNE154ND6Q020K
user_id: null

Latest revision as of 04:41, 15 October 2023

ZHA Remote IR Blaster Example

service: zha.issue_zigbee_cluster_command
data:
  cluster_type: in
  ieee: 00:17:88:01:0c:4a:97:05
  endpoint_id: 11
  cluster_id: 768
  command: 10
  command_type: server
  params:
    color_temp_mireds: 200
    transition_time: 20
event_type: zha_event
data:
  device_ieee: e0:79:8d:ff:fe:9c:16:cd
  unique_id: e0:79:8d:ff:fe:9c:16:cd:1:0x0006
  device_id: 2ff9ce49e5cbf658d23274470523a664
  endpoint_id: 1
  cluster_id: 6
  command: attribute_updated
  args:
    attribute_id: 32772
    attribute_name: switch_mode
    value: 1
  params: {}
origin: LOCAL
time_fired: "2023-10-11T08:29:58.587695+00:00"
context:
  id: 01HCEXPRDVES78FYTRX9FTF284
  parent_id: null
  user_id: null
event_type: state_changed
data:
  entity_id: automation.knob
  old_state:
    entity_id: automation.knob
    state: "on"
    attributes:
      id: "1697005359152"
      last_triggered: "2023-10-11T08:29:31.916385+00:00"
      mode: restart
      current: 1
      friendly_name: knob
    last_changed: "2023-10-11T06:24:28.049278+00:00"
    last_updated: "2023-10-11T08:29:31.916451+00:00"
    context:
      id: 01HCEXNYC5AC8PT3JGBSYX31MS
      parent_id: 01HCEXNYC3WRZNE154ND6Q020K
      user_id: null
  new_state:
    entity_id: automation.knob
    state: "on"
    attributes:
      id: "1697005359152"
      last_triggered: "2023-10-11T08:29:31.916385+00:00"
      mode: restart
      current: 0
      friendly_name: knob
    last_changed: "2023-10-11T06:24:28.049278+00:00"
    last_updated: "2023-10-11T08:29:31.921031+00:00"
    context:
      id: 01HCEXNYC5AC8PT3JGBSYX31MS
      parent_id: 01HCEXNYC3WRZNE154ND6Q020K
      user_id: null
origin: LOCAL
time_fired: "2023-10-11T08:29:31.921031+00:00"
context:
  id: 01HCEXNYC5AC8PT3JGBSYX31MS
  parent_id: 01HCEXNYC3WRZNE154ND6Q020K
  user_id: null