0Aeotec门铃 6 in HA — how to trigger the bell

I’ve had a Z‑Wave AeoTec Door­bell 6 for a while and had it linked to Home Assist­ant suc­cess­fully, but have nev­er been able to trig­ger the bell from with­in home assist­ant. Until now…

图形用户界面

我直接说吧. 您将需要使用ZWaveJS2MQTT. Then cre­ate a cus­tom card with the fol­low­ing code…

实体: zone.home
hold_action:
  行动: none
icon: 'mdi:bell'
name: Trigger Doorbell
show_icon: true
show_name: true
tap_action:
  行动: call-service
  service: zwave_js.set_value
  service_data:
    command_class: 121
    终点: '1'
    property: toneId
    value: 3
  目标:
    设备编号: #########################
类型: 实体按钮

您将需要找到您的设备ID. 为了找到我的我打开了config .storage中的core.device_registry (I access mine from win­dows dir­ectly by using the “samba share” add-on) 并搜索AeoTec.

You can check the com­mand class, end­point, prop­erty, 和值通过使用ZWaveJS2MQTT接口

自动化技术

The code for auto­ma­tions is slightly dif­fer­ent, and can actu­ally be set using the 图形用户界面!

如果要在YAML中执行此操作,则需要以下内容

服务: zwave_js.set_value
data:
  command_class: '121'
  endpoint: '1'
  property: toneId
  value: 3
目标:
  设备编号: #########################

学分

I pieced this togeth­er with a lot of exper­i­ment­a­tion based on inform­a­tion from sev­er­al places…

  • https://www.home-assistant.io/lovelace/button/
  • https://社区.home-assistant.io / t / aeotech-zw162-doorbell / 121556/191
  • https://社区.home-assistant.io / t / aeotech-zw162-doorbell / 121556/197
  • https://community.home-assistant.io/t/使用开关到呼叫服务/ 166885/5

请通过下面的评论给我们你的想法! 如果您想订阅,请使用菜单上的订阅链接右上方. 您还可以通过使用下面的链接社会分享这与你的朋友. 干杯.

发表评论