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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ec9af5da4c445aa3bfbe5bdc3f8ddb7ec9654a1012f5989b4589352288446da |
|
MD5 | ff5b7b819ebe55f17250f9b58ca8e45b |
|
BLAKE2b-256 | b1c945736221e45a032f3307de9cc501d0218f1fdef23a14fe82aae0890e2c85 |
Close
Hashes for bosch_thermostat_client-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 389cb2be9c4ef4c50e28a1b35b9bcb98261326628a2c24c8d7778745c5e536f5 |
|
MD5 | 0aca43d5e84e61fd1ec871dc8b385c70 |
|
BLAKE2b-256 | 4aca208033223b7574f3c0e1c46579bf85fcce1d6ba2f071bcf8576d8d506be5 |