没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
用于访问openHAB REST API的python库 该库可轻松访问openHAB REST API。 实现了许多功能,但不是全部,这是正在进行的工作。 要求 python> = 3.5 python :: dateutil python ::请求 openHAB版本2 安装 使用pip安装最新版本: pip install python-openhab 例子 该库的用法示例: from openhab import OpenHAB base_url = 'http://localhost:8080/rest' openhab = OpenHAB ( base_url ) # fetch all items items = openhab . fetch_all_items () sunset = items . get ( 'Sunset' ) print ( sunset
资源推荐
资源详情
资源评论
收起资源包目录
python-openhab-master.zip (44个子文件)
python-openhab-master
.travis.yml 499B
README.rst 3KB
pyproject.toml 146B
docs
api.rst 226B
conf.py 4KB
.gitignore 26B
Makefile 607B
index.rst 3KB
.pylintrc 14KB
test.py 1KB
.github
workflows
codeql-analysis.yml 2KB
pypi_publish.yml 594B
tests
test_basic.py 1KB
__init__.py 0B
LICENSE 34KB
setup.cfg 2KB
test_groups.py 1KB
openhab
py.typed 0B
types.py 7KB
client.py 8KB
items.py 15KB
__init__.py 98B
docker
openhab_conf
persistence
readme.txt 256B
things
readme.txt 234B
transform
en.map 38B
de.map 38B
readme.txt 282B
icons
classic
readme.txt 289B
items
basic.items 658B
readme.txt 231B
html
index.html 451B
readme.txt 282B
sounds
barking.mp3 9KB
doorbell.mp3 100KB
rules
readme.txt 223B
sitemaps
readme.txt 241B
services
addons.cfg 2KB
runtime.cfg 3KB
readme.txt 333B
scripts
readme.txt 236B
test_connectivity.py 424B
setup.py 38B
.gitignore 795B
.editorconfig 272B
共 44 条
- 1
资源评论
越昆
- 粉丝: 22
- 资源: 4598
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功