BoschSmartHome / bosch-shc-api-docs

Bosch Smart Home Controller Local REST API
Other
208 stars 44 forks source link

Eyes-Kamera - Zugriff auf die Beleuchtung per API? #56

Open stmeyer1 opened 2 years ago

stmeyer1 commented 2 years ago

Hi, es wäre super, wenn man per API (ich nutze dazu Node-Red) die Leuchten (Stimmungs- und Bewegungslicht) ein-/ausschalten könnte. Ich habe 5 dieser Kameras und 2 davon hängen an der Terrasse und ich würde die Beleuchtung der Kameras gerne zusammen mit den anderen dort hängenden Lampen schalten können. Kann die API dahingehend erweitert werden? Wäre super.

Viele Grüße Stefan

GerdZanker commented 2 years ago

+1

berstu commented 2 years ago

+1

justme-1968 commented 2 years ago

yes. please expose everything via the api

marcusspahn commented 2 years ago

+1

david-pace commented 2 years ago

+1

Marcoschmitt commented 2 years ago

+1

david-pace commented 2 years ago

With openHAB I was able to find out that there is a service called CameraLight. The state can be retrieved and set using the URL /devices/{deviceId}/services/CameraLight/state.

The JSON messages look like this:

{
    "@type": "cameraLightState",
    "value": "ON"
}

However, this only works with one of my two cameras. So it seems like this is only supported for certain models (probably newer ones).