Problème plugin ARLO Jeedom Raspberry PI 2

Bonjour,

Je viens d’installer le plugin ARLO pour Jeedom, l’installation est OK avec un daemon qui démarre sans problème.

Néanmoins au moment de synchroniser aucune caméra n’apparait dans Jeedom…

J’ai correctement suivi le tuto, je ne vois pas où est l’erreur.

Je vous remercie pour votre aide !

Bonjour,

Peut-on voir les logs (les 3) ainsi que la page santé de jeedom?
Attention de cacher nom d’utilisateur et mot de passe éventuels.

Bonjour,

merci de votre retour, j’ai nettoyé les 3 log et donc j’ai refais une synchro et voilà le log suite à cette synchro :

Exception in thread ConnectionThread:
Traceback (most recent call last):
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 178, in arloConnection
    arloSystem = Arlo(_user, _pswd, getMFA)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 45, in __init__
    self.Login(username, password, provide_mfa_callback)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 132, in Login
    response_body = self.request.post('https://ocapi-app.arlo.com/api/auth', params={'email': self.username, 'password': self.password, 'EnvSource': 'prod', 'language':'fr'}, headers=self.createHeaders())
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 65, in post
    return self._request(url, 'POST', params, headers, raw)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 54, in _request
    raise ArloError('Request ({0} {1}) failed: {2}'.format(method, url, body), body)
arlo.arloerror.ArloError: Request (POST https://ocapi-app.arlo.com/api/auth) failed: {'meta': {'code': 404, 'error': 9016, 'message': 'Account not found'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 282, in arloConnection
    tmp["error"] = e.error
AttributeError: 'ArloError' object has no attribute 'error'

[2020-10-29 12:03:56][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined
[2020-10-29 12:03:56][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined

Comme demandé, peux-tu fournir les 3 logs et les formater correctement à l’aide de la balise Texte préformaté parce que là c’est illisible; voir ici Comment nous aider à vous aider - ou Comment poser une bonne question?

Sinon on peut voir cette erreur:

vérifie ton nom d’utilisateur

Comme indiqué précédemment je n’ai qu’un log non vide : arlo_daemon :


Exception in thread ConnectionThread:
Traceback (most recent call last):
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 178, in arloConnection
    arloSystem = Arlo(_user, _pswd, getMFA)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 45, in __init__
    self.Login(username, password, provide_mfa_callback)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 132, in Login
    response_body = self.request.post('https://ocapi-app.arlo.com/api/auth', params={'email': self.username, 'password': self.password, 'EnvSource': 'prod', 'language':'fr'}, headers=self.createHeaders())
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 65, in post
    return self._request(url, 'POST', params, headers, raw)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 54, in _request
    raise ArloError('Request ({0} {1}) failed: {2}'.format(method, url, body), body)
arlo.arloerror.ArloError: Request (POST https://ocapi-app.arlo.com/api/auth) failed: {'meta': {'code': 404, 'error': 9016, 'message': 'Account not found'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 282, in arloConnection
    tmp["error"] = e.error
AttributeError: 'ArloError' object has no attribute 'error'

[2020-10-29 12:03:56][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined
[2020-10-29 12:03:56][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined

Impossible, tu dois avoir un log pour les dépendances.

Peux-tu montrer une capture de la page de config?

edit: je viens de comprendre p-e: « nettoyé les 3 logs » ca veut dire les supprimer?
relance les dépendances alors, je voudrais voir le log d’install

Log installation des dépendances :

*************************************
*   Launch install of dependencies  *
*************************************
Thu Oct 29 12:24:40 CET 2020
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists...
*****************************
Install modules using apt-get
*****************************
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.7.3-1).
python3-requests is already the newest version (2.21.0-1).
python3-setuptools is already the newest version (40.8.0-1).
python3-pip is already the newest version (18.1-5+rpt1).
The following package was automatically installed and is no longer required:
raspi-gpio
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
*************************************
Install the required python libraries
*************************************
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: monotonic>=1.5 in /usr/local/lib/python3.7/dist-packages (1.5)
Requirement already satisfied: requests>=2.12.4 in /usr/lib/python3/dist-packages (2.21.0)
Requirement already satisfied: sseclient==0.0.18 in /usr/local/lib/python3.7/dist-packages (0.0.18)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from sseclient==0.0.18) (1.12.0)
****************
Install ffmpeg 4
****************
ffmpeg version 4.1.6-1~deb10u1+rpt1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 8 (Raspbian 8.3.0-6+rpi1)
configuration: --prefix=/usr --extra-version='1~deb10u1+rpt1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --libdir=/usr/lib/arm-linux-gnueabihf --cpu=arm1176jzf-s --arch=arm
libavutil      56. 22.100 / 56. 22.100
libavcodec     58. 35.100 / 58. 35.100
libavformat    58. 20.100 / 58. 20.100
libavdevice    58.  5.100 / 58.  5.100
libavfilter     7. 40.101 /  7. 40.101
libavresample   4.  0.  0 /  4.  0.  0
libswscale      5.  3.100 /  5.  3.100
libswresample   3.  3.100 /  3.  3.100
libpostproc    55.  3.100 / 55.  3.100
Thu Oct 29 12:25:12 CET 2020
***************************
*      Install ended      *
***************************

Dans le doute le dernier fichier de log daemon, je pense que les deux dernières lignes pourraient être un indice :


Exception in thread ConnectionThread:
Traceback (most recent call last):
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 178, in arloConnection
    arloSystem = Arlo(_user, _pswd, getMFA)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 45, in __init__
    self.Login(username, password, provide_mfa_callback)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 132, in Login
    response_body = self.request.post('https://ocapi-app.arlo.com/api/auth', params={'email': self.username, 'password': self.password, 'EnvSource': 'prod', 'language':'fr'}, headers=self.createHeaders())
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 65, in post
    return self._request(url, 'POST', params, headers, raw)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 54, in _request
    raise ArloError('Request ({0} {1}) failed: {2}'.format(method, url, body), body)
arlo.arloerror.ArloError: Request (POST https://ocapi-app.arlo.com/api/auth) failed: {'meta': {'code': 404, 'error': 9016, 'message': 'Account not found'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 282, in arloConnection
    tmp["error"] = e.error
AttributeError: 'ArloError' object has no attribute 'error'

[2020-10-29 12:31:01][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined
[2020-10-29 12:31:01][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined
Exception in thread ConnectionThread:
Traceback (most recent call last):
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 178, in arloConnection
    arloSystem = Arlo(_user, _pswd, getMFA)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 45, in __init__
    self.Login(username, password, provide_mfa_callback)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 132, in Login
    response_body = self.request.post('https://ocapi-app.arlo.com/api/auth', params={'email': self.username, 'password': self.password, 'EnvSource': 'prod', 'language':'fr'}, headers=self.createHeaders())
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 65, in post
    return self._request(url, 'POST', params, headers, raw)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 54, in _request
    raise ArloError('Request ({0} {1}) failed: {2}'.format(method, url, body), body)
arlo.arloerror.ArloError: Request (POST https://ocapi-app.arlo.com/api/auth) failed: {'meta': {'code': 404, 'error': 9016, 'message': 'Account not found'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 282, in arloConnection
    tmp["error"] = e.error
AttributeError: 'ArloError' object has no attribute 'error'

[2020-10-29 12:32:49][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined
[2020-10-29 12:32:49][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined
Exception in thread ConnectionThread:
Traceback (most recent call last):
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 178, in arloConnection
    arloSystem = Arlo(_user, _pswd, getMFA)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 45, in __init__
    self.Login(username, password, provide_mfa_callback)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/arlo.py", line 132, in Login
    response_body = self.request.post('https://ocapi-app.arlo.com/api/auth', params={'email': self.username, 'password': self.password, 'EnvSource': 'prod', 'language':'fr'}, headers=self.createHeaders())
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 65, in post
    return self._request(url, 'POST', params, headers, raw)
  File "/var/www/html/plugins/arlo/resources/arlod/arlo/request.py", line 54, in _request
    raise ArloError('Request ({0} {1}) failed: {2}'.format(method, url, body), body)
arlo.arloerror.ArloError: Request (POST https://ocapi-app.arlo.com/api/auth) failed: {'meta': {'code': 404, 'error': 9016, 'message': 'Account not found'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/var/www/html/plugins/arlo/resources/arlod/arlod.py", line 282, in arloConnection
    tmp["error"] = e.error
AttributeError: 'ArloError' object has no attribute 'error'

[2020-10-29 12:37:17][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined
[2020-10-29 12:37:17][ERROR] : MainThread : Send command to demon error : name 'arloSystem' is not defined

En fait je viens de remarquer que le daemon boucle toutes les minutes pour se connecter j’imagine et visiblement il n’y arrive pas et je ne comprends pas pourquoi

C’est bon ça a fonctionné. J’ai désactivé la double authentification dans ARLO profil Jeedom.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.