bosch_camera_lan_ping
Check if a Bosch camera is reachable on the local network by pinging TCP port 443, enabling local control when the cloud API is unavailable.
Instructions
Probe whether a camera is reachable on the LAN (TCP port 443, 1.5 s timeout).
Pass either camera (resolved against bosch_config.json) or a raw
lan_ip. Useful when diagnosing cloud-down situations: if this returns
reachable=true while the cloud API is returning 5xx, privacy/light writes
via prefer_local=True will work without waiting for Bosch infrastructure.
Returns {reachable, ip, latency_ms}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | No | ||
| lan_ip | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP address that was probed | |
| reachable | Yes | True if the camera responded within the timeout | |
| latency_ms | Yes | Round-trip latency in milliseconds, or -1.0 if unreachable |