用于与Vivint Sky API交互的Python库
pyVivintSk的Python项目详细描述
皮维文茨基
一个Python库,用于与vivintskyapi交互。在
我拥有一个由Vivint开发的系统,当我发现他们没有发布任何关于API如何工作的信息时,我很恼火。 在浏览了互联网之后,我找到了一些信息和一个由蒂姆哈珀写的宝石。homebridge网站声称Tim曾经是 一个活灵活现的员工,我没有理由怀疑,老实说,他的工作将需要一些内部知识的API。在
我在这里的意图是将过去几年中完成的所有工作合并到一个工作库中,这样我就可以将集成添加到 家庭自动化系统称为家庭助手(https://www.home-assistant.io/)。在
信贷
Name | Description | Link |
---|---|---|
Tim Harper | Tim released a version for Homebridge with very useful information on how the API works. This served as the main basis for how I wrote the integration. | https://github.com/timcharper/homebridge-vivint |
Reibart | Reibart did a lot work trying to reverse the API via browser calls. I used the information from this project to enhance this one. | https://github.com/Riebart/vivint.py |
Ovirs | Ovirs has some additions he made to Reibart work above and it contains information on other devices. | https://github.com/ovirs/pyvivint |
jhutchins | JHutchins did a homework project using the devices and his site contains some infmormatio on the thermostat API calls. | https://github.com/jhutchins/vivint |
特点
身份验证
身份验证目前通过用户名和密码进行处理。为此,我建议在Vivint上设置一个用户。这样就很容易 区分事件何时来自自动化。在
这将直接调用Vivint API并存储默认持续20分钟的会话密钥。然后我会在以后的每次通话中检查这个密钥的有效期 如果过期,请重新登录。在
公共场所
消息状态和对设备的更改由PubNub处理。这个API订阅panels PubNub通道,并能够处理诸如门打开之类的消息 结束了。在
设备
面板
这是根设备,所有子设备都连接到它。看看API,一个帐户可能有多个面板,这将尝试处理这个问题。在
^{tb2}$无线传感器
这些是通过wifi远程连接到系统的任何设备。这包括门传感器、碎玻璃和运动探测器。在
Feature | Status |
---|---|
Name | Working |
State | Working |
PubNub | Working |
恒温器
我还没有拥有其中一个,但我认为其他网站上有足够的信息来实现这些功能。在
Feature | Status |
---|---|
门锁
我不拥有这些,但我认为其他网站上有足够的信息来实现这些功能。在
Feature | Status |
---|---|
- 项目
标签: