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

Feature Request: Binary Sensor for night mode #380

Closed
joewashear007 opened this issue Aug 12, 2023 · 6 comments
Closed

Feature Request: Binary Sensor for night mode #380

joewashear007 opened this issue Aug 12, 2023 · 6 comments
Labels
Blocked Enhancement New feature or request

Comments

@joewashear007
Copy link

Is your feature request related to a problem? Please describe.
I am wanting to measure the power used by my tapo camera, so it can be auto discovered by the power_calc home assistant custom component. I have measured the power, there is a very clear change in power when the night mode is active as can be seen below

Screenshot_20230812-071704.png

Describe the solution you'd like
Is it possible to expose the night mode/infrared light on as a binary sensor? This way the power calculation could be reliable determined.

Describe alternatives you've considered
N/A

Additional context

Linked Issue: bramstroker/homeassistant-powercalc#1763 (comment)

@joewashear007 joewashear007 changed the title Feature Request: Feature Request: Binary Sensor for night mode Aug 12, 2023
@JurajNyiri JurajNyiri added the Enhancement New feature or request label Aug 20, 2023
@Nafania
Copy link

Nafania commented Sep 29, 2023

Plus one but the reason is completely different :) Im using frigate with tapo cameras. At night firgate hardly recognizes some things, but frigate has the option to improve the contrast of images. The thing here is that if I put this option in the config of frigate it will work always. So I would like to have this option on only when the infrared light on the camera is on and vice versa. See some additional information here blakeblackshear/frigate#6420 . So having this option will really improve my experience. Thank you in advance!

@joaopedros2
Copy link

joaopedros2 commented Dec 24, 2023

I come to ask but for different reasons.

When in night vision mode, it activates notifications when my kids are asleep.

The only way I managed to solve this was by using Node-RED + Snapshot to check whether the image is in color or not.

Screenshot_2023-12-24-13-59-30-45_c3a231c25ed346e59462e84656a70e50.jpg

@JurajNyiri
Copy link
Owner

I looked into this, currently we have nothing in the data that would signify whether night vision (IR) is on or off from the camera itself.

Is this reported anywhere inside the app?

@Nafania
Copy link

Nafania commented Aug 1, 2024

No, there is no clear indicators in the app as well, I thought it might be reported somewhere in the api

@joewashear007
Copy link
Author

joewashear007 commented Aug 1, 2024 via email

@JurajNyiri
Copy link
Owner

Closing as this is impossible to implement because app does not support this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants