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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fbaee4ce02835175c191bc1c6f9653e512e3aa1804c8e03c2d00ab492ffb9e0 |
|
MD5 | 106832ea6f249b413fb7d3cdcbf071ee |
|
BLAKE2b-256 | 0c0eb9a9a29b9ddd0e522a8ec56a57b67609309408a85e780ca50af931cdc945 |
Close
Hashes for bosch_thermostat_client-0.9.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b2d5886d4dcd2a86785b6245b13c6162268371fd5d48ca3558a7d2505283f09 |
|
MD5 | 0817496be4df11194fbd993f806c770c |
|
BLAKE2b-256 | 4d3cfc34bacb602f251ddc2f40daa4c74ac76421aa05de07e9450c600aad061e |