Python API for talking to Bosch™ Heating gateway using HTTP or XMPP
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for bosch-thermostat-client-0.9.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d11fd7edab48defa45e57d6978f42ca5ef9b42df5f61dcde9a124e6fe4b4df70 |
|
MD5 | ed9813f3b1c2eaddaa448d2ad6fca6c4 |
|
BLAKE2b-256 | 9f7769af9b5aa12826895941151a039cddd791846dc6881025b30930d13f5632 |
Close
Hashes for bosch_thermostat_client-0.9.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef685d4ff66a68e0fb43e55e34a2d2d319a8e38440665e8491ea9d12dc90a00a |
|
MD5 | 6a0c4919fec3175beee00f97fdefefd7 |
|
BLAKE2b-256 | 8b07057dc8bc5c5abd01001aab5be47bc0ace9dffd0853dbd0ed894f31fcec36 |