myhomeiot / DahuaVTO

Control Dahua VTO/VTH devices from Home Assistant
GNU General Public License v3.0
161 stars 19 forks source link

VTO2202 - Video Intercom Button Pressed no longer working #29

Closed boozelclark closed 6 months ago

boozelclark commented 6 months ago

Hi

In the last few days i have noticed that when the intercom button on my VTO2202 is pressed I no longer see the entitiy change in Home Assistant. I have firmware version 2022-05-23 V4.511.0000000.0.R and in my logs i get the following:

Warning: Logger: homeassistant.helpers.frame Source: helpers/frame.py:190 First occurred: 17:24:19 (4 occurrences) Last logged: 17:24:49

Detected that custom integration 'dahua' calls async_write_ha_state from a thread at custom_components/dahua/init.py, line 365: listener(), please report it to the author of the 'dahua' custom integration Detected that custom integration 'dahua' calls async_write_ha_state from a thread at custom_components/dahua/init.py, line 382: listener(), please report it to the author of the 'dahua' custom integration

Quickly followed by:

Error: Logger: custom_components.dahua Source: custom_components/dahua/vto.py:119 integration: Dahua (documentation, issues) First occurred: 17:24:19 (4 occurrences) Last logged: 17:24:49

Failed to handle event, error: Detected that custom integration 'dahua' calls async_write_ha_state from a thread at custom_components/dahua/init.py, line 365: listener(). Please report it to the author of the 'dahua' custom integration., Line: 114 Failed to handle event, error: Detected that custom integration 'dahua' calls async_write_ha_state from a thread at custom_components/dahua/init.py, line 382: listener(). Please report it to the author of the 'dahua' custom integration., Line: 114

Is anyone else experiencing similar issues? Any help would be much appreciated.

Thanks,

myhomeiot commented 6 months ago

Hello, you probably mixed up the integration and are using this one. Your issue looks similar to this issue

boozelclark commented 6 months ago

Thanks very much! I'm not sure how i got the two mixed up. The one I had installed vs the one i had installed via HACS was different some how.