Hmm what am i missing here? I’m just trying to sound alarm whenever the gate is left open for more than x minutes, 2 minutes passed by in open condition and it doesn’t trigger
This is off topic for this conversation, but Home Assistant binary_sensor doesn’t have any other states than on, off and unavailable, so trigger should look like:
- platform: state
entity_id:
- binary_sensor.gate
to: 'on'
for: '00:01:00'
I use this automation script but it behaves strange : why does it ring (and flash the lights) 2 times ?
It rings (and flashes) 1 time when the button is pressed (perfect !) … but also 1 more time 30 secs after that (huh ?) … naughty naughty doorbell !
In condition you check for states [0, 1, 2, 5, 6] but only the 1 and 2 it’s a Call/Ring, probably you should check only for them [1, 2]. More information about state codes you can find here
I’m also interested in what @Videx1 asked. I also have a VTH indoor monitor installed to answer the VTO doorbell but really, it’s a one usecase thing and ideally I’d just be able to stop the doorbell, receive audio and 2-way audio communicate with the guest via HA (and thus via any mobile/tablet I choose). The VTO has 2 way audio communication capabilities, question is how to tap into it via HA
@Videx1@yoloitup This problem was already discussed in this thread, please check my original reply here and one of solution here (thanks @Azelphur).
If you will success with FreePBX or Asterisk integration with VTO you can try to find SIP card for Home Assistant dashboard (this was also discussed here but as I understand without success).
Hope this helps.
@G0nitte If you see folder dahua_vto under custom_components than everything is fine. This integration doesn’t have GUI Home Assistant config flow, you should configure it manually in .yaml file, please check documentation here
Maybe a bit silly, but how to check the correct port?
On default i’ve got ‘unavailable’, when trying: 80/5000/5060/5061.
Only 37777 i see status ‘OK’ but no other attributes
Which device you trying to access? 37777/tcp usually it’s DVRIP or 3DES protocol, this integration support only DHIP protocol (usually 5000/tcp). VTO usually have 80/tcp and/or 443/tcp port for web access.
Have 2 doorbell and nvr (VTO2111, VTO2211, DHI-NVR2108-I), in default port can’t connect, with logger i have problem “User or password not valid!”, other integration like rroller is connect to video.
Edit: stupid: forget add ‘!secret’ before password in config. Now its found the devices.
Hola, look into your yaml and check that it’s send message when BackKeyLight 1 or 2 (Call/Ring), now it’s looks like it’s sends message when BackKeyLight 5 (Call answered from VTH) or 6 (Call not answered).
Hola, gracias por su rapida respuesta.
No ha funcionado con el cambio a Backkeylight 1.
Lo he solucionado haciendo un nueva automatización con el sensor binario de esta atomatizacion.
Ahora el problema es que si borro la automatizacion anterior deja de funcionar la nueva.
un saludo