fhempy: miio (Xiaomi WiFi Devices)

Begonnen von dominik, 30 Oktober 2020, 21:26:31

Vorheriges Thema - Nächstes Thema

Stelaku

Hallo Dominik
Hier mal ein list vom BindingIO
Internals:
   BindingType Python
   DEF        Python
   DeviceName ws:127.0.0.1:15733
   FD         59
   FUUID      5fc15efa-f33f-134a-1b8c-a3eef5b8285f7763
   IP         127.0.0.1
   NAME       local_pybinding
   NR         439
   NTFY_ORDER 50-local_pybinding
   PARTIAL   
   PORT       15733
   STATE      opened
   TYPE       BindingsIo
   WEBSOCKET  1
   localBinding 1
   nextOpenDelay 10
   READINGS:
     2020-12-08 14:45:28   state           opened
     2020-12-08 07:05:03   version         0.1.5
   args:
     local_pybinding
     BindingsIo
     Python
   argsh:
Attributes:
   room       system

Version scheint aktuell zu sein aber ein update Command habe ich nicht in diesem Device.

Gruß

Stephan

curt

Zitat von: dominik am 08 Dezember 2020, 08:40:32
@curt, das Pythonbinding_0 kannst du löschen.

Done.

Zitat von: dominik am 08 Dezember 2020, 08:40:32
Poste bitte das Log aus dem Pythonbinding_15733.

Dafür müsste ich erstmal ein Log haben ... ok, bauen wir eins. Und verbose=5 noch an. Und restart:


2020-12-08_15:22:30 local_pybinding DISCONNECTED


BTW: am 06.12. funktionierte es ja noch, es muss also in der Code-Differenz des vorletzten Updates liegen.
RPI 4 - Jeelink HomeMatic Z-Wave

dominik

@curt, Log wird automatisch erstellt. /opt/fhem/log/PythonBinding-...

@Stelaku, sieht alles gut aus. Einen Neustart von FHEM hast du denke ich schon gemacht? Wenn nicht, bitte mal das testen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

curt

Zitat von: dominik am 08 Dezember 2020, 15:36:27
@curt, Log wird automatisch erstellt. /opt/fhem/log/PythonBinding-...

Das heutige Log ist 2,5 MB ... bzip2 in Anlage.
RPI 4 - Jeelink HomeMatic Z-Wave

Stelaku


Zitat@Stelaku, sieht alles gut aus. Einen Neustart von FHEM hast du denke ich schon gemacht? Wenn nicht, bitte mal das testen.
Hallo Dominik

FHEM Neustart und auch den Raspberry neustarten hat nichts gebracht. Die Meldung kommt wieder.
Ich habe dann mal auf meiner Test Instanz Fhem heruntergefahren das Fhem Verzeichnis kpl. gelöscht und ein backup aus meiner live Instanz eingespielt.
sudo rm -r /opt/fhem
sudo mkdir /opt/fhem
sudo tar -xvzf /media/Medion/Linux/"$Version"/FHEM/"$Datei" -C /opt/fhem/
sudo chown -R fhem:dialout /opt/fhem

Fhem neu gestartet und BindingIO bleibt auf diconnected. das Verzeichnis .local wurde auch nicht angelegt. Im log stand dann drinn das es ein Berechtigungsproblem gibt. Dieses wurde durch ein reboot des pi´s behoben.
Nachdem FHEM dann hochgefahren ist wurde .local angelegt und BindingIO ging auf open.
Über FHEM ein update gefahren. shutdown restart und dann feststellen können das der move Befehl nicht angenommen wird.
Das selbe hatte ich ja schon und habe dann die Datei viomivacuum.py durch die Datei aus post 12 ersetzt.
Move Befehle werden jetzt wieder angenommen und clean_mode ist wieder per drop down auswählbar. Nur die besagte Meldung kommt immer noch.
Ist jetzt nicht so schlimm. Das was ich brauche funktioniert ja schon super.
Ich bin mir auch nicht sicher ob ich das alles richtig mache mit den backup einspielen und vorher das fhem Verzeichnis löschen... .

Viele Grüße

Stephan


dominik

Zitat von: curt am 08 Dezember 2020, 17:43:56
Das heutige Log ist 2,5 MB ... bzip2 in Anlage.

Hi,
bei dir läuft fhempy schon. Hast du vielleicht fhempy per pip installiert? Das darf nur auf Remote Peers gemacht werden.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Zitat von: Stelaku am 08 Dezember 2020, 18:41:45
Hallo Dominik

FHEM Neustart und auch den Raspberry neustarten hat nichts gebracht. Die Meldung kommt wieder.
Ich habe dann mal auf meiner Test Instanz Fhem heruntergefahren das Fhem Verzeichnis kpl. gelöscht und ein backup aus meiner live Instanz eingespielt.
sudo rm -r /opt/fhem
sudo mkdir /opt/fhem
sudo tar -xvzf /media/Medion/Linux/"$Version"/FHEM/"$Datei" -C /opt/fhem/
sudo chown -R fhem:dialout /opt/fhem

Fhem neu gestartet und BindingIO bleibt auf diconnected. das Verzeichnis .local wurde auch nicht angelegt. Im log stand dann drinn das es ein Berechtigungsproblem gibt. Dieses wurde durch ein reboot des pi´s behoben.
Nachdem FHEM dann hochgefahren ist wurde .local angelegt und BindingIO ging auf open.
Über FHEM ein update gefahren. shutdown restart und dann feststellen können das der move Befehl nicht angenommen wird.
Das selbe hatte ich ja schon und habe dann die Datei viomivacuum.py durch die Datei aus post 12 ersetzt.
Move Befehle werden jetzt wieder angenommen und clean_mode ist wieder per drop down auswählbar. Nur die besagte Meldung kommt immer noch.
Ist jetzt nicht so schlimm. Das was ich brauche funktioniert ja schon super.
Ich bin mir auch nicht sicher ob ich das alles richtig mache mit den backup einspielen und vorher das fhem Verzeichnis löschen... .

Viele Grüße

Stephan

Keine Sorge, so schnell gebe ich nicht auf ;) Nachdem da definitiv irgendwo ein Fehler drin ist, möchte ich das gerne beheben.

Bitte noch um Info ob du fhempy per pip installiert hast, oder alles nur per FHEM update? Weil eine pip Installation darf nur auf Remote Peers gemacht werden.
Schick mir bitte das PythonBinding Log von Start weg. Mach da bitte mal nur "status" (welches funktioniert), danach move und danach wieder status. Du kannst mir das Log auch per PN schicken falls du mehr PythonModule Devices nutzt und daher Sorge hast, dass da sensible Infos drin sind.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

curt

Zitat von: dominik am 08 Dezember 2020, 19:57:49
Hast du vielleicht fhempy per pip installiert? Das darf nur auf Remote Peers gemacht werden.

Ich weiß bedauerlicherweise nicht was das bedeutet. Ich habe entsprechend https://github.com/dominikkarall/fhem_pythonbinding installiert. Danach "define local_pybinding BindingsIo Python", "define xiaomi_tokens PythonModule xiaomi_tokens", "define Putzi_1 PythonModule miio <TYPE> <IP> <TOKEN>".

Das hatte ja auch alles (den einen Tag bis zum Update) ganz fein funktioniert: In Putzi standen viele schöne Readings ...
RPI 4 - Jeelink HomeMatic Z-Wave

dominik

Ok, dann mach bitte mal ein
sudo -u fhem pip3 uninstall fhempy
sudo pip3 uninstall fhempy


Dann poste bitte nochmals welche PythonBinding Devices du hast.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Stelaku

#54
ZitatBitte noch um Info ob du fhempy per pip installiert hast, oder alles nur per FHEM update? Weil eine pip Installation darf nur auf Remote Peers gemacht werden.
Schick mir bitte das PythonBinding Log von Start weg. Mach da bitte mal nur "status" (welches funktioniert), danach move und danach wieder status. Du kannst mir das Log auch per PN schicken falls du mehr PythonModule Devices nutzt und daher Sorge hast, dass da sensible Infos drin sind.


Hallo Dominik

Ich habe fempy nach der Anleitung fempy in 5 Schritten installieren in mein System eingebunden. Das einzige was bei mir am Anfang nicht klappen wollte das BinidingIO blieb auf disconnected.
Da hattest Du ja im log sehen können das ein Modul noch fehlte was normal automatisch installiert werden sollte. nach diesem Befehl war das dann auch in Ordnung
sudo pip3 install importlib_metadata
fempy selber habe ich ausschließlich über den Fhem update Befehl installiert.

Hier mein Log vom Heutigen Tag. Zum Ende habe ich versucht alle Schritte die ich ausgeführt habe im Log zu kommentieren.

Stelaku

Das klappt irgentwie nicht mit dem log ich sende es per pm

dominik

#56

2020-12-08 16:47:16,681 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:47:24,905 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:47:44,321 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:47:51,410 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:48:11,311 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:48:18,351 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:48:38,312 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:48:45,422 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:49:05,313 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:49:12,412 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:49:32,318 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:49:39,441 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:49:59,286 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:50:06,428 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:50:26,284 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:50:33,430 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:50:53,297 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:51:00,397 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:51:20,306 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:51:27,377 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:51:47,323 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:51:54,391 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 16:52:31,684 - INFO     - __main__: Attempting install of websockets
2020-12-08 16:53:08,357 - INFO     - __main__: Successfully installed websockets
Traceback (most recent call last):
  File "FHEM/bindings/python/pythonbinding.py", line 79, in <module>
    import lib.fhem_pythonbinding as fpb
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 3, in <module>
    import websockets
ModuleNotFoundError: No module named 'websockets'
2020-12-08 16:53:28,953 - INFO     - lib.fhem_pythonbinding: Starting pythonbinding...
2020-12-08 16:53:31,017 - INFO     - lib.fhem_pythonbinding: FHEM connection started: 127.0.0.1
2020-12-08 16:53:31,093 - INFO     - lib.pkg_installer: Attempting install of python-miio
2020-12-08 16:53:59,288 - INFO     - lib.pkg_installer: Attempting install of micloud
2020-12-08 16:56:10,303 - INFO     - lib.fhem_pythonbinding: Starting pythonbinding...
2020-12-08 16:56:15,937 - INFO     - lib.fhem_pythonbinding: FHEM connection started: 127.0.0.1
2020-12-08 16:56:32,485 - ERROR    - lib.fhem: Timeout - NO RESPONSE for command: readingsBulkUpdateIfChanged($defs{'Martha_1'},'state','ViomiVacuumState.Docked');;
#########################################################################

2020-12-08 17:13:41,430 - ERROR    - lib.utils: Error in asyncio thread
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 29, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.7/site-packages/miio/viomivacuum.py", line 372, in move
    self.send("set_direction", [direction.value])
AttributeError: 'str' object has no attribute 'value'
2020-12-08 17:13:41,434 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'str' object has no attribute 'value'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 137, in send_command
    reply = await utils.run_blocking(functools.partial(fct, *args))
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 29, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.7/site-packages/miio/viomivacuum.py", line 372, in move
    self.send("set_direction", [direction.value])
AttributeError: 'str' object has no attribute 'value'

2020-12-08 17:54:19,749 - INFO     - __main__: Attempting install of websockets
2020-12-08 17:54:27,731 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 17:54:47,346 - INFO     - __main__: Attempting install of websockets
2020-12-08 17:54:54,439 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.
2020-12-08 17:56:17,640 - INFO     - lib.fhem_pythonbinding: Starting pythonbinding...
2020-12-08 17:56:22,765 - INFO     - lib.fhem_pythonbinding: FHEM connection started: 127.0.0.1
2020-12-08 17:56:45,031 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:46,344 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:46,857 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:47,069 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:47,269 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:47,483 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:47,572 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:47,775 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:47,984 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:48,207 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:48,416 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:48,623 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:48,783 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:48,935 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:49,123 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:49,345 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:49,516 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:49,721 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:49,935 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:50,135 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:50,329 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:50,549 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:51,004 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:51,420 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:51,824 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:52,207 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:52,593 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:52,997 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:53,408 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:53,871 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:54,387 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:54,600 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:54,804 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:54,998 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:55,176 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:55,359 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:55,965 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:56,189 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:56,397 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:56,601 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:56,805 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:57,010 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:57,203 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:57,412 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:57,611 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:57,784 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:57,986 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:58,148 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:58,325 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:58,518 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:58,722 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:58,915 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:59,682 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:56:59,901 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:57:00,085 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:57:00,319 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:57:00,492 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:57:00,701 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:57:03,248 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:57:03,787 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:57:03,965 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
2020-12-08 17:57:04,164 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'
##############################################################

2020-12-08 18:01:59,055 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 85047059)
2020-12-08 18:02:11,911 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 73678399)
2020-12-08 18:02:52,982 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 94608096)
2020-12-08 18:02:55,675 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 21434510)
2020-12-08 18:03:04,658 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 27677692)
2020-12-08 18:03:09,557 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 86062285)
2020-12-08 18:14:20,262 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 25430531)
##
2020-12-08 19:02:08,114 - INFO     - lib.fhem_pythonbinding: Starting pythonbinding...
## Fhem für den test hochgefahren
2020-12-08 20:50:32,253 - INFO     - lib.fhem_pythonbinding: FHEM connection started: 127.0.0.1
## mehrer set status ausgelöst ohne Fehlermeldungen
## das erste set status nach einem move befehl
2020-12-08 20:55:44,098 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 84850625)
## set status mit fehlermeldung
2020-12-08 20:56:44,986 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 93904326)

## Sauger über app zur Ladestation geschickt und dann set status ausgelöst
2020-12-08 21:00:34,262 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set
    all_args[cmd_def["args"]] = arg
KeyError: 'args'
(id: 72265899)
## kurz darauf nochmal set status ausgelöst
2020-12-08 21:00:37,341 - ERROR    - lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/fhem_pythonbinding.py", line 320, in _onMessage
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/FHEM/bindings/python/lib/generic.py", line 77, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/FHEM/bindings/python/lib/utils.py", line 168, in handle_set


Ich habe das Log mal hier reinkopiert, damit wir hier weiter diskutieren können.

//Edit: Scheinbar das Post Zeichenlimit erreicht...Fortsetzung im nächsten Post.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

2020-12-08 16:47:24,905 - ERROR    - __main__: Unable to install package websockets: The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Could not install packages due to an EnvironmentError: [Errno 13] Keine Berechtigung: '/root/.cache/pip/wheels/6d/39/5c/8cce6617ff784b42b764a52b6331248cbcbf7006a2e01fe835'
Check the permissions.

Das ist sehr eigenartig, kannst du mir sagen was du da gemacht hast? Weil auf /root sollte niemals zugegriffen werden.

2020-12-08 17:56:46,344 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<miio.send_command() done, defined at /opt/fhem/FHEM/bindings/python/lib/miio/miio.py:117> exception=AttributeError("'list' object has no attribute 'lower'")>
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/lib/miio/miio.py", line 163, in send_command
    if reply is not None and reply.lower() != "['ok']":
AttributeError: 'list' object has no attribute 'lower'

Den werde ich beheben.

Öffne bitte mal die Datei:
/opt/fhem/FHEM/bindings/python/lib/miio/miio.py
Dann in Zeile 168 folgendes einfügen:
logging.getLogger(__name__).error("Handle argument: " + str(arg))
Sieht dann so aus:
            for arg in args[2:]:
                # arg ... mode
                # all_args[mode] = mode argument
                logging.getLogger(__name__).error("Handle argument: " + str(arg))
                all_args[cmd_def["args"][i]] = arg
                i += 1

Dann bitte fhem Neustart machen und nochmals testen. Bitte dann nochmals das PythonBinding Log posten, aber nur den Fehlerteil inkl. der Ausgabe von "Handle argument".
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

curt

Zitat von: dominik am 08 Dezember 2020, 21:39:27
Ok, dann mach bitte mal ein
sudo -u fhem pip3 uninstall fhempy
sudo pip3 uninstall fhempy

Dann poste bitte nochmals welche PythonBinding Devices du hast.


$ sudo -u fhem pip3 uninstall fhempy
Uninstalling fhempy-0.1.5:
  Would remove:
    /opt/fhem/.local/bin/fhempy
    /opt/fhem/.local/lib/python3.7/site-packages/fhempy-0.1.5.dist-info/*
    /opt/fhem/.local/lib/python3.7/site-packages/lib/*
Proceed (y/n)? y
  Successfully uninstalled fhempy-0.1.5
$ sudo pip3 uninstall fhempy
Skipping fhempy as it is not installed.


Hier vorhanden sind: BindingsIo local_pybinding (disconnected),
Putzi_1 (PythonBinding offline), xiaomi_tokens (PythonBinding offline).

Screenshot Putzi_1 anbei.

Was muss ich nun tun?
RPI 4 - Jeelink HomeMatic Z-Wave

dominik

ok, dann mach jetzt bitte einen FHEM Restart.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik