Closed m0urs closed 3 years ago
Opend issue with upstream https://github.com/twrecked/pyaarlo/issues/50
Just saw that this is not only with custom modes but also with built-in ones:
Oct 28 14:57:21 raspberrypi02 arlo-fhem[4764]: 2020-10-28 14:57:21 - arlo-fhem - Received command: set-mode deaktiviert
Oct 28 14:57:21 raspberrypi02 arlo-fhem[4764]: Traceback (most recent call last):
Oct 28 14:57:21 raspberrypi02 arlo-fhem[4764]: File "/opt/fhem/arlo-fhem/arlo-fhem.py", line 158, in
Hopefully fully fixed in https://github.com/m0urs/arlo-fhem/commit/6949cb9e54994fcb9e48158a432a50df6a4fbed3
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: Traceback (most recent call last): Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: File "/opt/fhem/arlo-fhem/arlo-fhem.py", line 174, in
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: base.mode = 'aktiviert_tag'
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: File "/opt/fhem/arlo-fhem/pyaarlo/base.py", line 239, in mode
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: _set_mode_v2_cb(1)
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: File "/opt/fhem/arlo-fhem/pyaarlo/base.py", line 221, in _set_mode_v2_cb
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: body = self._arlo.be.post(AUTOMATION_PATH, params=params, raw=True, tid=tid, wait_for=None)
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: File "/opt/fhem/arlo-fhem/pyaarlo/backend.py", line 646, in post
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: return self._wait_for_transaction(tid, timeout)
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: File "/opt/fhem/arlo-fhem/pyaarlo/backend.py", line 556, in _wait_for_transaction
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: response = self._requests.pop(tid)
Oct 28 08:43:20 raspberrypi02 arlo-fhem[18919]: KeyError: '(modes:59G1865E007ED|activeAutomations)'
Oct 28 08:43:20 raspberrypi02 systemd[1]: arlo-fhem.service: Main process exited, code=exited, status=1/FAILURE
Oct 28 08:43:20 raspberrypi02 systemd[1]: arlo-fhem.service: Unit entered failed state.
Oct 28 08:43:20 raspberrypi02 systemd[1]: arlo-fhem.service: Failed with result 'exit-code'.