Skip to content

Instantly share code, notes, and snippets.

@willwhui
Last active October 29, 2017 10:02
Show Gist options
  • Save willwhui/ecc3c7f7e0a2c3d914ee2c452cab51bb to your computer and use it in GitHub Desktop.
Save willwhui/ecc3c7f7e0a2c3d914ee2c452cab51bb to your computer and use it in GitHub Desktop.
为hass添加orvibo设备
@willwhui
Copy link
Author

willwhui commented Oct 20, 2017

添加orvibo s20 wifi插座

参见:https://home-assistant.io/components/switch.orvibo/
方法1:

switch:
  - platform: orvibo

重启hass,成功,可以在前端直接操作switch状态。
但显示设备名为unnamed,不好。

方法2:

switch:
  - platform: orvibo
    discovery: false
    switches:
      - host: IP_ADDRESS    <----- 查看路由器连接信息可得
        mac: MA:CA:DD:RE:SS:00     <----- 查看路由器连接信息可得
        name: "My Socket"     <----- 可随意指定

重启hass,成功!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment