Closed myhomeiot closed 3 years ago
thanks for the input, I'm currently using NodeRED as integration to that docker over MQTT, the same can be done with automation of HA.
Of course anything that has communication channel can potentially switched into component, but the question is, what is the benefit of it as an HA component, given someone will need to maintain it.
Given the ring is an event, what will turn it off? is it just 30 seconds afterwards? or should it wait for opposite event of answering / not answered? opening the gate can be a service for sure, the lights on can be also binary sensor (not sure what will be the benefit of it as well).
thanks
Thanks for explanation! Main benefits having it as integration of HA, less complexity, better reliability but if you currently use it as MQTT it's will require more work to maintain.
Latest versions of HA has blueprints which make this kind of automation less complex.
Is it possible to send commands to VTO or Dahua API allow only to receive information?
For now, only retrives information, planning to add MQTT for action, first will be to open gate
@myhomeiot added the topic [MQTT_BROKER_TOPIC_PREFIX]/Command/Open
Is it still relevant?
@elad-bar Thanks for door open command! I was thinking that this command should be issued using existing Dahua connection. Because it's simple http command, I did it using shell_command using curl.
I will definitely start using DahuaVTO2MQTT when I will get good reason to install MQTT, currently all automation's which I have doesn't use it.
Since you already ported your gateway to Python is it will be a great idea to have regular Home Assistant integration? Sure MQTT gateway can be used by different home automation systems, but specially for Home Assistant the integration plugin will be much easy to use.
One more question: I have Dahua VTO and as I can see from documentation I can have doorbell sensor, the question is, using this gateway I can only receive events from VTO or can send commands as well? I'm interesting to send command to open the lock. Thanks in advance!