Python API for talking to Bosch™ Heating gateway using HTTP
Project description
bosch-thermostat-http-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.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2d981d00840f52791e032d93cfa2a8bf9e23b4e71006d3cb883d1496984f0fe |
|
MD5 | 1afe700aab42f1c66cea0f0c895435b6 |
|
BLAKE2b-256 | 375c09d5e07ba475fcca155c9af637270d64d8549dd5d7ea3298786988c3238c |
Close
Hashes for bosch_thermostat_client-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5d65cf7f41add270a93ca8bdd43b108d4b437e9d26277dd5f8046084b9c7665 |
|
MD5 | fab42735216d3459c659fbc04e3ec547 |
|
BLAKE2b-256 | d9660c7bb1d5d46b2b5b37f527eb3ec899fb4816654fc8b182c11bec6a6a86bf |