Amcrest cameras come with a privacy mode which can be enabled on the UI/App. However, the HA integration doesn’t have a service for it.
I checked the http sdk for Amcrest and couldn’t find an endpoint for that feature. However I managed to find the endpoints by doing some snooping on my Amcrest UI. From it I’ve managed to create this command_line switch which creates a switch that controls the Privacy Mode.
I am now able to turn privacy mode on and off via Home Assistant automatons.
Would be great if we could add that to the amcrest integration, though it is technically an undocumented API.
UPDATE: This workaround is no longer needed. See the amcrest integration page for how to enable the switches in the integration itself. Amcrest - Home Assistant
I don’t see why the API would be different between models. But if it is, what I did was check the calls mine did when I pressed the privacy mode button on the UI.
Looks exactly the same as mine. All I think is that there’s something wrong with the curl command. Can you try the curl commands on your PC and see what it does?
Oh, thank you. I have been using a power plug for a while for this functionality but it leaves a lot to be desired in speed from turning on to completely off. It’s almost instant using these commands.
I am sure it will get merged, probably pretty quickly but until it does this helps a lot. I wasn’t using the camera because I was honestly a little pissed about how I wasn’t able to find this feature.
I just got the 4MP version of that camera from Amcrest to test and I have it facing a wall when I’m home. When my alarm arms, it turns itself around.
I have, however, had to absolutely cripple the camera settings to even get borderline good performance. Current settings are h264, 1080p, 15fps, vbr with 8k max bitrate, no audio, no substream, and no smarts. Does yours perform poorly as well?