Skip to main content

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()

Metadata

Release files for bshlocal 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bshlocal 0.0.7
File Size Uploaded Provenance
bshlocal-0.0.7.tar.gz 5.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bshlocal 0.0.7
File Interpreter ABI Platform
bshlocal-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 14.4 kB

Release files / bshlocal-0.0.7.tar.gz

Download URL bshlocal-0.0.7.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
17946aabcec6694588481f811bbd7f75972acdfa24a8a139981c4db76683b6b4
BLAKE2b-256 checksum
How to use checksums
1085cadeb131c012ff6fd4c8fbfb6018a6e25fbdec38b5a1426b0bdd48f5fea7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / bshlocal-0.0.7-py3-none-any.whl

Download URL bshlocal-0.0.7-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01bf04ae56dd23f3266f079cc182f644056f7ed416e600333c36bfe8711ffddb
BLAKE2b-256 checksum
How to use checksums
4e16d9eead8ddd1416af8014abc496b632678210740ceed65addfd291e4b0ec8
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for bshlocal 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page