Bosch Smart Home Local API Python Library
Project description
Bosch Smart Home Local API Python Library
This library implements the local communication REST API for the Bosch Smart Home system. The API documentation is available here. It supports both long and short polling. The following device services are implemented:
TemperatureLevel
ValveTappet
ShutterContact
RoomClimateControl
Example:
import bshlocal
# Create session
session = bshlocal.BSHLocalSession(controller_ip="192.168.25.51", certificate='cert.pem', key='key.pem')
device = session.device('roomClimateControl_hz_5')
service = device.device_service('TemperatureLevel')
print(service.temperature)
# Update this service's state
service.short_poll()
# Start long polling thread in background
session.start_polling()
# Do work here
...
# Stop polling
session.stop_polling()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bshlocal-0.0.7.tar.gz
(5.7 kB
view details)
Built Distribution
File details
Details for the file bshlocal-0.0.7.tar.gz
.
File metadata
- Download URL: bshlocal-0.0.7.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17946aabcec6694588481f811bbd7f75972acdfa24a8a139981c4db76683b6b4 |
|
MD5 | 0b7ebc638abb93d4cebe5e05f66d139c |
|
BLAKE2b-256 | 1085cadeb131c012ff6fd4c8fbfb6018a6e25fbdec38b5a1426b0bdd48f5fea7 |
File details
Details for the file bshlocal-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: bshlocal-0.0.7-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01bf04ae56dd23f3266f079cc182f644056f7ed416e600333c36bfe8711ffddb |
|
MD5 | 676c435de896f5ce0049e50860b36216 |
|
BLAKE2b-256 | 4e16d9eead8ddd1416af8014abc496b632678210740ceed65addfd291e4b0ec8 |