Error configuration, onvif not found: ['onvif-zeep-async==0.2.0']

Hello i have installed home assistant on virtual Lenv over rpi 3b.
i have the last version (08/10/2019) 99.3
When i insert a cam onvif:

  • platform: onvif
    host: 192.168.1.88
    password: xxxxxx
    port: 8000
    i received this error on configuration check:
    Platform error camera.onvif - Requirements for onvif not found: [‘onvif-zeep-async==0.2.0’].

i’ve try to install the dependencies but i received error
where is the problem? I’m becoming crazy

:point_up_2:+ 1

Same Problem here - after manual installation following this guide on Raspbian Buster / RasPi3

- platform: onvif
  name: 'IN-9010FHD'
  host: '192.168.2.165'
  port: '8080'
  username: 'admin'
  password: 'instar'
Configuration invalid
Platform error camera.onvif - Requirements for onvif not found: ['onvif-zeep-async==0.2.0'].

Ok, I also did not set up FFMPEG now after adding the following lines (FFMPEG is installed)

ffmpeg:
  ffmpeg_bin: /usr/bin/ffmpeg

It already fails there:

Configuration invalid
Component error: ffmpeg - Requirements for ffmpeg not found: ['ha-ffmpeg==2.0'].

Could that have something to do with the virtual environment home assistant is installed in?

yes,I think this is the problem, but I don’t understand how to solve it

Any luck with this one?

I’m facing the same problem:
camera - Requirements for onvif not found: [‘onvif-zeep-async==0.2.0’]

sudo pip install onvif-zeep-async

Thank you for that, this led me to the compilation error

#include “libxml/xmlversion.h”

the header file is missing, gcc command

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/srv/homeassistant/include -I/usr/local/include/python3.6m -c src/lxml/etree.c -o build/temp.linux-armv7l-3.6/src/lxml/etree.o -w

xmlversion.h is in /usr/include/libxml2/ I guess it should be specified in the gcc -I params?

sudo apt-get install libxml2-dev libxmlsec1-dev

1 Like

Thanks, it works.