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

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

Hi guys,
I’m following all your advices to see these cam working (OR I’ll soon send it back!!! if you have better and easier one to suggest!).

I recevie the error in the log about the capthca: how can i solve it?

"pyezviz.client.PyEzvizError: Login error: Captcha required"

Hi,
The issue that forced Ezviz integration to be disabled was solved (https://github.com/BaQs/pyEzviz/pull/10).
Maybe it will be enable in a near futur :pray:

Hi Guys,

Ive been using the ezviz cloud integration for a little while now, updated from 0.0. 3.1 to 0.0.3.5 and now my LC1 floodlight camera is getting blank local IP.
Anyone else having this issue with the latest version?

Thanks,
localIP

Hello,

tried to use the custom_components from https://github.com/RenierM26/ha-ezviz.

I got the following error upon HA startup:

Error loading custom_components.ezviz_cloud. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 592, in _load_file
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/config/custom_components/ezviz_cloud/__init__.py", line 6, in <module>
    from pyezviz.client import EzvizClient
ModuleNotFoundError: No module named 'pyezviz'

Hi , I just upgraded to v0.0.4.1 and edited my config as advised (moving to the :camera section and adding the account login detail back in). It all seems to work but I get the warning below each time I restart. Should it just be ignored or should the account information be taken out of the .yaml again? Thanks

Logger: custom_components.ezviz_cloud.camera
Source: custom_components/ezviz_cloud/camera.py:67
Integration: Ezviz (documentation)
First occurred: 16:23:57 (1 occurrences)
Last logged: 16:23:57

Loading ezviz via platform config is deprecated, it will be automatically imported. Please remove it afterwards.

Hi everyone. I was able to install ezviz integration with https://github.com/RenierM26/ha-ezviz custom_component. From Integration page I was able to add my account and one of my cameras (as a test), as shown here:

image
Anyways, I get this on startup:

2021-03-02 21:55:35 WARNING (MainThread) [homeassistant.config_entries] Config entry 'alessandrotischer' for ezviz_cloud integration not ready yet. Retrying in 5 seconds
2021-03-02 21:55:37 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating ping binary_sensor took longer than the scheduled update interval 0:00:01
2021-03-02 21:55:39 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating ping binary_sensor took longer than the scheduled update interval 0:00:01
2021-03-02 21:55:41 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating ping binary_sensor took longer than the scheduled update interval 0:00:01
2021-03-02 21:55:41 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform rainbird is taking over 10 seconds.
2021-03-02 21:55:41 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform rainbird is taking over 10 seconds.
2021-03-02 21:55:43 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating ping binary_sensor took longer than the scheduled update interval 0:00:01
2021-03-02 21:55:44 ERROR (MainThread) [custom_components.ezviz_cloud.coordinator] Unexpected error fetching ezviz_cloud data: Can't gather proper data. Max retries exceeded.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 149, 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.ezviz_client.load_cameras()
File "/usr/local/lib/python3.8/site-packages/pyezviz/client.py", line 320, in load_cameras
devices = self._get_all_device_infos()
File "/usr/local/lib/python3.8/site-packages/pyezviz/client.py", line 359, in _get_all_device_infos
devices = self._get_page_list()
File "/usr/local/lib/python3.8/site-packages/pyezviz/client.py", line 778, in _get_page_list
return self._api_get_pagelist(
File "/usr/local/lib/python3.8/site-packages/pyezviz/client.py", line 136, in _api_get_pagelist
return self._api_get_pagelist(page_filter, json_key, max_retries + 1)
File "/usr/local/lib/python3.8/site-packages/pyezviz/client.py", line 136, in _api_get_pagelist
return self._api_get_pagelist(page_filter, json_key, max_retries + 1)
File "/usr/local/lib/python3.8/site-packages/pyezviz/client.py", line 136, in _api_get_pagelist
return self._api_get_pagelist(page_filter, json_key, max_retries + 1)
[Previous line repeated 1 more time]
File "/usr/local/lib/python3.8/site-packages/pyezviz/client.py", line 117, in _api_get_pagelist
raise PyEzvizError("Can't gather proper data. Max retries exceeded.")
pyezviz.client.PyEzvizError: Can't gather proper data. Max retries exceeded.

And there is no ezviz camera in entities. Do you have any advice about this?

Thank you

Yo también he hecho las integraciones tanto de la cuenta como de las credenciales de la cåmara en cuestión pero me da este error:

'021-03-08 14:22:46 ERROR (MainThread) [custom_components.ezviz_cloud.coordinator] Unexpected error fetching ezviz_cloud data: ‘NoneType’ object is not subscriptable

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 151, 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.ezviz_client.load_cameras()

File “/usr/local/lib/python3.8/site-packages/pyezviz/client.py”, line 417, in load_cameras

cameras.append(camera.status())

File “/usr/local/lib/python3.8/site-packages/pyezviz/camera.py”, line 140, in status

self._device.get(“timePlanInfos”)[1].get(“enable”)

TypeError: ‘NoneType’ object is not subscriptable’

Dear @RenierM, thanks for you great job.
Even if I followed the instructions, I cannot see the stream of the camera. I can control the PTZ and all the switches but no chance to see the stream.
My configuration is the following:

stream:
ffmpeg:
- platform: ezviz_cloud
  username: !secret usr_ezviz
  password: !secret pw_ezviz
  cameras:
    D05045094:
      username: !secret usr_studio_ezviz
      password: !secret pw_studio_ezviz
    D05044926:
      username: !secret usr_sala_ezviz
      password: !secret pw_sala_ezviz
    D12875881:
      username: !secret usr_terrazzo_ezviz
      password: !secret pw_terrazzo_ezviz

The camera state is “idle” as per following

idle

access_token: xx
model_name: CTQ3W
brand: Ezviz
friendly_name: Esterno
entity_picture: /api/camera_proxy/camera.esterno?token=xx
supported_features: 2

I checked this topic but I’ve no ideas on what I’m doing wrong; could you give me some hints?
Thank you

Before version 0.0.5.6 I was able to call service disable_motion_detection.
Now when I call it I get an api error (now on version 0.0.5.9).
I have a C6N camera and Hass.io 2021.3.4.

any update?

I didn’t get an answer so am just ignoring the error. It all still works

1 Like

Hi to all,
i don’t manage to integrate my ezviz camera.
This is my code in configuration.yaml:

ffmpeg:
stream:
camera:
  - platform: ezviz_cloud
    username: !secret ezviz_user
    password: !secret ezviz_pass
    cameras:
      D23xxxxxx:
        username: admin
        password: !secret ezviz_secretcode

I’ve the following error:

Logger: homeassistant.setup
Source: setup.py:138
First occurred: 19:17:40 (1 occurrences)
Last logged: 19:17:40

Setup failed for ezviz_cloud: No setup function defined.

What’s wrong?
Thank you so much for any help.
Regards,

Alessandro

Hi, Did you manage to resolve this please as I am getting the same error now. It was working fine and then stopped. I have updated the integration again today and tried deleting and re adding the integration in the front end and ymal but its still the same.

Hello, thanks for the useful integration.
I am currently only struggling understanding a couple of items related to motion detection:

  1. it seems that there is no binary sensor created by the integration to be used as a motion sensor. Currently testing with an ffmpeg motion sensor provided by HA, but not as convenient.
  2. the snapshot service correctly saves the file at the requested location when called, but it is unreadable. I’m calling it with:
service: camera.snapshot
data:
  filename: '/config/www/cameretta/snapshot.jpg'
target:
  entity_id: camera.c1c_dXXXXXXXX

Thanks