-
Notifications
You must be signed in to change notification settings - Fork 96
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
Feature Request: HDR Switch #480
Comments
The AI detection mode it would be really appreciated, yes |
Someone will need to document the https call for HDR switch on / off. Then it can be added. |
I intercepted the HTTPS request/responses (to the usual stok=/ds endpoint): HDR on:
HDR off:
I also extracted the response of
as well as
Hopefully this is all that is needed! |
@oscarsiles Looking into this now. We need to find one more call - to determine what is the HDR current state. |
In the meantime, I pushed the above functions into pytapo, you can test them now by manually downloading this branch and using it with python. https://github.com/JurajNyiri/pytapo/tree/hdr Once we have the function to get HDR state, I will implement it here as well. Unfortunately, none of my cameras support HDR so I cannot even guess the GET call or test this. |
Thanks for this - I'll try to test it over the next couple of days.
Would the |
You are right, I missed that! Let me implement it here. I will open new branch in upcoming hours for you to test. |
Deployed pytapo 3.3.23, should make it a lot easier to test now. |
@oscarsiles Try downloading manually https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/tree/hdr , it should have the HDR switch. I was not able to test so I was developing blind, let me know if it works. Thank you! |
Just tested it by changing HDR on the Tapo app and via HA. Both work and reflect any changes from another source correctly. Thanks so much! |
Released in https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/releases/tag/5.4.26. Thank you! |
Is your feature request related to a problem? Please describe.
I have a C325WB camera which works fine, but is missing a few features (e.g. #433). In particular of interest to me would be the ability to enable/disable the HDR functionality, as Tapo indicates it is best to keep it disabled at night. The firmware has no auto mode for this setting, and so it would be helpful to be able to automate this via HA.
Describe the solution you'd like
Add support for the new features of C225/C325WB cameras (HDR, new AI detection modes)
Describe alternatives you've considered
n/a - no firmware support for scheduling HDR mode
Additional context
Happy to provide any logs/data that is needed. Have played around with pytapo a bit but didn't get very far.
The text was updated successfully, but these errors were encountered: