telldus家庭自动化库的python包装器
tellcore-p的Python项目详细描述
telldus core的python包装器
< <<<<<tellcore-py是一个python包装器,用于 telldus" home 自动化库 telldus核心
- 文档:https://tellcore-py.readthedocs.org/" rel="nofollow">https://tellcore-py.readthedocs.org/
- 官方主页:https://github.com/erijo/tellcore-py" rel="nofollow">https://github.com/erijo/tellcore-py
- python包索引:https://pypi.python.org/pypi/tellcore-py" rel="nofollow">https://pypi.python.org/pypi/tellcore-py
请将任何问题报告为a github问题报告
功能
要求
- python 2.7、3.2+或pypy
- telldus核心库
安装
啊!也可以通过克隆gip存储库来安装,或者从github和 打开包装。然后将目录改为tellcore-py并运行:
啊!内部构件
在底部有一个library类,它是一个包装器,与 下伏Telldus岩芯的API图书馆。图书馆班负责 释放从基库返回的内存并将返回的错误转换为 TelldusException公司。库类不打算直接使用。
相反,tellduscore类在 图书馆类。此类用于添加新设备或枚举 现有设备、传感器和/或控制器。例如,调用设备() 方法返回设备实例的列表。设备类依次具有方法 用于打开、关闭设备等。