Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera services documentation #92

Open
david-pace opened this issue Nov 25, 2023 · 6 comments
Open

Camera services documentation #92

david-pace opened this issue Nov 25, 2023 · 6 comments

Comments

@david-pace
Copy link

david-pace commented Nov 25, 2023

Hi,

previously, security cameras such as the Eyes camera exposed three services:

  • CameraLight
  • CameraNotification
  • PrivacyMode

but since the last Smart Home Controller update the PrivacyMode service is gone. Consequently, the cameras can not be switched on and off anymore. Was the service removed on purpose (I hope not)? And if so, is there an alternative?

Also, it would be great if you could add operations for all camera services in the Open API documentation and the Postman collection (currently, only the PrivacyMode service is listed there).

Thank you very much 🙂

@tschamm
Copy link

tschamm commented Nov 25, 2023

I had the same issue, but the learned that Bosch Camera App was just not connected in Bosch Smart Home App anymore. Please check if the camera is available in the Smart Home App.

@david-pace
Copy link
Author

Thanks for the response @tschamm 👍 As far as I can see all my cameras are still connected to the Bosch Smart Home app. Also, if I query the services of an Eyes camera at /devices/{{device_id}}/services, I get:

[
    {
        "@type": "DeviceServiceData",
        "id": "CameraNotification",
        "deviceId": "hdm:Cameras:device id",
        "path": "/devices/hdm:Cameras:device id/services/CameraNotification"
    },
    {
        "@type": "DeviceServiceData",
        "id": "CameraLight",
        "deviceId": "hdm:Cameras:device id",
        "state": {
            "@type": "cameraLightState",
            "value": "OFF"
        },
        "path": "/devices/hdm:Cameras:device id/services/CameraLight"
    }
]

so it looks like the PrivacyMode state is missing. Also, I can not control the CameraNotification as before, so something seems to be wrong.

Could you please check if PrivacyMode is listed if you query your camera(s)? Thank you 🙂

@tschamm
Copy link

tschamm commented Nov 26, 2023

I just checked for my system. I have the software 10.18.3249-29469 installed, and I see all three services for the Camera.

    {
        "@type": "device",
        "rootDeviceId": "xx",
        "id": "hdm:Cameras:xx",
        "deviceServiceIds": [
            "CameraLight",
            "CameraNotification",
            "PrivacyMode"
        ],
        "manufacturer": "BOSCH",
        "roomId": "hz_1",
        "deviceModel": "CAMERA_EYES",
        "serial": "XX",
        "profile": "GENERIC",
        "name": "Haustür",
        "status": "AVAILABLE",
        "childDeviceIds": [],
        "supportedProfiles": []
    },

@david-pace
Copy link
Author

david-pace commented Nov 26, 2023

Thanks for checking this 👍 I have exactly the same software version, but in my output the PrivacyMode service was missing:

{
        "@type": "device",
        "rootDeviceId": "xx",
        "id": "hdm:Cameras:xx",
        "deviceServiceIds": [
            "CameraLight",
            "CameraNotification"
        ],
        "manufacturer": "BOSCH",
        "roomId": "hz_4",
        "deviceModel": "CAMERA_EYES",
        "serial": "XX",
        "profile": "GENERIC",
        "name": "Name",
        "status": "UNAVAILABLE",
        "childDeviceIds": [],
        "supportedProfiles": []
}

Now I actively deleted a camera and re-added it (I had to re-authenticate again)...and suddenly the PrivacyMode services are back (for all cameras) 🙂 Maybe someone from Bosch can explain why I still saw the cameras with two available services, although the cameras were in fact not available (they were available in the Smart Camera app, but not in the Smart Home App)?

Whatever the case, the issue with the missing PrivacyMode service is now solved. What is left to do is to add the documentation for CameraLight and CameraNotification to the Open API documentation and the Postman collection.

@tschamm
Copy link

tschamm commented May 25, 2024

@david-pace I encountered the same error today again. I can see all cameras, however the service CameraNotification is just missing. It seems the Camera Cloud has some problems reporting the features of the camera via the API. Removing/Adding the camera from the Bosch SmartHome Controller and the Bosch SmartCamera App did not help making the service appear again...
Anyone from Bosch can help here?

@beilm
Copy link

beilm commented Jun 21, 2024

@david-pace I encountered the same error today again. I can see all cameras, however the service CameraNotification is just missing. It seems the Camera Cloud has some problems reporting the features of the camera via the API. Removing/Adding the camera from the Bosch SmartHome Controller and the Bosch SmartCamera App did not help making the service appear again... Anyone from Bosch can help here?

I have also noticed the problem with the CameraNotification Service for a while now.
Reconnecting the camera service, resetting the camera completely and connecting it again does not help...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants