felipecrs / dahua-vto-on-home-assistant

This is my personal setup for using the Dahua VTO doorbell on Home Assistant, with no VTH or cloud dependency.
MIT License
9 stars 0 forks source link

IR Mode only with call through APP #2

Closed jcortizronda closed 3 weeks ago

jcortizronda commented 3 weeks ago

Hello,

I have this integration of the same Dahua VTO. However, If I use frigate card for speaking through the VTO, the IR lights does not turn on. It only turns on when I activate the call in its Android application.

Any solution to this in order to avoid asterisk call?

Thanks! Good job.

felipecrs commented 3 weeks ago

I don't use IR lights myself because my street has good illumination.

You can add your own actions for when the Frigate card answers the call, like enabling the IR light. Dahua integration has a service for it IIRC.

But I wonder why don't you simply leave it on automatic mode? Doesn't it turn on automatically on low light? This is configuration of the doorbell itself.

jcortizronda commented 3 weeks ago

It does not turn on automatically. It only turns on when you press green button in dahua APK when it's dark.

If I use Dahua integration, it does not work. If I turn on Infrared, the switch turn off instantly.

felipecrs commented 3 weeks ago

Hm... if the Dahua integration service for turning on the IR is not working, I suggest you open an issue against the integration then.

Also, I don't use the Dahua app. Cloud access is disabled in my VTO configuration.

felipecrs commented 3 weeks ago

Oh. I am checking this on my VTO and it seems that the dahua.set_infrared_mode service doesn't work indeed.

Also, I don't see anything in my VTO configuration to control the IR lights.

But if it's possible to do it using the app, maybe it's possible for the Dahua integration to do it too.

Please open an issue there instead, feel free to share it here.

felipecrs commented 3 weeks ago

You can also try https://github.com/myhomeiot/DahuaVTO BTW.