fhempy: Tuya Cloud

Begonnen von dominik, 30 Juli 2021, 21:36:48

Vorheriges Thema - Nächstes Thema

dominik

Ok, bitte ein Thema nach dem anderen.

Verstehe ich richtig, dass fhempy_15733 nicht mehr in FHEM vorhanden ist? fhempy_local existiert aber? Wenn ja, dann mach bitte mal einen Neustart von FHEM.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

bewa58

ja fhempy_15733 nicht mehr vorhanden.

Neustart gemacht mit update vorher!

Alle Devices vorhanden ohne Fehlermeldung,
aber kein fhempy_15733
und kein fhempy log letzter Eintrag heute morgen vor crash

Bildschirmausdruck:
Zitat
ZX2832ZX2891 A1 on off
ZX2832ZX2891 A2 on off

FILELOG
fhempy_log
fhempy-2022-02-24.log text
fhempy-2022-02-25.log text
fhempy-2022-02-26.log text
fhempy-2022-02-27.log text
fhempy-2022-02-28.log text
fhempy-2022-03-01.log text
fhempy-2022-03-02.log text
fhempy-2022-03-03.log text
fhempy-2022-03-04.log text
fhempy-2022-03-05.log text

FHEMPY

local_pybinding
connected update finished...please wait

   hier war der fhempy_15733 immer vorhanden


RING
ringDoorbell connected


TUYA_CLOUD
Fluter_A1 on off
Fluter_A2 on off
Fluter_A3 on off

Wassercomputer on off
ZX-5060 on off
ZX2832ZX2891 A1 on off
ZX2832ZX2891 A2 on off
ZigBee Gateway Lidl not support this device

tuya_cloud connected

dominik

Ok, dann mach einfach:
define fhempyserver_15733 fhempyServer
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

bewa58

#558
define fhempyserver_15733 fhempyServer
gemacht

ging online dann offline usw.

Neustart gemacht

jetzt
fhempyserver_15733    online   

aber jetzt
local_pybinding
disconnected 0.1.260   update wird aber nicht ausgeführt, beim aufrufen

ich muss jetzt gleich Schluss machen, bin ab 02:00 Uhr wieder unterwegs.
bischen Schlaf muss sein


dominik

Bitte das fhempy Log posten
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

bewa58

#560
hier log von heute seit letztem eintrag vor crash

gelöscht

dominik

Leider ist es nicht komplett, poste bitte nur seit dem letzten Start - also wahrscheinlich so ab 22 Uhr.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

bewa58

#562
gelöscht

dominik

Sieht eigentlich gut aus, was funktioniert nun nicht?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

bewa58

#564
local binding disconnect    immer noch


Zitatdefine fhempyserver_15733 fhempyServer
gemacht

ging online dann offline usw.

Neustart gemacht

jetzt
fhempyserver_15733    online   

aber jetzt
local_pybinding
disconnected 0.1.260   update wird aber nicht ausgeführt, beim aufrufen

ich muss jetzt gleich Schluss machen, bin ab 02:00 Uhr wieder unterwegs.
bischen Schlaf muss sein

Zitat

BELEUCHT. AUSSEN STATISCH
ZX2832ZX2891 A1
fhempy server offline
ZX2832ZX2891 A2
fhempy server offline
FILELOG
fhempy_log
fhempy-2022-02-24.log
text
fhempy-2022-02-25.log
text
fhempy-2022-02-26.log
text
fhempy-2022-02-27.log
text
fhempy-2022-02-28.log
text
fhempy-2022-03-01.log
text
fhempy-2022-03-02.log
text
fhempy-2022-03-03.log
text
fhempy-2022-03-04.log
text
fhempy-2022-03-05.log
text
AT
atRestartFhempyServer
inactive
FHEMPY
fhempyserver_15733
running
local_pybinding
disconnected 0.1.260
RING
ringDoorbell
fhempy server offline
TUYA_CLOUD
Fluter_A1
fhempy server offline
Fluter_A2
fhempy server offline
Fluter_A3
fhempy server offline
Wassercomputer
fhempy server offline
ZX-5060
fhempy server offline
ZX2832ZX2891 A1
fhempy server offline

dominik

Kann es sein, dass du 2 BindingIo Devices hast?

Bitte häng hier das gesamte Log als File an, dann prüf noch ob du nicht 2 BindingIo Devices hast. Hast du eventuell 2 FHEM Instanzen?

Ich schau mir das morgen weiter an.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

bewa58

wie kann ich prüfen ob 2 bindings io devices vorhanden sind?

habe ich eben versucht das logfile anzuhängen, leider funktioniert das hier im forum
anscheinend nicht richtig,
auch die code tags wurden nicht ausgeführt obwohl in der vorschau ok.

ich muss auch schluss machen
ich sende dir das morgen früh, wenn es funktioniert

bewa58


bewa58

#568
nochmal neustart gemacht
jetzt läuft es (aber wie lange)

und jetzt wieder die fehlermeldungen

ZitatFHEMPY
fhempyserver_15733
running
local_pybinding
connected 0.1.260
RING
ringDoorbell
Failed to load module ring: Traceback (most recent call last): File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 268, in _onMessage module_object = await utils.run_blocking( File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 34, in run_blocking return await asyncio.get_event_loop().run_in_executor(pool, function) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 790, in exec_module File "", line 228, in _call_with_frames_removed File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/ring/ring.py", line 9, in from ring_doorbell import Auth, Ring File "/opt/fhem/.local/lib/python3.9/site-packages/ring_doorbell/__init__.py", line 15, in from .auth import Auth # noqa File "/opt/fhem/.local/lib/python3.9/site-packages/ring_doorbell/auth.py", line 5, in from requests_oauthlib import OAuth2Session File "/opt/fhem/.local/lib/python3.9/site-packages/requests_oauthlib/__init__.py", line 3, in from .oauth1_auth import OAuth1 File "/opt/fhem/.local/lib/python3.9/site-packages/requests_oauthlib/oauth1_auth.py", line 9, in from requests.compat import is_py3 File "", line 1007, in _find_and_load File "", line 989, in _find_and_load_unlocked KeyError: 'requests'
TUYA_CLOUD
Fluter_A1
Failed to load module tuya_cloud: Traceback (most recent call last): File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 268, in _onMessage module_object = await utils.run_blocking( File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 34, in run_blocking return await asyncio.get_event_loop().run_in_executor(pool, function) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 790, in exec_module File "", line 228, in _call_with_frames_removed File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya_cloud/tuya_cloud.py", line 7, in from fhempy.lib.tuya_cloud.tuya_cloud_device import tuya_cloud_device File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_device.py", line 5, in from tuya_iot.device import TuyaDevice File "/opt/fhem/.local/lib/python3.9/site-packages/tuya_iot/__init__.py", line 1, in from .asset import TuyaAssetManager File "/opt/fhem/.local/lib/python3.9/site-packages/tuya_iot/asset.py", line 6, in from .openapi import TuyaOpenAPI File "/opt/fhem/.local/lib/python3.9/site-packages/tuya_iot/openapi.py", line 10, in import requests File "/usr/lib/python3/dist-packages/requests/__init__.py", line 118, in from . import utils File "/usr/lib/python3/dist-packages/requests/utils.py", line 27, in from ._internal_utils import to_native_string File "/usr/lib/python3/dist-packages/requests/_internal_utils.py", line 11, in from .compat import is_py2, builtin_str, str ImportError: cannot import name 'builtin_str' from partially initialized module 'requests.compat' (most likely due to a circular import) (/usr/lib/python3/dist-packages/requests/compat.py)
Fluter_A2
Fluter_A3
Wassercomputer
ZX-5060
ZX2832ZX2891 A1
ZX2832ZX2891 A2
ZigBee Gateway Lidl
not support this device
tuya_cloud
connected


und der Rest vom Log:

gelöscht


bewa58

hat die code tags wieder abgeschnitten

hier das log per 23:27 Uhr

gute nacht