elad-bar / DahuaVTO2MQTT

Listens to events from Dahua VTO unit and publishes them via MQTT Message
104 stars 38 forks source link

Need some help in order to use this over the portainer #24

Closed nunokaneco closed 3 years ago

nunokaneco commented 3 years ago

Hello To all

I'm trying to use this in the portainer over the integration in to Home Assistant, but I'm a new user and I nedd some help or a little tutorial to install and use this.

Can anyone please help me in order to put this to work ?

Thank you in advance for your help I appreciate

elad-bar commented 3 years ago

Please review the README, it invlude docker compose to run with all the relevant parameters

Please let me know if it worked for you

nunokaneco commented 3 years ago

Please review the README, it invlude docker compose to run with all the relevant parameters

Please let me know if it worked for you

Hello Can you please let me know if this is correct can I still adding the environment variable in fault and click into deploy the stack ?

image

Thank you for your support

elad-bar commented 3 years ago

you need to replace the environment variables in the docker compose and avoid adding additinal in the section below it

nunokaneco commented 3 years ago

you need to replace the environment variables in the docker compose and avoid adding additinal in the section below it

Great thank you, Done. I also have the MQTT mosquito installed and configured. Now can you please let me know how to receive/configure or test this in the Home Assistant? Do I need to add some YAML config as you explain in the video to have the create a new entity ?

Once again thank you for your support

elad-bar commented 3 years ago

You need to create MQTT sensor or listen to events and trigger automation

elad-bar commented 3 years ago

Please read in HA forum, there are few examples

nunokaneco commented 3 years ago

Please read in HA forum, there are few examples

Hello again

Can you please confirm if is something like this?

`` sensor:

``

Thank you and best regards

elad-bar commented 3 years ago

Should work, in case you need to set up it to work in HA, please post there, I'm sure there are enough examples over there, Thanks