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

[enhancement]: Expose privacy mode as switch button #619

Closed
jp-lno opened this issue Aug 20, 2024 · 3 comments
Closed

[enhancement]: Expose privacy mode as switch button #619

jp-lno opened this issue Aug 20, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@jp-lno
Copy link

jp-lno commented Aug 20, 2024

Describe the solution you'd like

Hi there,

I'm using the S350 camera with privacy mode and would like to automate privacy mode via Siri shortcut.
Could you expose a new switch to trigger privacy mode via HK ?
I will try to update the code but I am sure you will be faster than me. But if you are short of time, I will submit a PR.

I have checked in the eufy-security-client and the privacy mode is available. There are two CommandType :

CommandType.CMD_INDOOR_ENABLE_PRIVACY_MODE_S350
CommandType.CMD_INDOOR_ENABLE_PRIVACY_MODE

Regards

@jp-lno jp-lno added the enhancement New feature or request label Aug 20, 2024
Copy link

Did you check this Road Map pages ?

@lenoxys
Copy link
Contributor

lenoxys commented Aug 23, 2024

Hello,

It's already exposed through enable device button.

as per bropat lib when device is disabled and it has privacy mode, it will be triggered :

See code : https://github.com/bropat/eufy-security-client/blob/develop/src/http/station.ts#L4569-L4607

@jp-lno
Copy link
Author

jp-lno commented Aug 23, 2024

🤦‍♂️ I had not noticed that the power button had been replaced by the privacy button on my S350.
Thanks for your help. I can confirm that it works as expected 😅

@jp-lno jp-lno closed this as completed Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants