HAP-NodeJS icon indicating copy to clipboard operation
HAP-NodeJS copied to clipboard

add HMCameraControl

Open justme-1968 opened this issue 1 year ago • 3 comments

Current Situation

currently not all features/elements of HMCameraProfile are implemented.

streamControl, snapshotControl and microphoneControl are there, speakerControl might be (my cameras don't have a speaker) but especially HMCameraControl seems to be missing completely.

Proposed Change

if possible please implement all services that are exposed in homekit by the HMCameraControl class and the settingsControl member of the HMCameraProfile. HMCameraAudioControl, HMCameraStreamControl and HMCameraSnapshotControl are already there and it looks like HMCameraControl is the only one missing.

details can be found here: https://developer.apple.com/documentation/homekit/hmcamerasettingscontrol

Additional Context

I'm currently developing a general homekit browser app for mac os and a complete HMCameraProfile implementation would allow better control for cameras that are bridged with homebridge and have no native homekit implementation.

justme-1968 avatar Jul 08 '22 06:07 justme-1968

@justme-1968 - it's already all there.

lib/definitions/ServiceDefinitions.ts line 296

adriancable avatar Jul 08 '22 16:07 adriancable

you are right indeed, actually my first request was to the homebridge-unifi-protect plugin where I have noticed that during browsing with the homekit api the cameraControl is empty. hjdhjd said that the feature was not exposed and referred me here.

sehe the original request here: https://github.com/hjdhjd/homebridge-unifi-protect/issues/763

i will check back with @hjdhjd

justme-1968 avatar Jul 08 '22 16:07 justme-1968

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 08 '22 11:08 github-actions[bot]

This issue has been closed as no further activity has occurred.

github-actions[bot] avatar Aug 14 '22 11:08 github-actions[bot]