I can see the events in the log and can (kind of) understand them with help from this post.
I would like to now control the gates from Home Assistant, both manually (a button press) and automatically (I also have Dahua cameras with motion control that I can see on HA using ONVIF).
I am using Visual Studio as my editor.
I have also installed Node-Red but have no experience.
Thanks for the quick response.
Should i paste this into the config.yaml?
I receive an error “can not read a block mapping entry a multiline key may not be an implicit key”
Please dont forget to change the admin, password and ip address in the url.
After this go to config and check config and restart server.
after restarting go to developer console and then services. Call the service shell_command.gate_open .
If any doubt, please ask
For the time being I am not able to find any other api calls for opening a the door. Can you try a work around i,e to send this command again before the time ends to close the door. Which could restart the door close timer and keep the door open. Please try it and let me know.
I think you can create an input_boolean and then create an automation which will trigger when the this boolean changes from off to on. Then in actions select repeat until and put condition as off state of this input boolean.
Thanks - it now opens the gate form the input boolea
however the gate still closes automatically.
Can i put a time on the repeat action e.g. repeat every x seconds?