Platform error: camera - Requirements for ezviz not found: ['pyezviz==0.1.5']

I think it shouldn´t make a difference i have 12 camers and ever 4 cameras they are in a different vlan and it is working except one camera that won´t display the stream and gives me just a still frame in HA.


‘Интеграция ezviz_cloud прошла в HACS, в объектах пусто и выходит такая ошибка’

Did you manage find a solution ?

The code i wrote above works when an alarm is triggered. But more pir function not. Testing true an ifttt webhook now. Need the code if it works ?

Didn’t work for me, only ran the automation on the second trigger of the alarm field being updated.

I did try IFTTT but took like 15-20 seconds to run !

I was wondering if needed to set up something like this:

Essentially Boolean if the alarm last triggered time stamp is less than 5 minutes from the current date / time and sets to true else false. I think in theory this logic will be reliable but need to look into it.

Hello,

I have noticed an issue with the C6N

Whenever I put the device on Sleep, it isn’t detected as is by the integration.

The “sleep” attribute stays False
Also, if I reboot HA when the device in on Sleep mode, it won’t connect to the Ezviz cloud account…

RESOLVED in the last update, thanks!

Hmmm maybe it does work. Just sometimes slow pushing the update up ezviz cloud > HA before it runs.

Hi,

UPDATE BELOW:

UPDATE 2 : Resolved by downgrading to 0.0.23

Just got the model C6T.

Set up according to instructions, made sure TFA are disabled.
Logged out and in of the app.

Keep getting this in the log:

raise PyEzvizError("Login error: Incorrect Captcha code")

Anybody had this?

UPDATE:
Logged into the cloud service online, after this my error log received new entries that just repeats iteself forever:

2021-01-22 01:57:51 WARNING (MainThread) [homeassistant.config_entries] Config entry for hacs not ready yet. Retrying in 5 seconds
2021-01-22 01:57:53 ERROR (MainThread) [custom_components.ezviz_cloud.coordinator] Unexpected error fetching ezviz_cloud data: 32
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 144, in async_refresh
    self.data = await self._async_update_data()
  File "/config/custom_components/ezviz_cloud/coordinator.py", line 39, in _async_update_data
    return await self.hass.async_add_executor_job(self._update_data)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/ezviz_cloud/coordinator.py", line 31, in _update_data
    cameras = self.EzvizClient.load_cameras()
  File "/usr/local/lib/python3.8/site-packages/pyezviz/client.py", line 266, in load_cameras
    camera.load()
  File "/usr/local/lib/python3.8/site-packages/pyezviz/camera.py", line 34, in load
    if self._switch[DeviceSwitchType.AUTO_SLEEP.value] != True:
KeyError: 32
2021-01-22 01:57:53 WARNING (MainThread) [homeassistant.config_entries] Config entry for ezviz_cloud not ready yet. Retrying in 5 seconds

1 Like

Hi TheStigh,
i solved it by updating the component to the latest release (0.0.2.5).
However, now all the services called through the lovelace card do not work well

Hi @Lucariello78

yeap, I did. Downgraded to version 0.0.23, then all was OK :slight_smile:
Downgrade by going into the git, choose the releases and version, download the folder for ‘custom components’ and replace the files in your local folder. Voila :slight_smile: !

I am using image processing ai true amazon now. Works great and can activate if only a person is detected or a dog or …

1 Like

Can you provide some details on what is involved with this? how quick does the automation trigger turning your light compared to original solution ?

Hi,
Thanks @RenierM for making this custom integration working again.
Just figured out that region for Singapore, Indonesia and perhaps other South East Asia (including Malaysia, Thailand, etc) you may need to use “sgp” for your region.

If my light goes on outside. The ai processes the image every 5 minutes to detect people. If nobody is detected it turn off the light. Ai confidence is set to min 90% here.

How are you doing this ? Your original message didn’t make much sense :slight_smile:

Best if you look up “doods”. Will make allot of sense then.

I see. Can you please share your configuration settings for reference ?

Mine is installed true the add-on, not docker.
This is going far off topic, vetter if you dm me for questions. @VR6Pete



  - platform: doods
    url: http://192.168.0.176:8080
    detector: tensorflow
    scan_interval: 2
    source:
      - entity_id: camera.husky_air_d53127471
    confidence: 60
    labels:
      - name: person
        confidence: 60 
      - name: cat
        confidence: 50
      - name: dog
        confidence: 50

Greetings to you;

I have followed the documentation, but at home it doesn’t work.
I can’t get the steering motor to work either. It’s a service not found.

I have a CS-C6N

Thank you for your help