# bosch-thermostat-client-python
Python3 asyncio package to talk to Bosch Thermostats via their gateway.
Suppored protocols are HTTP and XMPP.
Both are still in development.
example :
Follow examples dir and try to figure it out or post issue/contact on discord on more instructions.
To run this code do the following:
* create file data_file.txt and insert like this:
```
ip
access_key
password
```
replace strings with proper values
* run in dir `python3 -m venv .`
* run `python3 test.py`
# Helper
Now there is extra command added with this package `bosch_scan`.
```
Usage: bosch_scan [OPTIONS] COMMAND [ARGS]...
A tool to create rawscan of Bosch thermostat.
Options:
--ip TEXT IP address of gateway [required]
--token TEXT Token from sticker without dashes.
[required]
--password TEXT Password you set in mobile app.
-o, --output TEXT Path to output file of scan. Default to
[raw/small]scan_uuid.json
--stdout Print scan to stdout
-d, --debug
-s, --smallscan [HC|DHW|SENSORS]
Scan only single circuit of thermostat.
--help Show this message and exit.
```
# Examples
SENSORS:
```
bosch_examples sensors --help
bosch_examples sensors --ip {IP} --token {TOKEN} --password {PASS} -s outdoor_t1
```
DHW:
```
bosch_examples dhw --help
bosch_examples dhw --ip {IP} --token {TOKEN} --password {PASS} -t --op_modes --setpoints -m
```
HC:
```
bosch_examples hc --help
bosch_examples hc --ip {IP} --token {TOKEN} --password {PASS} -t --op_modes --setpoints -m
```
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共51个文件
py:34个
json:6个
txt:6个
资源分类:Python库 所属语言:Python 资源全名:bosch-thermostat-client-0.8.8.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
bosch-thermostat-client-0.8.8.tar.gz (51个子文件)
bosch-thermostat-client-0.8.8
MANIFEST.in 83B
PKG-INFO 3KB
bosch_thermostat_client
helper.py 6KB
bosch_rawscan_cli.py 3KB
sensors.py 2KB
const
ivt.py 750B
__init__.py 2KB
nefit.py 170B
db
can.json 6KB
default.json 7KB
nefit.json 5KB
rc300.json 9KB
__init__.py 1KB
db_IVT.json 1KB
db_NEFIT.json 499B
errors.py 496B
gateway
ivt_gateway.py 3KB
__init__.py 228B
nefit_gateway.py 2KB
base_gateway.py 7KB
connectors
xmpp.py 4KB
http.py 3KB
ivt.py 2KB
__init__.py 374B
nefit.py 1KB
schedule.py 8KB
circuits
circuit.py 8KB
__init__.py 55B
ivt_circuit.py 6KB
circuits.py 3KB
nefit_circuit.py 3KB
operation_mode.py 2KB
encryption
ivt_encryption.py 235B
base_encryption.py 3KB
__init__.py 137B
nefit_encryption.py 242B
__init__.py 401B
const_old.py 644B
bosch_examples.py 7KB
version.py 37B
exceptions.py 1KB
bosch_thermostat_client.egg-info
PKG-INFO 3KB
requires.txt 38B
SOURCES.txt 2KB
entry_points.txt 138B
top_level.txt 24B
dependency_links.txt 1B
setup.cfg 38B
setup.py 2KB
README.md 2KB
LICENSE.txt 11KB
共 51 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功