elad-bar / DahuaVTO2MQTT

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

Error connecting after VTO disconnecting #30

Open dkliszewski opened 3 years ago

dkliszewski commented 3 years ago

Sometimes my Dahua VTO is disconnected from network for a couple of minutes, after that your addon can't connect again to VTO. Logs:

2021-02-04 13:21:23,326 WARNING asyncio socket.send() raised exception.
2021-02-04 13:22:18,331 WARNING asyncio socket.send() raised exception.
2021-02-04 13:23:13,336 WARNING asyncio socket.send() raised exception.
2021-02-04 13:24:08,340 WARNING asyncio socket.send() raised exception.
2021-02-04 13:25:03,344 WARNING asyncio socket.send() raised exception.
2021-02-04 13:25:58,348 WARNING asyncio socket.send() raised exception.
2021-02-04 13:26:53,359 WARNING asyncio socket.send() raised exception.

Every minute is new log like this.

elad-bar commented 3 years ago

Are you using HA addon?

dkliszewski commented 3 years ago

Yes. 1.0.12 version

toroff commented 3 years ago

I have simillar problem. core-2021.4.6

elad-bar commented 3 years ago

are you using the docker image or addon?

toroff commented 3 years ago

I use hassio add-on. Docker image don't work on me. I make issue.

elad-bar commented 3 years ago

Pls uninstall an reinstall the addon, I just want to be sure you are on the latest version