控制homebridge服务器
pyhomebridge的Python项目详细描述
皮霍姆布里奇
控制Homebridge服务器的python库
设置
在家庭桥上安装homebridge-config-ui-x。在
确保在不安全模式下运行HomeBridge。(这可以在右上角的“Web设置”中更改) API控件只允许在此模式下使用。 那就是用-I标志开始HomeBridge。在
安装
pyhomebridge的Pypi包
pip3 install pyhomebridge
使用
Python用法:
^{pr2}$在repo中,您可以找到用于CLI执行的python脚本。control-homebridge.py
python3 control-homebridge.py --list python3 control-homebridge.py --name light_hallway --off # you will need to set url, port and code in the script# or use the --server, --port, --auth options
发展
当前支持的设备:
- 灯光
- 开关
- 出口
托多
- 添加超时
- 支持更多设备类型
- 编写文档
- 编写测试
- 更多
灵感
许可证
免费软件,见鬼!
- 项目
标签: