elad-bar / DahuaVTO2MQTT

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

sporadically ringing events #21

Closed tobit6795 closed 3 years ago

tobit6795 commented 3 years ago

Hi i recently updated from php to python version of this project this is my sensor in homeassistant

- platform: mqtt
  name: Doorbell ringing
  state_topic: "DahuaVTO/CallNoAnswered/Event"
  payload_on: "Start"
  off_delay: 30
  device_class: vibration
  value_template: "{{ value_json.Action }}"

last night i got multiple(5-6) ringing events triggered by itself, i have cameras all over there to make sure no ones actually hits the ring button. i currently have no idea where to look for useful logfiles or anything else. With the old version, i never had this problem and it was working over half a year.

What files / logs would help to debug this?

BR

Spartan-II-117 commented 3 years ago

Try monitoring DahuaVTO/Invite/Event instead, that appears to be the best topic for the job. if you're still having issues, turn on debugginf with the environment variable ( debug = true)

elad-bar commented 3 years ago

@tobit6795 did you check the logs? In case you did and it happens pls post the log including the event you are listen to

Thanks

tobit6795 commented 3 years ago

i turned debug on and im still waiting for this issue to happen again, i would try to reproduce if i knew how...i suggest if this issue wont happen again within 10days we can close it

elad-bar commented 3 years ago

Np