Async Python client library for Bosch Smart Home Camera cloud + local (RCP) APIs.
Project description
bosch-shc-camera-client
Async Python client library for Bosch Smart Home Camera cloud + local (RCP) APIs.
Extracted from the Bosch Smart Home Camera Tool integration family (Home Assistant, ioBroker, Python CLI, MCP, Node-RED, NiceGUI frontend) so every consumer shares one maintained implementation instead of duplicating the client logic per platform.
Status: early extraction in progress. Not yet feature-complete versus the inline modules it's replacing.
Scope
- Local RCP protocol read access over
/rcp.xml(Gen2 camera on-device control plane), read-only (local_rcpmodule — synchronous, used from an executor thread). - HTTP Digest authentication (RFC 7616/2617) —
auth_utils.async_digest_request. - RCP (Remote Configuration Protocol) via cloud proxy and direct LOCAL (
rcpmodule): session management with TTL caching, binary protocol reads, direct-LOCAL Gen2 reads/writes (privacy mode, front-light brightness), response parsers (alarm catalog, motion zones/coords, TLS cert info, network services, IVA analytics catalog), andfetch_rcp_camera_data()— a pure per-camera orchestrator that reads all of the above in one call and returns anRcpCameraDatadataclass (only fields whose reads succeeded are populated; the rest stayNone, meaning "not read this round"). All session/SSL-context objects are caller-injected — this module never builds or caches HA-specific process-wide state itself, and never touches any coordinator/cache-dict state. - Bosch cloud API (
residential.cbs.boschsecurity.com) write mechanics (cloudmodule):cloud_put_json()— Bearer-auth PUT with a timeout, HTTP-status classification, optional JSON response parsing. This is the one shared piece extracted from the source integration's 5 cloud-setter functions (privacy/light/light_component/notifications/pan); deliberately narrow — see "Out of scope" below.
Out of scope (stays integration-specific, not extracted here, by deliberate "clean boundary" decision —
see knowledge-base/ha-core-submission-plan.md in the source repo): the cloud setters' actual
multi-tier fallback orchestration (cloud → local RCP → SHC local API), coordinator cache writes, and
notification side effects — genuine coordinator business logic, not wire protocol, and threading the
~15 coordinator attributes it touches through a "pure" interface would obscure the boundary rather than
clarify it. Also out of scope: FCM push-notification plumbing tied to Home Assistant's
recorder/snapshot-store internals, anything HA-entity-shaped, and the SMB/FTP export helpers (smb.py)
— those reach into the HA integration's coordinator object directly (coordinator.hass,
coordinator.options, private state) rather than being a standalone API client.
Install
pip install bosch-shc-camera-client
License
MIT, see LICENSE.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bosch_shc_camera_client-0.5.2.tar.gz.
File metadata
- Download URL: bosch_shc_camera_client-0.5.2.tar.gz
- Upload date:
- Size: 53.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5496dd79d8daca6be4e62ef03f6eb94c6e6cdc79ab6fdd7f4545627e217ccc88
|
|
| MD5 |
b262678d3d4133789b5c689b3adbe3b9
|
|
| BLAKE2b-256 |
c360e799448cf44733246467c9dd6b38953229f8800f5ea7d34314f65d3245b0
|
Provenance
The following attestation bundles were made for bosch_shc_camera_client-0.5.2.tar.gz:
Publisher:
publish-pypi.yml on mosandlt/bosch-shc-camera-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bosch_shc_camera_client-0.5.2.tar.gz -
Subject digest:
5496dd79d8daca6be4e62ef03f6eb94c6e6cdc79ab6fdd7f4545627e217ccc88 - Sigstore transparency entry: 2167373465
- Sigstore integration time:
-
Permalink:
mosandlt/bosch-shc-camera-client@b276a977a0b509239baef8f4112f04e9c1c222c4 -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/mosandlt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b276a977a0b509239baef8f4112f04e9c1c222c4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file bosch_shc_camera_client-0.5.2-py3-none-any.whl.
File metadata
- Download URL: bosch_shc_camera_client-0.5.2-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2edfe668dcf632a6537bea99d34b170e584f052452e4ceb48543deb513ae4d45
|
|
| MD5 |
12057687bf250b245fc7200678b6f826
|
|
| BLAKE2b-256 |
0848e50de0d314064e3e3b402ba7612f9c5e8e0a431884949903abda31c3cc58
|
Provenance
The following attestation bundles were made for bosch_shc_camera_client-0.5.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on mosandlt/bosch-shc-camera-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bosch_shc_camera_client-0.5.2-py3-none-any.whl -
Subject digest:
2edfe668dcf632a6537bea99d34b170e584f052452e4ceb48543deb513ae4d45 - Sigstore transparency entry: 2167373484
- Sigstore integration time:
-
Permalink:
mosandlt/bosch-shc-camera-client@b276a977a0b509239baef8f4112f04e9c1c222c4 -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/mosandlt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b276a977a0b509239baef8f4112f04e9c1c222c4 -
Trigger Event:
push
-
Statement type: