niceboygithub / AqaraGateway

Aqara Gateway/Hub integration for Home Assistant
523 stars 66 forks source link

请问此方法和用homekit反向接入有什么区别? #190

Closed qy19920913 closed 11 months ago

qy19920913 commented 1 year ago

如果有条件homekit反向接入 还需要去刷机吗?

niceboygithub commented 1 year ago

If you have door locker, pet feeder, you can get status of them when using HomeKit bridge.

Another, the power info of plug is also missing when using HomeKit bridge.

tomky commented 1 year ago

I wonder if this approach can expose wireless buttons to Home Assistant?

For now, the wall switches which manually changed to wireless button mode in Aqara home will not be exposed to HomeKit. Does this approach make differences here ?

niceboygithub commented 1 year ago

AqaraGateway is better than using HomeKit Bridge to integrate HA. More functions are from AqaraGateway

tomky commented 1 year ago

我想知道有哪些額外功能呢?像是我在Aqara Home裡把有線開關改無線開關,改後的無線開關在HomeKit裡看不到,只能看到本來的有線開關。那麼走AqaraGateway的話可以在HA裡看到嗎?

Necroneco commented 1 year ago

我想知道有哪些額外功能呢?像是我在Aqara Home裡把有線開關改無線開關,改後的無線開關在HomeKit裡看不到,只能看到本來的有線開關。那麼走AqaraGateway的話可以在HA裡看到嗎?

可以的,你可以查看开关的 binary_sensor.xxxxxxxxxxxxxxxx_switch,按下的时候,它会有变化。

你可以在自动化里尝试监听这种触发条件:

platform: event
event_type: xiaomi_aqara.click
event_data:
  entity_id: binary_sensor.xxxxxxxxxxxxxxxx_switch
  click_type: button_1_single
tomky commented 1 year ago

我安裝後確實有注意到有一個Switch,不過看起來按下的按鈕事件不是標準的值,所以即使接到HomeKit或著讓HA自動化裡的UI去抓按鈕的開關也無法使用。我試著用上面的觸發也抓不到。有沒有可能讓他直接轉成binary_sensor的開關?