fhempy: tuya (lokal)

Begonnen von dominik, 26 April 2022, 19:12:25

Vorheriges Thema - Nächstes Thema

dominik

Zitat von: satprofi am 08 April 2023, 11:18:47
Zitat von: dominik am 08 April 2023, 08:40:08Danke für das Log. Kann es sein, dass da noch was fehlt aus dem Log? Die letzte Zeile zeigt nämlich keinen Fehler, der sollte im Traceback aber immer in der letzten Zeile stehen.

Hallo.
Das Log von gestern
2023-04-07 16:52:05,582 - ERROR    - tuya_cloud_bf68a96ec365177aacaxrv: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_device.py", line 339, in update_readings_dict
    st_name, json.loads(status_dic[st_name])
  File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023-04-07 17:01:51,821 - INFO     - fhempy.lib.fhem_pythonbinding: Start update...
2023-04-07 17:01:51,824 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2023-04-07 17:02:41,559 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2023-04-07 17:02:41,581 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
2023-04-07 17:02:41,626 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2023-04-07 17:02:41,628 - INFO     - websockets.server: server closing
2023-04-07 17:02:51,644 - INFO     - websockets.server: connection closed
2023-04-07 17:02:51,645 - INFO     - websockets.server: server closed
2023-04-07 17:02:51,652 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
2023-04-07 17:02:56,710 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.643...
2023-04-07 17:02:56,731 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-07 17:02:56,884 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-07 17:03:02,187 - INFO     - websockets.server: connection open
2023-04-07 17:03:02,189 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-04-07 17:36:55,664 - ERROR    - fhempy.lib.pkg_installer: manifest.json not found!
2023-04-07 17:38:34,846 - INFO     - fhempy.lib.fhem_pythonbinding: Start update...
2023-04-07 17:38:34,849 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2023-04-07 17:39:21,992 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2023-04-07 17:39:22,217 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
2023-04-07 17:39:22,227 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2023-04-07 17:39:22,229 - INFO     - websockets.server: server closing
2023-04-07 17:39:32,246 - INFO     - websockets.server: connection closed
2023-04-07 17:39:32,247 - INFO     - websockets.server: server closed
2023-04-07 17:39:32,254 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
2023-04-07 17:39:36,904 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.643...
2023-04-07 17:39:36,915 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-07 17:39:37,027 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-07 17:39:43,302 - INFO     - websockets.server: connection open
2023-04-07 17:39:43,304 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-04-07 17:41:05,955 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:41:10,971 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:41:15,767 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:42:54,184 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 180s: AttrVal('tuya_local_bf9bd42998622a09a0sgzg', 'tuya_spec_functions', '')
2023-04-07 17:43:26,458 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:43:31,474 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:43:36,043 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:46:27,077 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:46:40,379 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 385, in handle_function
    ret = await self.execute_function(hash, fhem_reply_done, nmInstance)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 484, in execute_function
    ret = await asyncio.wait_for(
  File "/usr/lib/python3.9/asyncio/tasks.py", line 481, in wait_for
    return fut.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 208, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 335, in handle_set
    return await fct_call(hash, final_params)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 262, in set_create_device
    nameid = params["name"]
KeyError: 'name'
 with hash: {'defargs': ['tuya_system', 'fhempy', 'tuya', 'setup', 'xxxxxxxx', 'xxxxxxx', 'bfb727311ed41a0cc8ycsq'], 'function': 'Set', 'msgtype': 'function', 'defargsh': {}, 'FHEMPYTYPE': 'tuya', 'argsh': {}, 'NAME': 'tuya_system', 'id': '48020038', 'args': ['tuya_system', 'create_device'], 'PYTHONTYPE': 'tuya'}
2023-04-07 17:49:23,199 - ERROR    - fhempy.lib.pkg_installer: manifest.json not found!
2023-04-07 17:52:27,669 - INFO     - fhempy.lib.fhem_pythonbinding: Start update...
2023-04-07 17:52:27,672 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2023-04-07 17:53:14,155 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2023-04-07 17:53:14,177 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
2023-04-07 17:53:14,187 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2023-04-07 17:53:14,189 - INFO     - websockets.server: server closing
2023-04-07 17:53:24,198 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 968, in transfer_data
    message = await self.read_message()
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 1038, in read_message
    frame = await self.read_data_frame(max_size=self.max_size)
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 1113, in read_data_frame
    frame = await self.read_frame(max_size)
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 1170, in read_frame
    frame = await Frame.read(
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/framing.py", line 69, in read
    data = await reader(2)
  File "/usr/lib/python3.9/asyncio/streams.py", line 723, in readexactly
    await self._wait_for_data('readexactly')
  File "/usr/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
    await self._waiter
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 249, in handle_message
    await self.handle_function(hash, msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 323, in handle_function
    await self.sendBackReturn(hash, "")
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 127, in sendBackReturn
    await self.wsconnection.send(msg.encode("utf-8"))
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 635, in send
    await self.ensure_open()
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 953, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: sent 1001 (going away); no close frame received
2023-04-07 17:53:24,215 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'args': ['tuya_local_bf68a96ec365177aacaxrv', '?'], 'id': '42506295', 'PYTHONTYPE': 'tuya', 'NAME': 'tuya_local_bf68a96ec365177aacaxrv', 'FHEMPYTYPE': 'tuya', 'argsh': {}, 'defargsh': {}, 'defargs': ['tuya_local_bf68a96ec365177aacaxrv', 'fhempy', 'tuya', 'ffyhi3mbqgceowhk', 'bf68a96ec365177aacaxrv', '192.168.0.144', '8a3537312679a385', '3.3', 'xxxxxxx', 'xxxxxxx'], 'msgtype': 'function', 'function': 'Set'}
2023-04-07 17:53:24,216 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: {"args":["tuya_local_bf68a96ec365177aacaxrv","?"],"id":"42506295","PYTHONTYPE":"tuya","NAME":"tuya_local_bf68a96ec365177aacaxrv","FHEMPYTYPE":"tuya","argsh":{},"defargsh":{},"defargs":["tuya_local_bf68a96ec365177aacaxrv","fhempy","tuya","ffyhi3mbqgceowhk","bf68a96ec365177aacaxrv","192.168.0.144","8a3537312679a385","3.3","xxxxxx","xxxxxxx"],"msgtype":"function","function":"Set"}
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 968, in transfer_data
    message = await self.read_message()
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 1038, in read_message
    frame = await self.read_data_frame(max_size=self.max_size)
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 1113, in read_data_frame
    frame = await self.read_frame(max_size)
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 1170, in read_frame
    frame = await Frame.read(
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/framing.py", line 69, in read
    data = await reader(2)
  File "/usr/lib/python3.9/asyncio/streams.py", line 723, in readexactly
    await self._wait_for_data('readexactly')
  File "/usr/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
    await self._waiter
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 249, in handle_message
    await self.handle_function(hash, msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 323, in handle_function
    await self.sendBackReturn(hash, "")
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 127, in sendBackReturn
    await self.wsconnection.send(msg.encode("utf-8"))
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 635, in send
    await self.ensure_open()
  File "/opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 953, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: sent 1001 (going away); no close frame received

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 190, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 224, in _onMessage
    await self.sendBackError(hash, "fhempy failed to handle message")
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 139, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: '42506295'
2023-04-07 17:53:24,222 - INFO     - websockets.server: connection closed
2023-04-07 17:53:24,223 - INFO     - websockets.server: server closed
2023-04-07 17:53:24,230 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
2023-04-07 17:53:28,805 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.643...
2023-04-07 17:53:28,816 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-07 17:53:28,930 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-07 17:53:34,780 - INFO     - websockets.server: connection open
2023-04-07 17:53:34,782 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-04-07 17:55:34,352 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:55:39,368 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:55:44,166 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:55:44,382 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:55:49,397 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:56:19,059 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:56:19,552 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:56:24,230 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:56:49,679 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:56:54,274 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 17:56:54,693 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:04:00,116 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 385, in handle_function
    ret = await self.execute_function(hash, fhem_reply_done, nmInstance)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 484, in execute_function
    ret = await asyncio.wait_for(
  File "/usr/lib/python3.9/asyncio/tasks.py", line 481, in wait_for
    return fut.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 208, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 334, in handle_set
    fct_call = getattr(obj, fct_name)
AttributeError: 'tuya' object has no attribute 'set_json'
 with hash: {'defargs': ['tuya_local_bf68a96ec365177aacaxrv', 'fhempy', 'tuya', 'ffyhi3mbqgceowhk', 'bf68a96ec365177aacaxrv', '192.168.0.144', '8a3537312679a385', '3.3', 'xxxxxxx', 'xxxxxxxx'], 'function': 'Set', 'msgtype': 'function', 'argsh': {}, 'FHEMPYTYPE': 'tuya', 'defargsh': {}, 'NAME': 'tuya_local_bf68a96ec365177aacaxrv', 'id': '5810187', 'args': ['tuya_local_bf68a96ec365177aacaxrv', 'control_data', '1'], 'PYTHONTYPE': 'tuya'}
2023-04-07 18:04:28,356 - ERROR    - asyncio: Task was destroyed but it is pending!
task: <Task pending name='Task-2155' coro=<main() running at /opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py:166> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x748017a8>()]>>
2023-04-07 18:04:41,058 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:04:44,992 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:04:46,071 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:04:51,086 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:04:55,006 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:04:56,101 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:01,118 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:05,019 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:06,132 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:11,150 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:15,034 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:16,165 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:19,243 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:21,180 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:25,049 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:26,194 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:31,212 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:35,063 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:36,228 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:41,242 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:45,076 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:46,257 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:51,274 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:55,091 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:05:56,288 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:01,306 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:05,105 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:06,321 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:11,335 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:15,118 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:16,351 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:19,257 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:21,366 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:25,132 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:26,381 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:31,397 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:35,146 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:36,412 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:41,425 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:45,160 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:46,441 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:51,458 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:55,174 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:06:56,473 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:01,490 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:05,187 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:06,504 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:11,520 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:15,201 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:16,536 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:19,271 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:21,552 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:25,218 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:26,566 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:31,584 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:35,232 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:36,599 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:41,614 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:45,247 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:46,629 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:51,645 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:55,263 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:07:56,660 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:01,677 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:05,278 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:06,692 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:11,709 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:15,292 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:16,724 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:19,288 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:21,740 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:25,307 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:26,755 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:31,790 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:35,322 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:36,803 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:41,817 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:45,337 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:46,830 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:51,847 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:55,351 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:08:56,860 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:01,877 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:05,365 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:06,890 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:11,908 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:15,380 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:16,922 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:19,303 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:21,939 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:25,393 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:26,952 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:31,969 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:35,407 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:36,983 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:41,997 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:45,421 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:47,010 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:52,027 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:55,435 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:57,041 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:09:58,166 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:00,414 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:02,063 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:04,485 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:05,449 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:07,077 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:12,094 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:15,463 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:17,109 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:19,319 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:22,126 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:25,479 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:27,139 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:32,157 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:35,493 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:37,171 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:42,205 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:45,507 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:47,218 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:52,235 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:55,521 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:10:57,248 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:02,265 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:05,535 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:07,278 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:12,295 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:15,549 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:17,308 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:19,332 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:22,324 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:25,563 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:27,338 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:32,356 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:35,578 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:37,369 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:42,385 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:45,593 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:47,398 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:52,415 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:55,607 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:11:57,430 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:02,445 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:05,622 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:07,458 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:12,472 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:15,636 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:17,485 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:19,346 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:22,502 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:25,651 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:27,516 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:32,533 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:35,665 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:37,546 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:42,560 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:45,679 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:47,573 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:52,590 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:55,697 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:12:57,604 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:02,620 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:05,712 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:07,634 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:12,651 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:15,726 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:17,665 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:19,361 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:22,682 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:25,740 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:27,696 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:32,712 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:35,754 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:37,726 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:42,743 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:45,769 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:47,757 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:52,775 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:55,782 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:13:57,788 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:02,805 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:05,796 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:07,819 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:12,836 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:15,810 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:17,849 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:19,375 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:22,866 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:25,825 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:27,880 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:32,898 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:35,840 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:37,923 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:42,937 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:45,855 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:47,951 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:52,968 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:55,869 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:14:57,982 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:02,999 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:05,883 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:08,012 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:13,030 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:15,898 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:18,043 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:19,391 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:23,063 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:25,912 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:28,077 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:33,094 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:35,926 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:38,108 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:43,122 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:45,940 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:48,139 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:53,157 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:55,958 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:15:58,171 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:03,188 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:05,972 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:08,202 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:13,218 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:15,986 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:18,232 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:19,408 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:23,250 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:26,000 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:28,264 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:33,281 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:36,015 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:38,295 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:43,310 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:46,029 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:48,323 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:53,341 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:56,044 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:16:58,355 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:03,371 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:06,058 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:08,385 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:13,399 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:16,073 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:18,414 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:19,423 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:23,432 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:26,088 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:28,446 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:33,463 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:36,103 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:38,477 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:43,492 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:46,117 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:48,506 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:53,524 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:56,132 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:17:58,539 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:03,555 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:06,146 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:08,569 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:13,587 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:16,160 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:18,601 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:19,439 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:23,618 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:26,174 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:28,633 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:33,650 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:36,190 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:38,664 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:43,682 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:46,204 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:48,696 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:53,714 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:56,219 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:18:58,728 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:03,746 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:06,234 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:08,759 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:13,775 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:16,248 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:18,789 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:19,453 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:23,810 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:26,265 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:28,824 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:33,842 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:36,279 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:38,856 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:43,872 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:46,294 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:48,886 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:53,901 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:56,309 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:19:58,916 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:03,934 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:06,324 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:08,950 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:13,965 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:16,339 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:18,979 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:19,468 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:23,992 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:26,353 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:29,026 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:34,043 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:36,367 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:39,058 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:44,074 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:46,381 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:49,088 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:54,105 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:56,397 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:20:59,119 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:04,136 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:06,412 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:09,151 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:14,168 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:16,426 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:19,189 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:19,483 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:24,206 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:26,441 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:29,222 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:34,236 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:36,457 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:39,251 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:44,269 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:46,472 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:49,283 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:54,301 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:56,487 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:21:59,316 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:04,333 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:06,502 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:09,347 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:14,364 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:16,516 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:19,379 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:19,497 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:24,398 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:26,530 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:29,415 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:34,433 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:36,544 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:39,447 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:44,463 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:46,558 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:49,479 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:54,494 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:56,573 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:22:59,509 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:04,526 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:06,588 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:09,541 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:14,558 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:16,603 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:19,515 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:19,571 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:24,590 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:26,620 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:29,605 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:34,622 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:36,634 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:39,637 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:44,655 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:46,648 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:49,670 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:54,687 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:56,664 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:23:59,703 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:04,718 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:06,679 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:09,733 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:14,748 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:16,692 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:19,530 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:19,761 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:24,779 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:26,708 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:29,793 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:34,812 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:36,722 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:39,826 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:44,843 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:46,736 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:24:49,858 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:25:42,238 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.643...
2023-04-07 18:25:42,249 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-07 18:25:42,374 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-07 18:25:42,806 - INFO     - websockets.server: connection open
2023-04-07 18:25:42,808 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-04-07 18:27:14,779 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:27:14,900 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:27:19,915 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:27:49,681 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:27:50,104 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:27:54,838 - WARNING  - asyncio: socket.send() raised exception.
2023-04-07 18:27:55,117 - WARNING  - asyncio: socket.send() raised exception.

und heute nach neustart


2023-04-08 07:35:00,722 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.643...
2023-04-08 07:35:00,734 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-08 07:35:00,900 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-08 07:35:09,758 - INFO     - websockets.server: connection open
2023-04-08 07:35:09,759 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-04-08 07:35:23,804 - ERROR    - tuya_local_bf68a96ec365177aacaxrv: Failed to connect to device
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 531, in setup_connection
    self._connected_device = await asyncio.wait_for(connect_fct, timeout=15)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 481, in wait_for
    return fut.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py", line 206, in connect
    await device.start_socket()
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/core.py", line 917, in start_socket
    raise ex
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/core.py", line 894, in start_socket
    self.reader, self.writer = await asyncio.open_connection(
  File "/usr/lib/python3.9/asyncio/streams.py", line 52, in open_connection
    transport, _ = await loop.create_connection(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1056, in create_connection
    raise exceptions[0]
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
    sock = await self._connect_sock(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
    return await fut
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('192.168.0.144', 6668)
2023-04-08 07:35:34,193 - ERROR    - tuya_cloud_bf68a96ec365177aacaxrv: Extra data: line 1 column 2 (char 1)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_device.py", line 314, in update_readings_arr
    status["code"], json.loads(status["value"])
  File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.9/json/decoder.py", line 340, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)
2023-04-08 07:40:01,784 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.643...
2023-04-08 07:40:01,797 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-08 07:40:01,992 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-08 07:40:11,433 - INFO     - websockets.server: connection open
2023-04-08 07:40:11,435 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-04-08 07:40:26,880 - ERROR    - tuya_cloud_bf68a96ec365177aacaxrv: Extra data: line 1 column 2 (char 1)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_device.py", line 314, in update_readings_arr
    status["code"], json.loads(status["value"])
  File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.9/json/decoder.py", line 340, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)
2023-04-08 07:41:18,267 - WARNING  - asyncio: socket.send() raised exception.
2023-04-08 07:41:18,518 - WARNING  - asyncio: socket.send() raised exception.
2023-04-08 07:41:23,343 - WARNING  - asyncio: socket.send() raised exception.
2023-04-08 07:41:23,532 - WARNING  - asyncio: socket.send() raised exception.
2023-04-08 08:13:43,967 - WARNING  - asyncio: socket.send() raised exception.
2023-04-08 08:13:45,935 - WARNING  - asyncio: socket.send() raised exception.
2023-04-08 08:26:49,751 - WARNING  - tuya_local_bf68a96ec365177aacaxrv: dp_28 in spec but not found locally. This should be reported to TuYa
2023-04-08 08:28:25,068 - ERROR    - fhempy.lib.fhem: FHEM took 6457ms for readingsBeginUpdate($defs{'tuya_local_bfe4369aa3daab28e1r83q'});;
2023-04-08 08:28:25,077 - ERROR    - fhempy.lib.fhem: FHEM took 6324ms for readingsBeginUpdate($defs{'tuya_local_bf50219899eabfb485synp'});;
2023-04-08 08:28:25,084 - ERROR    - fhempy.lib.fhem: FHEM took 6186ms for readingsBeginUpdate($defs{'tuya_local_bfb727311ed41a0cc8ycsq'});;
2023-04-08 08:28:25,093 - ERROR    - fhempy.lib.fhem: FHEM took 5827ms for readingsBeginUpdate($defs{'tuya_local_bffee61d5656c19f0e6zas'});;
2023-04-08 08:34:25,454 - ERROR    - fhempy.lib.fhem: FHEM took 6777ms for readingsBeginUpdate($defs{'tuya_local_bfe4369aa3daab28e1r83q'});;
2023-04-08 08:34:25,459 - ERROR    - fhempy.lib.fhem: FHEM took 6627ms for readingsBeginUpdate($defs{'tuya_local_bf50219899eabfb485synp'});;
2023-04-08 08:34:25,465 - ERROR    - fhempy.lib.fhem: FHEM took 6481ms for readingsBeginUpdate($defs{'tuya_local_bfb727311ed41a0cc8ycsq'});;
2023-04-08 09:39:57,818 - ERROR    - tuya_cloud_bf68a96ec365177aacaxrv: Extra data: line 1 column 2 (char 1)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_device.py", line 339, in update_readings_dict
    st_name, json.loads(status_dic[st_name])
  File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.9/json/decoder.py", line 340, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)
/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/core.py:968: RuntimeWarning: coroutine 'XenonDevice._negotiate_session_key' was never awaited
  if self._negotiate_session_key():
RuntimeWarning: Enable tracemalloc to get the object allocation traceback




Mach bitte
sudo -u fhem bash
pip3 uninstall aiotinytuya

Danach einen fhempy restart. Es wird aiotinytuya dann neu installiert und da sollte der Fix drin sein.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Gisbert

Zitat von: dominik am 08 April 2023, 08:35:54Hallo dominik,

ich hab Fhem neu gestartet, zuvor ein Fhem-Update durchgeführt, damit es sich lohnt.

Nachdem Fhem neu gestartet wurde, lief auch fhem-py wieder.

Was kann die Ursache für das widerspenstige Verhalten von fhem-py verursacht haben?

Viele Grüße Gisbert

Das ist jetzt schwer zu sagen woran es lag. fhempy hat bei dir alle ca. 20s neu gestartet. Eventuell lässt sich im syslog noch was dazu finden? Das Log bringt leider keine Fehlermeldung. Kann es sein, dass es von außen gekillt wurde? Irgendein Monitoring Prozess?

Hallo dominik,

ich halte es für wenig wahrscheinlich, dass der Prozess von außen gestoppt wurde. Ein Monitoring läuft nicht für fhempy (alle Devices, die damit zu tun haben).

Viele Grüße Gisbert
Aktuelles FHEM | PROXMOX | Fujitsu Futro S740 | Debian 12 | UniFi | Homematic, VCCU, HMUART | ESP8266 | ATtiny85 | Wasser-, Stromzähler | Wlan-Kamera | SIGNALduino, Flamingo Rauchmelder FA21/22RF | RHASSPY

dominik

Zitat von: Gisbert am 08 April 2023, 12:43:20
Zitat von: dominik am 08 April 2023, 08:35:54Hallo dominik,

ich hab Fhem neu gestartet, zuvor ein Fhem-Update durchgeführt, damit es sich lohnt.

Nachdem Fhem neu gestartet wurde, lief auch fhem-py wieder.

Was kann die Ursache für das widerspenstige Verhalten von fhem-py verursacht haben?

Viele Grüße Gisbert

Das ist jetzt schwer zu sagen woran es lag. fhempy hat bei dir alle ca. 20s neu gestartet. Eventuell lässt sich im syslog noch was dazu finden? Das Log bringt leider keine Fehlermeldung. Kann es sein, dass es von außen gekillt wurde? Irgendein Monitoring Prozess?

Hallo dominik,

ich halte es für wenig wahrscheinlich, dass der Prozess von außen gestoppt wurde. Ein Monitoring läuft nicht für fhempy (alle Devices, die damit zu tun haben).

Viele Grüße Gisbert
Ok, sollte es nochmals auftreten, dann bitte fhempy, fhem und syslog Log posten. Dann sollte sich hoffentlich was finden lassen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Gisbert

Hallo dominik,

der gleiche Fehler ist wieder aufgetreten
log-file:
2023.04.10 00:17:16.293 3:  fhempyserver_15733: starting
2023.04.10 00:17:16.357 3:  fhempyserver_15733: using logfile: ./log/fhempy-2023-04-10.log
2023.04.10 00:17:18.432 3:  fhempyserver_15733: read: end of file reached while sysread
2023.04.10 00:17:18.435 3:  fhempyserver_15733: stopped
2023.04.10 00:17:18.483 3:  fhempyserver_15733: starting
2023.04.10 00:17:18.547 2:  Deleting fhempy-2023-03-30.log
2023.04.10 00:17:18.548 3:  fhempyserver_15733: using logfile: ./log/fhempy-2023-04-10.log
2023.04.10 00:18:48.218 0:  Server shutdown
2023.04.10 00:18:48.256 1:  Shutdown executed

fhempy-logfile:
2023-04-10 00:17:17,916 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.644...
2023-04-10 00:17:17,923 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-10 00:17:17,972 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-10 00:17:20,227 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.644...
2023-04-10 00:17:20,234 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-10 00:17:20,282 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-10 00:19:17,057 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.644...
2023-04-10 00:19:17,064 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-10 00:19:17,116 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-10 00:19:26,524 - INFO     - websockets.server: connection open
2023-04-10 00:19:26,526 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1

syslog:
HPT610FHEM@HPT610:~$ sudo cat /var/log/messages fhem
Apr  9 00:10:11 HPT610 rsyslogd: [origin software="rsyslogd" swVersion="8.2102.0" x-pid="525" x-info="https:
//www.rsyslog.com"] rsyslogd was HUPed
Apr  9 21:40:28 HPT610 kernel: [130354.105646] Attempt to set a LOCK_MAND lock via flock(2). This support ha
s been removed and the request ignored.
cat: fhem: No such file or directory

Viele Grüße Gisbert
Aktuelles FHEM | PROXMOX | Fujitsu Futro S740 | Debian 12 | UniFi | Homematic, VCCU, HMUART | ESP8266 | ATtiny85 | Wasser-, Stromzähler | Wlan-Kamera | SIGNALduino, Flamingo Rauchmelder FA21/22RF | RHASSPY

dominik

Mach bitte folgendes
FHEM
set fhempyserver_15733 stop

Console
sudo -u fhem bash
cd /opt/fhem
FHEM/bindings/python/bin/fhempy --local

Danach kommt der gleiche Output wie im Log, es sollte aber hoffentlich auch ein Fehler ersichtlich sein, warum es neu startet.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

McShire

#785
Hallo Dominik und hallo alle, die Probleme mit passiven Sensoren etc haben, z.B. Mattias,

Ich habe einen Temperatur- und Feuchtesensor von Tuya und betreibe ihn jetzt local.
Vorher fehlten immer die Readings mit den Daten, die der Sensor ausgibt.
Dabei war die Vorgehensweise immer nach Anleitung und dann warten auf das Sensorsignal, damit die Readings vervollständigt wurden.

Ich war jetzt wieder vor Ort und habe mich damit ausführlich beschäftigt.
Der Sensor hat jetzt die richtigen Daten in den Readings und liefert auch immer aktuelle Daten.

Ich empfehle folgende Vorgehensweise:
Am Sensor ist ein reset bzw setup Knopfschalter. Diesen länger als 5s gedrückt halten, dann wird das Device zurückgesetzt.
Gleichzeitig kommt bei mir die Frage in der Smartphone App: Device entfernen. Dieses bejahen.
Anschließend das Device in der App, in der Tuya Development Platform und in FHEM löschen, falls noch irgendwo vorhanden.
In FHEM auch das cloud Device, falls vorhanden. Es sollten in keinem Eintrag irgendwo noch aus den bisherigen Versuchen
irgendwelche Daten oder Einstellungen zu dem device gespeichert sein, die dann beim Neuanlegen übernommen werden.

Danach das device in der App und der Development platform neu hinzufügen.
Dann set tuya_system scan_devices ausführen.
   Im state wird angezeigt: found x devices, start local scan...
                                  x = Anzahl devices in der dev platform
jetzt den reset/setup knopf für 1-2 Sekunden drücken (keine 5 s!),
   damit sendet das device ein Signal, das vom Scan erfaßt wird
   im state wird jetzt angezeigt: x devices found localy
                                  x ist die Anzahl der devices, die online sind.
Jetzt prüfen, ob x der Anzahl der online devices einschließlich dem
   neuen Sensor entspricht, dann wurde der Sensor erfaßt. Beachte, sind
   weitere passive devices im Einsatz, dann sind diese i.a offline und
   nicht in x enthalten
Falls x kleiner ist wurde der Sensor nicht erfaßt, den scan und Knopf drücken
   wiederholen.
Ist x ok, dann set tuya_system create_device nnnnnnnn ausführen,
   nnnnnnn ist das neue device, aus dem pull-up auswählen.
das neue device öffnen und prüfen, ob in der Def die ip eingetragen ist und
   nicht "offline". Dann ist alles ok und bei mir hat es dann funktioniert.

Wenn offline eingetragen ist, hilft auch das Eintragen der ip nicht. Es muss
   einschließlich Löschen alles wiederholt werden, da sonst das device
   nicht neu angelegt wird.

Vielleicht funktioniert das bei Euch auch. Viel Erfolg damit
Werner


SouzA

Zitat von: dominik am 05 April 2023, 22:04:52
Zitat von: SouzA am 22 März 2023, 09:42:13Hallo liebe Leute,

habe hier nun endlich den ECO-DIM.07 WIFI integriert bekommen.
Der lässt sich laut Standardkonfig mit bright_value_1 von 0 bis 1000 dimmen.
Kriegt man es irgendwie hin, dass
1. man die Prozent also "pct" einstellen kann
und
2. es wirklich Prozent von 0 bis 100 sind?

Thx für eine kurze Rückmeldung.

Bis denn
SouzA

EDIT:
Der Grund für die Frage ist der, dass das Device zwar vom gassistant erkannt wird und on/off funktioniert. Dimmen halt nur nicht...
Das kann ich leider nicht so einfach anpassen. Diese Ranges werden von Tuya vorgegeben und ich versuche daran nichts zu ändern, damit das Modul einfach sehr generisch bleibt.
Versuch mal folgendes im homebridgeMapping
{
  "Brightness": {
    "cmd": "bright_value_1",
    "reading": "bright_value_1",
    "max": 1000,
    "maxValue": 100
  }
}


Danke Dominik,
das hat geklappt.
Jetzt funktioniert der Dimmer einwandfrei!

Thx und bis denn
SouzA
Raspi 4, EnOcean TCM310 USB, HM-MOD-UART-USB, Jeelink, hue, AMAD, fully, FRITZBOX, Signalbot, VIERA, Presence BT/Mac, TPLink, Gassistant, Shelly, fhempy, ZigBee

Maista

Hallo zusammen,
nach dem ich mich aufraffen konnte und fhempy installiert habe wollte ich nun meine vier Tuya Geräte einbinden.

"fhem_local" und "fhempyserver_15733" sind als Grün markiert.
"tuya_system" zeigt "ready" an.

Aber irgendwie stehe ich auf den Schlauch.
Autocreate ist an.
Wo tauchen denn gefundene Geräte auf? Und wie lange dauert eine Tasse Kaffee :)?

Unter https://github.com/fhempy/fhempy/blob/master/FHEM/bindings/python/fhempy/lib/tuya/README.md
steht
Zitatdefine tuya_system fhempy tuya setup API_KEY API_SECRET DEVICE_ID

In der Tuya-IOT finde ich nirgend etwas von "API-KEY" oder "API_SECRET".

Ist hier
ZitatIndustry : Smart Home

Data Center : Central Europe Data Center

Authorization Key

Access ID/Client ID: s7rxxxxxxxxxxxx > API_KEY
Access Secret/Client Secret: 282xxxxxxxxxxxxxxxxxxxxxxxxxxx > API_SECRET
Project Code: p16xxxxxxxxxxxxxxxxxxx
gemeint?

Ich habe hier
Zitatdefmod tuya_system fhempy tuya setup s7rxxxxxxxxxxxx 282xxxxxxxxxxxxxxxxxxxxxxxxxxx 1323440510521cfbab65
eingegeben. Die Device-ID ist aus der Übersicht bei Tuya-IOT.

Im GIT heisst es auch noch:
Zitatset tuya_system start_scan
Die Option "start_scan" gibt es nicht.
Nur "scan_device" :)

Vielleicht liegt es auch an Corona von 2022  ::)

Wer kann mir über die Strasse helfen?

Gruss Gerd

thburkhart

Hallo Dominik,

eben stelle ich fest, dass wohl seit 7.4.23 meine Stecker SP xx nicht mehr aktualisiert werden. Dies aus heiterem Himmel.

fhempy-log:

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 531, in setup_connection
    self._connected_device = await asyncio.wait_for(connect_fct, timeout=15)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2023-04-13 21:39:38,879 - ERROR    - TUYA_JL22: Failed to connect to device
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py", line 206, in connect
    await device.start_socket()
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/core.py", line 894, in start_socket
    self.reader, self.writer = await asyncio.open_connection(
  File "/usr/lib/python3.9/asyncio/streams.py", line 52, in open_connection
    transport, _ = await loop.create_connection(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
    sock = await self._connect_sock(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
    return await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 531, in setup_connection
    self._connected_device = await asyncio.wait_for(connect_fct, timeout=15)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2023-04-13 21:39:38,880 - ERROR    - TUYA_JL32: Failed to connect to device
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py", line 206, in connect
    await device.start_socket()
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/core.py", line 894, in start_socket
    self.reader, self.writer = await asyncio.open_connection(
  File "/usr/lib/python3.9/asyncio/streams.py", line 52, in open_connection
    transport, _ = await loop.create_connection(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
    sock = await self._connect_sock(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
    return await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 531, in setup_connection
    self._connected_device = await asyncio.wait_for(connect_fct, timeout=15)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2023-04-13 21:39:38,914 - ERROR    - TUYA_STF03: Failed to connect to device
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py", line 206, in connect
    await device.start_socket()
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/core.py", line 894, in start_socket
    self.reader, self.writer = await asyncio.open_connection(
  File "/usr/lib/python3.9/asyncio/streams.py", line 52, in open_connection
    transport, _ = await loop.create_connection(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
    sock = await self._connect_sock(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
    return await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 531, in setup_connection
    self._connected_device = await asyncio.wait_for(connect_fct, timeout=15)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2023-04-13 21:40:01,180 - ERROR    - fhempy.lib.fhem: FHEM took 5916ms for readingsEndUpdate($defs{'TUYA_Temp01'},1);;
2023-04-13 21:40:01,345 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'TUYAC_SensorT01'},'uuid','60381718500291bade80');;
2023-04-13 21:40:01,347 - ERROR    - fhempy.lib.fhem: FHEM took 6076ms for readingsBulkUpdate($defs{'TUYA_Temp02'},'uuid','6dd6a80de96b319f');;
2023-04-13 21:40:01,348 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'TUYAC_Camera3'},'uuid','jdwsb2635b381294a0df');;
2023-04-13 21:40:01,350 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'TUYA_BULB03'},'wakeup_mode','AAA=');;
2023-04-13 21:40:01,352 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'tuya_cloud_4530056170039f4a87e5'},'countdown_1','0.0');;
2023-04-13 21:40:01,353 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'TUYAC_SensorW03'},'update_time','1635130148');;
2023-04-13 21:40:01,355 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_JL26', 'dp_06', '')
2023-04-13 21:40:01,357 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_JL21', 'dp_06', '')
2023-04-13 21:40:01,358 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP02', 'dp_20', '')
2023-04-13 21:40:01,360 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_JL18', 'dp_06', '')
2023-04-13 21:40:01,361 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_JL20', 'dp_06', '')
2023-04-13 21:40:01,363 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP01', 'dp_20', '')
2023-04-13 21:40:01,364 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP05', 'dp_20', '')
2023-04-13 21:40:01,366 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_PS5', 'dp_104', '')
2023-04-13 21:40:01,367 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP07', 'dp_20', '')
2023-04-13 21:40:01,369 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP11', 'dp_21', '')
2023-04-13 21:40:01,371 - ERROR    - fhempy.lib.fhem: FHEM took 6054ms for readingsBeginUpdate($defs{'TUYAC_SensorT04'});;
2023-04-13 21:40:01,372 - ERROR    - fhempy.lib.fhem: FHEM took 6035ms for readingsBeginUpdate($defs{'TUYA_SCHFF4'});;
2023-04-13 21:40:01,374 - ERROR    - fhempy.lib.fhem: FHEM took 5999ms for readingsBeginUpdate($defs{'TUYAC_Camera1'});;
2023-04-13 21:40:01,377 - ERROR    - fhempy.lib.fhem: FHEM took 5104ms for foreach my $fhem_dev (sort keys %main::defs) {  return 1 if(defined($main::defs{$fhem_dev}{FHEMPYTYPE}) && $main::defs{$fhem_dev}{FHEMPYTYPE} eq 'tuya_cloud' && defined($main::defs{$fhem_dev}{DEVICEID}) && $main::defs{$fhem_dev}{DEVICEID} eq '045074212cf432ca0721');;}return 0;;
2023-04-13 21:40:02,471 - ERROR    - fhempy.lib.fhem: FHEM took 6022ms for readingsEndUpdate($defs{'TUYA_Temp10'},1);;
2023-04-13 21:40:02,698 - ERROR    - fhempy.lib.fhem: FHEM took 5157ms for AttrVal('TUYA_BULB02', 'dp_23', '')
2023-04-13 21:40:02,699 - ERROR    - fhempy.lib.fhem: FHEM took 5158ms for readingsBulkUpdate($defs{'TUYA_Temp06'},'uuid','a4c138739dae10fb');;
2023-04-13 21:40:02,701 - ERROR    - fhempy.lib.fhem: FHEM took 5158ms for AttrVal('TUYA_BULB01', 'dp_23', '')
2023-04-13 21:40:02,702 - ERROR    - fhempy.lib.fhem: FHEM took 5158ms for readingsBeginUpdate($defs{'TUYA_JL07'});;
2023-04-13 21:40:02,704 - ERROR    - fhempy.lib.fhem: FHEM took 5157ms for readingsBeginUpdate($defs{'TUYA_JL04'});;
2023-04-13 21:40:02,706 - ERROR    - fhempy.lib.fhem: FHEM took 5158ms for readingsBeginUpdate($defs{'TUYA_JL08'});;
2023-04-13 21:40:02,707 - ERROR    - fhempy.lib.fhem: FHEM took 5159ms for AttrVal('TUYA_JL24', 'dp_06', '')
2023-04-13 21:40:02,709 - ERROR    - fhempy.lib.fhem: FHEM took 5161ms for readingsBeginUpdate($defs{'TUYA_JL02'});;
2023-04-13 21:40:02,711 - ERROR    - fhempy.lib.fhem: FHEM took 5162ms for AttrVal('TUYA_JL27', 'dp_04', '')
2023-04-13 21:40:02,712 - ERROR    - fhempy.lib.fhem: FHEM took 5163ms for readingsBeginUpdate($defs{'TUYA_JL03'});;
2023-04-13 21:40:02,714 - ERROR    - fhempy.lib.fhem: FHEM took 5164ms for AttrVal('TUYA_JL35', 'dp_06', '')
2023-04-13 21:40:02,715 - ERROR    - fhempy.lib.fhem: FHEM took 5165ms for AttrVal('TUYA_JL36', 'dp_06', '')
2023-04-13 21:40:02,717 - ERROR    - fhempy.lib.fhem: FHEM took 5166ms for AttrVal('TUYA_JL33', 'dp_06', '')
2023-04-13 21:40:02,719 - ERROR    - fhempy.lib.fhem: FHEM took 5167ms for AttrVal('TUYA_JL28', 'dp_06', '')
2023-04-13 21:40:02,723 - ERROR    - fhempy.lib.fhem: FHEM took 5171ms for AttrVal('TUYA_JL34', 'dp_06', '')
2023-04-13 21:40:02,724 - ERROR    - fhempy.lib.fhem: FHEM took 5171ms for readingsBulkUpdate($defs{'TUYAC_SensorW04'},'state','normal');;
2023-04-13 21:40:02,725 - ERROR    - fhempy.lib.fhem: FHEM took 5171ms for AttrVal('TUYA_SP06', 'dp_20', '')
2023-04-13 21:40:02,727 - ERROR    - fhempy.lib.fhem: FHEM took 5172ms for AttrVal('TUYA_SP12', 'dp_20', '')
2023-04-13 21:40:02,727 - ERROR    - fhempy.lib.fhem: FHEM took 5172ms for AttrVal('TUYA_JL15', 'dp_01', '')
2023-04-13 21:40:02,729 - ERROR    - fhempy.lib.fhem: FHEM took 5173ms for AttrVal('TUYA_SP13', 'dp_20', '')
2023-04-13 21:40:02,730 - ERROR    - fhempy.lib.fhem: FHEM took 5174ms for AttrVal('TUYA_SP15', 'dp_20', '')
2023-04-13 21:40:02,732 - ERROR    - fhempy.lib.fhem: FHEM took 5161ms for readingsBeginUpdate($defs{'tuya_cloud_104380002462ab30258d'});;
2023-04-13 21:40:13,975 - ERROR    - fhempy.lib.fhem: FHEM took 5409ms for AttrVal('TUYA_PS5', 'dp_04', '')
2023-04-13 21:40:14,429 - ERROR    - fhempy.lib.fhem: FHEM took 5860ms for readingsEndUpdate($defs{'TUYA_SP01'},1);;
2023-04-13 21:40:14,648 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsEndUpdate($defs{'TUYA_SP05'},1);;
2023-04-13 21:40:14,650 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP11', 'dp_09', '')
2023-04-13 21:40:14,651 - ERROR    - fhempy.lib.fhem: FHEM took 6079ms for readingsBulkUpdate($defs{'TUYAC_Camera4'},'basic_osd','on');;
2023-04-13 21:40:14,865 - ERROR    - fhempy.lib.fhem: FHEM took 6291ms for readingsEndUpdate($defs{'TUYA_SP07'},1);;
2023-04-13 21:40:15,035 - ERROR    - fhempy.lib.fhem: FHEM took 6460ms for readingsBulkUpdate($defs{'TUYAC_Camera1'},'sd_storge','121882|7340|114542');;
2023-04-13 21:40:15,037 - ERROR    - fhempy.lib.fhem: FHEM took 5958ms for AttrVal('TUYA_BULB02', 'dp_22', '')
2023-04-13 21:40:15,254 - ERROR    - fhempy.lib.fhem: FHEM took 6174ms for readingsEndUpdate($defs{'TUYA_SP10'},1);;
2023-04-13 21:40:15,299 - ERROR    - fhempy.lib.fhem: FHEM took 6216ms for readingsBulkUpdate($defs{'TUYAC_Sir03'},'AlarmPeriod','15.0');;
2023-04-13 21:40:15,313 - ERROR    - fhempy.lib.fhem: FHEM took 6229ms for readingsEndUpdate($defs{'TUYAC_SensorW03'},1);;
2023-04-13 21:40:15,470 - ERROR    - fhempy.lib.fhem: FHEM took 6384ms for readingsEndUpdate($defs{'TUYA_Temp06'},1);;
2023-04-13 21:40:15,537 - ERROR    - fhempy.lib.fhem: FHEM took 6450ms for AttrVal('TUYA_BULB01', 'dp_22', '')
2023-04-13 21:40:15,759 - ERROR    - fhempy.lib.fhem: FHEM took 6670ms for readingsEndUpdate($defs{'TUYA_JL24'},1);;
2023-04-13 21:40:15,981 - ERROR    - fhempy.lib.fhem: FHEM took 6841ms for readingsEndUpdate($defs{'TUYA_JL35'},1);;
2023-04-13 21:40:16,203 - ERROR    - fhempy.lib.fhem: FHEM took 7063ms for readingsEndUpdate($defs{'TUYA_JL36'},1);;
2023-04-13 21:40:16,424 - ERROR    - fhempy.lib.fhem: FHEM took 7284ms for readingsEndUpdate($defs{'TUYA_JL33'},1);;
2023-04-13 21:40:19,083 - ERROR    - fhempy.lib.fhem: FHEM took 9942ms for readingsEndUpdate($defs{'TUYA_JL28'},1);;
2023-04-13 21:40:19,305 - ERROR    - fhempy.lib.fhem: FHEM took 10004ms for readingsEndUpdate($defs{'TUYA_JL34'},1);;
2023-04-13 21:40:23,934 - ERROR    - fhempy.lib.fhem: FHEM took 14632ms for readingsEndUpdate($defs{'TUYA_SP06'},1);;
2023-04-13 21:40:24,151 - ERROR    - fhempy.lib.fhem: FHEM took 14849ms for readingsEndUpdate($defs{'TUYA_SP12'},1);;
2023-04-13 21:40:24,368 - ERROR    - fhempy.lib.fhem: FHEM took 15065ms for readingsEndUpdate($defs{'TUYA_SP13'},1);;
2023-04-13 21:40:24,583 - ERROR    - fhempy.lib.fhem: FHEM took 15279ms for readingsEndUpdate($defs{'TUYA_SP15'},1);;
2023-04-13 21:42:06,228 - ERROR    - root: TUYA_JL15: readingsBeginUpdate couldn't acquire lock, caused by readingsBeginUpdate without End or Single update inbetween
2023-04-13 21:42:06,494 - ERROR    - fhempy.lib.fhem: FHEM took 117189ms for readingsEndUpdate($defs{'tuya_cloud_104380002462ab30258d'},1);;
2023-04-13 21:42:06,496 - ERROR    - fhempy.lib.fhem: FHEM took 117190ms for readingsBulkUpdate($defs{'TUYA_JL25'},'cur_voltage','230.4');;
2023-04-13 21:42:06,497 - ERROR    - fhempy.lib.fhem: FHEM took 117190ms for AttrVal('TUYA_PS3', 'dp_04', '')
2023-04-13 21:42:06,718 - ERROR    - fhempy.lib.fhem: FHEM took 117411ms for readingsEndUpdate($defs{'TUYA_SP04'},1);;
2023-04-13 21:42:06,759 - ERROR    - fhempy.lib.fhem: FHEM took 117451ms for AttrVal('TUYA_PS7', 'dp_02', '')
2023-04-13 21:42:06,759 - ERROR    - fhempy.lib.fhem: FHEM took 117450ms for readingsBulkUpdateIfChanged($defs{'TUYA_JL15'},'cur_current','0.0');;
2023-04-13 21:42:06,760 - ERROR    - fhempy.lib.fhem: FHEM took 117450ms for AttrVal('TUYA_SP16', 'dp_09', '')
2023-04-13 21:42:06,945 - ERROR    - fhempy.lib.fhem: FHEM took 117635ms for readingsEndUpdate($defs{'TUYA_SP09'},1);;
2023-04-13 21:42:06,989 - ERROR    - fhempy.lib.fhem: FHEM took 117679ms for readingsEndUpdate($defs{'tuya_cloud_bfe074c7ede8a9ad830m5q'},1);;
2023-04-13 21:42:06,990 - ERROR    - fhempy.lib.fhem: FHEM took 116897ms for foreach my $fhem_dev (sort keys %main::defs) {  return 1 if(defined($main::defs{$fhem_dev}{FHEMPYTYPE}) && $main::defs{$fhem_dev}{FHEMPYTYPE} eq 'tuya_cloud' && defined($main::defs{$fhem_dev}{DEVICEID}) && $main::defs{$fhem_dev}{DEVICEID} eq '2053863070039f16cebe');;}return 0;;
2023-04-13 21:42:06,990 - ERROR    - fhempy.lib.fhem: FHEM took 116639ms for readingsBulkUpdateIfChanged($defs{'TUYA_JL27'},'state','on');;
2023-04-13 21:42:06,991 - ERROR    - fhempy.lib.fhem: FHEM took 116442ms for readingsBulkUpdate($defs{'TUYAC_Camera3'},'sd_format','on');;
2023-04-13 21:42:06,992 - ERROR    - fhempy.lib.fhem: FHEM took 114130ms for readingsBeginUpdate($defs{'TUYA_SP16'});;
2023-04-13 21:42:06,994 - ERROR    - fhempy.lib.fhem: FHEM took 113022ms for readingsBeginUpdate($defs{'TUYA_Temp02'});;
2023-04-13 21:42:06,995 - ERROR    - fhempy.lib.fhem: FHEM took 113019ms for AttrVal('TUYA_PS5', 'dp_101', '')
2023-04-13 21:42:06,996 - ERROR    - fhempy.lib.fhem: FHEM took 112345ms for AttrVal('TUYA_SP11', 'dp_17', '')
2023-04-13 21:42:06,997 - ERROR    - fhempy.lib.fhem: FHEM took 112345ms for readingsBulkUpdate($defs{'TUYAC_Camera4'},'motion_sensitivity','1');;
2023-04-13 21:42:06,998 - ERROR    - fhempy.lib.fhem: FHEM took 111962ms for readingsBulkUpdate($defs{'TUYAC_Camera1'},'sd_status','0.1');;
2023-04-13 21:42:06,999 - ERROR    - fhempy.lib.fhem: FHEM took 111961ms for AttrVal('TUYA_BULB02', 'dp_23', '')
2023-04-13 21:42:07,000 - ERROR    - fhempy.lib.fhem: FHEM took 111700ms for readingsBulkUpdate($defs{'TUYAC_Sir03'},'AlarmSwitch','off');;
2023-04-13 21:42:07,001 - ERROR    - fhempy.lib.fhem: FHEM took 111464ms for AttrVal('TUYA_BULB01', 'dp_23', '')
2023-04-13 21:42:07,002 - ERROR    - fhempy.lib.fhem: FHEM took 108167ms for readingsBeginUpdate($defs{'TUYA_Temp06'});;
2023-04-13 21:42:07,003 - ERROR    - fhempy.lib.fhem: FHEM took 103293ms for readingsBeginUpdate($defs{'TUYA_SP11'});;
2023-04-13 21:42:07,004 - ERROR    - fhempy.lib.fhem: FHEM took 103267ms for readingsBeginUpdate($defs{'TUYA_SCHF2'});;
2023-04-13 21:42:08,416 - ERROR    - root: TUYA_JL15: readingsBulkUpdateIfChanged without readingsBeginUpdate: readingsBulkUpdateIfChanged($defs{'TUYA_JL15'},'cur_voltage','229.4');;
2023-04-13 21:42:08,416 - ERROR    - root: TUYA_JL15: readingsBulkUpdateIfChanged without readingsBeginUpdate: readingsBulkUpdateIfChanged($defs{'TUYA_JL15'},'online','1');;
2023-04-13 21:42:08,449 - ERROR    - TUYA_JL15: Exception raised by task: <Task finished name='Task-10240' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:216> exception=RuntimeError('Lock is not acquired.')>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 224, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 218, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 409, in async_status_updated
    await self.update_readings(status)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 724, in update_readings
    await fhem.readingsEndUpdate(self.hash, 1)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 180, in readingsEndUpdate
    update_locks[hash["NAME"]].release()
  File "/usr/lib/python3.9/asyncio/locks.py", line 146, in release
    raise RuntimeError('Lock is not acquired.')
RuntimeError: Lock is not acquired.
2023-04-13 21:43:00,664 - ERROR    - asyncio: Task was destroyed but it is pending!
task: <Task pending name='Task-4427' coro=<main() running at /opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py:166> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb1887cd0>()]>>
2023-04-13 21:43:09,032 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:09,715 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:14,727 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:19,045 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:19,739 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:23,802 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:24,751 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:29,057 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:29,764 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:34,775 - WARNING  - asyncio: socket.send() raised exception.

fhem-log:

2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP01, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP02, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 1.3, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP03, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 28.2, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP04, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP05, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP06, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP07, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 5.2, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP08, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP09, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP10, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 50.1, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP11, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 5.5, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP12, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 16.9, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP13, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 51.1, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP14, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 6.6, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP15, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 7.5, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP16, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 7.6, Unit:
2023.04.13 21:34:25 5: redefine at command DbLog_addlog_TUYA_SP_cur_power as +*00:10:00 set dblog_THB addLog TUYA_SP.*:cur_power
2023.04.13 21:34:25 5: exec at command DbLog_addlog_TUYA_JL_cur_power
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL02, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 2: DbLog dblog_THB - Device: "TUYA_JL03", reading: ".*" excluded by attribute DbLogExclude from addLog !
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL04, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 19.4, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL05, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL06, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL07, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL08, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 2: DbLog dblog_THB - addLog WARNING - Device: 'TUYA_JL09' -> new Reading 'cur_power' has no value - can't add it !
2023.04.13 21:34:25 2: DbLog dblog_THB - addLog WARNING - Device: 'TUYA_JL10Z' -> new Reading 'cur_power' has no value - can't add it !
2023.04.13 21:34:25 2: DbLog dblog_THB - addLog WARNING - Device: 'TUYA_JL11Z' -> new Reading 'cur_power' has no value - can't add it !
2023.04.13 21:34:25 2: DbLog dblog_THB - addLog WARNING - Device: 'TUYA_JL12Z' -> new Reading 'cur_power' has no value - can't add it !
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL13, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL14, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 56.9, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL15, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL18, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL19, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL20, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL21, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL22, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 10.1, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL24, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL25, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL26, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL27, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL28, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL29, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL30, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL31, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 9.7, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL32, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 9.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL33, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL34, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL35, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL36, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 5: redefine at command DbLog_addlog_TUYA_JL_cur_power as +*00:10:00 set dblog_THB addLog TUYA_JL.*:cur_power
2023.04.13 21:34:25 5: exec at command DbLog_addlog_TUYA_TEMP_va_temperature
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp01, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 21.5, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp02, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 19.6, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp03, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 22.1, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp04, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 7.8, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp05, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 8.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp06, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 21.2, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp07, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 20.6, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp08, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 10.6, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp09, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 7.4, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp10, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 7.6, Unit:
2023.04.13 21:34:25 5: redefine at command DbLog_addlog_TUYA_TEMP_va_temperature as +*00:10:00 set dblog_THB addLog TUYA_Temp.*:va_temperature
2023.04.13 21:36:42 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_BindingsIo.pm line 558.
2023.04.13 21:37:58 2: DbLog dblog_THB - Wait for last database cycle due to shutdown ...
2023.04.13 21:37:58 1: Server shutdown delayed due to dblog_THB,alexa for max 10 sec
2023.04.13 21:37:59 2: DbLog dblog_THB - Last database write cycle done
2023.04.13 21:38:01 3: alexa: read: end of file reached while sysread
2023.04.13 21:38:01 3: alexa: stopped
2023.04.13 21:38:01 0: Server shutdown
2023.04.13 21:38:01 2: DbLog dblog_THB - stopping SubProcess PID >20544< ...
2023.04.13 21:38:01 2: DbLog dblog_THB - SubProcess PID >20544< stopped
2023.04.13 21:38:04 1: Including fhem.cfg
2023.04.13 21:38:05 2: DbLog dblog_THB - Subprocess >22274< initialized ... ready for non-blocking operation
2023.04.13 21:38:06 3: telnetPort: port 7072 opened
2023.04.13 21:38:06 3: WEB: port 8083 opened
2023.04.13 21:38:06 3: WEBphone: port 8084 opened
2023.04.13 21:38:06 3: WEBtablet: port 8085 opened
2023.04.13 21:38:06 3: TelegramBot_Define TelegramBotTHB: called
2023.04.13 21:38:07 3: BindingsIo v1.0.1
2023.04.13 21:38:07 3: fhempyServer v1.0.0
2023.04.13 21:38:07 3: fhempy v1.0.0 (tuya_cloud: TUYA)
2023.04.13 21:38:07 3: fhempy v1.0.0 (tuya: tuya_system)
2023.04.13 21:38:07 3: Opening CUL_0 device /dev/ttyACM0
2023.04.13 21:38:07 3: Setting CUL_0 serial parameters to 9600,8,N,1
2023.04.13 21:38:07 3: CUL_0: Possible commands: BbCFiAZNkGMKUYRTVWXefmLltux
2023.04.13 21:38:07 3: CUL_0 device opened
2023.04.13 21:38:07 2: Switched CUL_0 rfmode to MAX
2023.04.13 21:38:07 3: Opening JLLaCR device /dev/ttyUSB0
2023.04.13 21:38:07 3: Setting JLLaCR serial parameters to 57600,8,N,1
2023.04.13 21:38:08 3: JLLaCR device opened
2023.04.13 21:38:08 1: PERL WARNING: Use of uninitialized value in numeric ge (>=) at ./FHEM/12_OilFox.pm line 387, <$fh> line 553.
2023.04.13 21:38:08 2: LOGIN TOKEN MISSING OR EXPIRED
2023.04.13 21:38:08 3: myOilFox - email set to bkt@gmx.net
2023.04.13 21:38:08 3: myOilFox - set interval: 36000
2023.04.13 21:38:08 3: myOilFox - password set to thbbkt25
2023.04.13 21:38:08 3: powerfox: Defined with URL https://bkt%40gmx.net:thbbkt25@backend.powerfox.energy/api/2.0/my/246f283cfeac/current and interval 60 featurelevel 6.2
2023.04.13 21:38:24 2: eventTypes: loaded 18314 lines from ./log/eventTypes.txt
2023.04.13 21:38:24 3: TX29_00: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_01: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_02: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_03: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_04: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_05: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_06: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_07: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_08: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_09: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_10: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_11: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_12: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX25IT_13: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_14: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_15: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_16: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_17: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_18: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_19: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_20: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_21: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_22: I/O device is JLLaCR
2023.04.13 21:38:24 3: HUEDevice2: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice4: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice5: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice6: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice7: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice8: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice10: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice17: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice18: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice19: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice20: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice22: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice23: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice24: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice25: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice27: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice28: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice29: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice30: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice31: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice32: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice33: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice38: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice39: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice40: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice41: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup0: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup1: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup2: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup3: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup4: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup5: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup6: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup7: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup8: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup9: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup10: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup11: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup12: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup13: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup14: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup15: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup16: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup17: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup18: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup19: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup20: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup21: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup22: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup23: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup24: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup25: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup26: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup27: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup28: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup29: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup30: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice44: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup31: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor6: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor8: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor10: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor13: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor24: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor27: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor34: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor37: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor45: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice45: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice46: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice47: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice48: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice49: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice50: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice51: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor91: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor110: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor1: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice52: I/O device is hueBridge1
2023.04.13 21:38:24 1: MaxTemp: WT
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_BULB01)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_BULB02)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYA_BULB03)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera2)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera5)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera6)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_DIY1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_DIY3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_DIY4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLO1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLO2)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLOD2)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLO3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLO4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL02)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL03)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL04)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL05)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL06)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL07)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL08)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL09)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL10Z)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL11Z)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL12Z)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL13)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL14)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL15)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL18)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYA_JL19)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL20)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL21)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL22)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL24)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYA_JL25)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL26)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL27)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL28)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL29)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL30)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL31)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL32)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL33)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL34)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL35)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL36)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS5)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS7)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SCHF1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SCHF2)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SCHF3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYA_SCHFF4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP01)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP02)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP03)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP04)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP05)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP06)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP07)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP08)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP09)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP10)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP11)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP12)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP13)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP14)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP15)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP16)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_PIR01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_PIR02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_PIR03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT04)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT05)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorW01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorW02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorW03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorW04)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Sir01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Sir02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Sir03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Relais01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorSmoke01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya: TUYA_STF01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya: TUYA_STF02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya: TUYA_STF03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_STF04)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya: TUYA_MMG)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp05)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp06)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp04)
2023.04.13 21:38:26 1: PERL WARNING: Useless use of anonymous hash ({}) in void context at (eval 125) line 1, <$fh> line 6354.
2023.04.13 21:38:26 3: SST (SamsungSmartThingsConnector): define - CONNECTOR defined as SamsungSmartThingsConnector
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_5062137624a1600b6d62)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_4530056170039f4a87e5)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_104380002462ab30258d)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp07)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bfc65f1f693ce027f5avyd)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bf95f50f98d37da7235vba)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bfe6fb5a31840d5ca3dce6)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bf8430ea7591b4d534d4dp)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp09)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp08)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp10)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bf90689f7512fabbd0lonv)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bf99dd6c52e2de4e07ckuw)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bfe074c7ede8a9ad830m5q)
2023.04.13 21:38:26 1: Including ./log/fhem.save
2023.04.13 21:38:35 1: Messages collected while initializing FHEM:SecurityCheck:
  WEBphone is not password protected
  WEB is not password protected
  telnetPort is not password protected
  WEBtablet is not password protected

Protect this FHEM installation by defining an allowed device with define allowed allowed
You can disable this message with attr global motd none

2023.04.13 21:38:36 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.04.13 21:38:36 3: alexa: starting
2023.04.13 21:38:36 3: alexa: using logfile: ./log/alexa-2023-04-13.log
2023.04.13 21:38:36 2: hueBridge1: autocreate: created 0/0/0 devices (ignored 0/2/26)
2023.04.13 21:38:37 3: n_global_INITIALIZED return value: Unknown command <set, try help.
2023.04.13 21:38:37 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.04.13 21:38:37 0: Featurelevel: 6.2
2023.04.13 21:38:37 0: Server started with 583 defined entities (fhem.pl:27410/2023-04-07 perl:5.032001 os:linux user:fhem pid:22273)
2023.04.13 21:38:38 3: DbLog dblog_THB - DB connection parameters are initialized in the SubProcess
2023.04.13 21:38:38 1: PERL WARNING: devspec2array *: Unknown verb pattern '' in regex; marked by <-- HERE in m/^(*) <-- HERE $/ at fhem.pl line 1354.
2023.04.13 21:38:38 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE :.*RSSI.*$/ at ./FHEM/93_DbLog.pm line 1299.
2023.04.13 21:38:45 3: DbLog dblog_THB - DB connection parameters are stored in SubProcess
2023.04.13 21:38:45 3: alexa: stopped
2023.04.13 21:38:45 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.04.13 21:38:45 3: alexa: starting
2023.04.13 21:38:45 3: alexa: using logfile: ./log/alexa-2023-04-13.log
2023.04.13 21:38:50 2: hueBridge1: http request failed: https://192.168.9.179/auth/v1: empty answer received
2023.04.13 21:38:50 2: hueBridge1: http request failed: https://192.168.9.179/eventstream/clip/v2: empty answer received
2023.04.13 21:38:50 2: hueBridge1: EventStream: terminated; retrying later
2023.04.13 21:38:53 2: {"token_type":"Bearer","access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJiNmU5ZDg5Ni1kMzMwLTRiMWYtODVhNS0wYjk4NGQyZWJiMDQiLCJhdWQiOiJVU0VSIiwic2NvcGUiOiJDVVNUT01FUl9BUEkiLCJpc3MiOiJvaWxmb3guaW8iLCJleHAiOjE2ODE0MTU2MzAsImp0aSI6IjMyMmJiOTAzLTQ2YjItNDRjNi1iOTQ4LTNmMzVkNDIzOGZjNCIsImVtYWlsIjoiYmt0QGdteC5uZXQifQ.1qguJrFhk0oBsWEnXvsv6uvQXIc2TSbOHpHzXvTEGXO965eIRMISKqPja2P2srrdOfjFqa8kCDK4RR0-oPaG6w","refresh_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzY29wZSI6IkNVU1RPTUVSX0FQSSIsImlzcyI6Im9pbGZveC5pbyIsImV4cCI6MTY4MjcxMDczMCwianRpIjoiMTI1Y2QwMGYtZjBlZi00ZDI1LTgzNWYtMDY0NDdjNDczM2Y2In0.2iQ8mLVXhszQJggciutZq_htc-Q7U6tDloiOavbe2zPtjjNFDzqZq1MOwCxvS2CBdapcAKU1it8bvIzzSLgHLA"}
2023.04.13 21:38:54 2: AttrTemplates: got 259 entries
2023.04.13 21:39:01 2: hueBridge1: http request failed: read from https://192.168.9.179:443 timed out
2023.04.13 21:39:08 2: error while requesting https://api.oilfox.io/customer-api/v1/device - read from https://api.oilfox.io:443 timed out
2023.04.13 21:39:09 3: DbLog dblog_THB - SubProcess connected to fhem
2023.04.13 21:41:50 2: hueBridge1: EventStream: event for unknown device received, trying to refresh resouces
2023.04.13 21:41:51 2: hueBridge1: autocreate: created 0/0/0 devices (ignored 0/2/26)

UpdaTES HABE ICH ALLEGEMACHT:

LG

tHOMAS
1 RASPI4B, 1 RASPI3B, 2 CUL, 2 Jeelink, 60 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 30 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

dominik

Zitat von: Maista am 13 April 2023, 18:17:38Hallo zusammen,
nach dem ich mich aufraffen konnte und fhempy installiert habe wollte ich nun meine vier Tuya Geräte einbinden.

"fhem_local" und "fhempyserver_15733" sind als Grün markiert.
"tuya_system" zeigt "ready" an.

Aber irgendwie stehe ich auf den Schlauch.
Autocreate ist an.
Wo tauchen denn gefundene Geräte auf? Und wie lange dauert eine Tasse Kaffee :)?

Unter https://github.com/fhempy/fhempy/blob/master/FHEM/bindings/python/fhempy/lib/tuya/README.md
steht
Zitatdefine tuya_system fhempy tuya setup API_KEY API_SECRET DEVICE_ID

In der Tuya-IOT finde ich nirgend etwas von "API-KEY" oder "API_SECRET".

Ist hier
ZitatIndustry : Smart Home

Data Center : Central Europe Data Center

Authorization Key

Access ID/Client ID: s7rxxxxxxxxxxxx > API_KEY
Access Secret/Client Secret: 282xxxxxxxxxxxxxxxxxxxxxxxxxxx > API_SECRET
Project Code: p16xxxxxxxxxxxxxxxxxxx
gemeint?

Ich habe hier
Zitatdefmod tuya_system fhempy tuya setup s7rxxxxxxxxxxxx 282xxxxxxxxxxxxxxxxxxxxxxxxxxx 1323440510521cfbab65
eingegeben. Die Device-ID ist aus der Übersicht bei Tuya-IOT.

Im GIT heisst es auch noch:
Zitatset tuya_system start_scan
Die Option "start_scan" gibt es nicht.
Nur "scan_device" :)

Vielleicht liegt es auch an Corona von 2022  ::)

Wer kann mir über die Strasse helfen?

Gruss Gerd
Deine Interpretation von API KEY und SECRET ist richtig. Tuya hatte die Bezeichnung irgendwann geändert, in der Doku steht es leider noch alt. Was passiert wenn du scan_devices drückst?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Zitat von: thburkhart am 13 April 2023, 21:49:33Hallo Dominik,

eben stelle ich fest, dass wohl seit 7.4.23 meine Stecker SP xx nicht mehr aktualisiert werden. Dies aus heiterem Himmel.

fhempy-log:

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 531, in setup_connection
    self._connected_device = await asyncio.wait_for(connect_fct, timeout=15)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2023-04-13 21:39:38,879 - ERROR    - TUYA_JL22: Failed to connect to device
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py", line 206, in connect
    await device.start_socket()
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/core.py", line 894, in start_socket
    self.reader, self.writer = await asyncio.open_connection(
  File "/usr/lib/python3.9/asyncio/streams.py", line 52, in open_connection
    transport, _ = await loop.create_connection(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
    sock = await self._connect_sock(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
    return await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 531, in setup_connection
    self._connected_device = await asyncio.wait_for(connect_fct, timeout=15)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2023-04-13 21:39:38,880 - ERROR    - TUYA_JL32: Failed to connect to device
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py", line 206, in connect
    await device.start_socket()
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/core.py", line 894, in start_socket
    self.reader, self.writer = await asyncio.open_connection(
  File "/usr/lib/python3.9/asyncio/streams.py", line 52, in open_connection
    transport, _ = await loop.create_connection(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
    sock = await self._connect_sock(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
    return await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 531, in setup_connection
    self._connected_device = await asyncio.wait_for(connect_fct, timeout=15)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2023-04-13 21:39:38,914 - ERROR    - TUYA_STF03: Failed to connect to device
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py", line 206, in connect
    await device.start_socket()
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/core.py", line 894, in start_socket
    self.reader, self.writer = await asyncio.open_connection(
  File "/usr/lib/python3.9/asyncio/streams.py", line 52, in open_connection
    transport, _ = await loop.create_connection(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
    sock = await self._connect_sock(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
    return await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 531, in setup_connection
    self._connected_device = await asyncio.wait_for(connect_fct, timeout=15)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2023-04-13 21:40:01,180 - ERROR    - fhempy.lib.fhem: FHEM took 5916ms for readingsEndUpdate($defs{'TUYA_Temp01'},1);;
2023-04-13 21:40:01,345 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'TUYAC_SensorT01'},'uuid','60381718500291bade80');;
2023-04-13 21:40:01,347 - ERROR    - fhempy.lib.fhem: FHEM took 6076ms for readingsBulkUpdate($defs{'TUYA_Temp02'},'uuid','6dd6a80de96b319f');;
2023-04-13 21:40:01,348 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'TUYAC_Camera3'},'uuid','jdwsb2635b381294a0df');;
2023-04-13 21:40:01,350 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'TUYA_BULB03'},'wakeup_mode','AAA=');;
2023-04-13 21:40:01,352 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'tuya_cloud_4530056170039f4a87e5'},'countdown_1','0.0');;
2023-04-13 21:40:01,353 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsBulkUpdate($defs{'TUYAC_SensorW03'},'update_time','1635130148');;
2023-04-13 21:40:01,355 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_JL26', 'dp_06', '')
2023-04-13 21:40:01,357 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_JL21', 'dp_06', '')
2023-04-13 21:40:01,358 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP02', 'dp_20', '')
2023-04-13 21:40:01,360 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_JL18', 'dp_06', '')
2023-04-13 21:40:01,361 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_JL20', 'dp_06', '')
2023-04-13 21:40:01,363 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP01', 'dp_20', '')
2023-04-13 21:40:01,364 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP05', 'dp_20', '')
2023-04-13 21:40:01,366 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_PS5', 'dp_104', '')
2023-04-13 21:40:01,367 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP07', 'dp_20', '')
2023-04-13 21:40:01,369 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP11', 'dp_21', '')
2023-04-13 21:40:01,371 - ERROR    - fhempy.lib.fhem: FHEM took 6054ms for readingsBeginUpdate($defs{'TUYAC_SensorT04'});;
2023-04-13 21:40:01,372 - ERROR    - fhempy.lib.fhem: FHEM took 6035ms for readingsBeginUpdate($defs{'TUYA_SCHFF4'});;
2023-04-13 21:40:01,374 - ERROR    - fhempy.lib.fhem: FHEM took 5999ms for readingsBeginUpdate($defs{'TUYAC_Camera1'});;
2023-04-13 21:40:01,377 - ERROR    - fhempy.lib.fhem: FHEM took 5104ms for foreach my $fhem_dev (sort keys %main::defs) {  return 1 if(defined($main::defs{$fhem_dev}{FHEMPYTYPE}) && $main::defs{$fhem_dev}{FHEMPYTYPE} eq 'tuya_cloud' && defined($main::defs{$fhem_dev}{DEVICEID}) && $main::defs{$fhem_dev}{DEVICEID} eq '045074212cf432ca0721');;}return 0;;
2023-04-13 21:40:02,471 - ERROR    - fhempy.lib.fhem: FHEM took 6022ms for readingsEndUpdate($defs{'TUYA_Temp10'},1);;
2023-04-13 21:40:02,698 - ERROR    - fhempy.lib.fhem: FHEM took 5157ms for AttrVal('TUYA_BULB02', 'dp_23', '')
2023-04-13 21:40:02,699 - ERROR    - fhempy.lib.fhem: FHEM took 5158ms for readingsBulkUpdate($defs{'TUYA_Temp06'},'uuid','a4c138739dae10fb');;
2023-04-13 21:40:02,701 - ERROR    - fhempy.lib.fhem: FHEM took 5158ms for AttrVal('TUYA_BULB01', 'dp_23', '')
2023-04-13 21:40:02,702 - ERROR    - fhempy.lib.fhem: FHEM took 5158ms for readingsBeginUpdate($defs{'TUYA_JL07'});;
2023-04-13 21:40:02,704 - ERROR    - fhempy.lib.fhem: FHEM took 5157ms for readingsBeginUpdate($defs{'TUYA_JL04'});;
2023-04-13 21:40:02,706 - ERROR    - fhempy.lib.fhem: FHEM took 5158ms for readingsBeginUpdate($defs{'TUYA_JL08'});;
2023-04-13 21:40:02,707 - ERROR    - fhempy.lib.fhem: FHEM took 5159ms for AttrVal('TUYA_JL24', 'dp_06', '')
2023-04-13 21:40:02,709 - ERROR    - fhempy.lib.fhem: FHEM took 5161ms for readingsBeginUpdate($defs{'TUYA_JL02'});;
2023-04-13 21:40:02,711 - ERROR    - fhempy.lib.fhem: FHEM took 5162ms for AttrVal('TUYA_JL27', 'dp_04', '')
2023-04-13 21:40:02,712 - ERROR    - fhempy.lib.fhem: FHEM took 5163ms for readingsBeginUpdate($defs{'TUYA_JL03'});;
2023-04-13 21:40:02,714 - ERROR    - fhempy.lib.fhem: FHEM took 5164ms for AttrVal('TUYA_JL35', 'dp_06', '')
2023-04-13 21:40:02,715 - ERROR    - fhempy.lib.fhem: FHEM took 5165ms for AttrVal('TUYA_JL36', 'dp_06', '')
2023-04-13 21:40:02,717 - ERROR    - fhempy.lib.fhem: FHEM took 5166ms for AttrVal('TUYA_JL33', 'dp_06', '')
2023-04-13 21:40:02,719 - ERROR    - fhempy.lib.fhem: FHEM took 5167ms for AttrVal('TUYA_JL28', 'dp_06', '')
2023-04-13 21:40:02,723 - ERROR    - fhempy.lib.fhem: FHEM took 5171ms for AttrVal('TUYA_JL34', 'dp_06', '')
2023-04-13 21:40:02,724 - ERROR    - fhempy.lib.fhem: FHEM took 5171ms for readingsBulkUpdate($defs{'TUYAC_SensorW04'},'state','normal');;
2023-04-13 21:40:02,725 - ERROR    - fhempy.lib.fhem: FHEM took 5171ms for AttrVal('TUYA_SP06', 'dp_20', '')
2023-04-13 21:40:02,727 - ERROR    - fhempy.lib.fhem: FHEM took 5172ms for AttrVal('TUYA_SP12', 'dp_20', '')
2023-04-13 21:40:02,727 - ERROR    - fhempy.lib.fhem: FHEM took 5172ms for AttrVal('TUYA_JL15', 'dp_01', '')
2023-04-13 21:40:02,729 - ERROR    - fhempy.lib.fhem: FHEM took 5173ms for AttrVal('TUYA_SP13', 'dp_20', '')
2023-04-13 21:40:02,730 - ERROR    - fhempy.lib.fhem: FHEM took 5174ms for AttrVal('TUYA_SP15', 'dp_20', '')
2023-04-13 21:40:02,732 - ERROR    - fhempy.lib.fhem: FHEM took 5161ms for readingsBeginUpdate($defs{'tuya_cloud_104380002462ab30258d'});;
2023-04-13 21:40:13,975 - ERROR    - fhempy.lib.fhem: FHEM took 5409ms for AttrVal('TUYA_PS5', 'dp_04', '')
2023-04-13 21:40:14,429 - ERROR    - fhempy.lib.fhem: FHEM took 5860ms for readingsEndUpdate($defs{'TUYA_SP01'},1);;
2023-04-13 21:40:14,648 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for readingsEndUpdate($defs{'TUYA_SP05'},1);;
2023-04-13 21:40:14,650 - ERROR    - fhempy.lib.fhem: FHEM took 6078ms for AttrVal('TUYA_SP11', 'dp_09', '')
2023-04-13 21:40:14,651 - ERROR    - fhempy.lib.fhem: FHEM took 6079ms for readingsBulkUpdate($defs{'TUYAC_Camera4'},'basic_osd','on');;
2023-04-13 21:40:14,865 - ERROR    - fhempy.lib.fhem: FHEM took 6291ms for readingsEndUpdate($defs{'TUYA_SP07'},1);;
2023-04-13 21:40:15,035 - ERROR    - fhempy.lib.fhem: FHEM took 6460ms for readingsBulkUpdate($defs{'TUYAC_Camera1'},'sd_storge','121882|7340|114542');;
2023-04-13 21:40:15,037 - ERROR    - fhempy.lib.fhem: FHEM took 5958ms for AttrVal('TUYA_BULB02', 'dp_22', '')
2023-04-13 21:40:15,254 - ERROR    - fhempy.lib.fhem: FHEM took 6174ms for readingsEndUpdate($defs{'TUYA_SP10'},1);;
2023-04-13 21:40:15,299 - ERROR    - fhempy.lib.fhem: FHEM took 6216ms for readingsBulkUpdate($defs{'TUYAC_Sir03'},'AlarmPeriod','15.0');;
2023-04-13 21:40:15,313 - ERROR    - fhempy.lib.fhem: FHEM took 6229ms for readingsEndUpdate($defs{'TUYAC_SensorW03'},1);;
2023-04-13 21:40:15,470 - ERROR    - fhempy.lib.fhem: FHEM took 6384ms for readingsEndUpdate($defs{'TUYA_Temp06'},1);;
2023-04-13 21:40:15,537 - ERROR    - fhempy.lib.fhem: FHEM took 6450ms for AttrVal('TUYA_BULB01', 'dp_22', '')
2023-04-13 21:40:15,759 - ERROR    - fhempy.lib.fhem: FHEM took 6670ms for readingsEndUpdate($defs{'TUYA_JL24'},1);;
2023-04-13 21:40:15,981 - ERROR    - fhempy.lib.fhem: FHEM took 6841ms for readingsEndUpdate($defs{'TUYA_JL35'},1);;
2023-04-13 21:40:16,203 - ERROR    - fhempy.lib.fhem: FHEM took 7063ms for readingsEndUpdate($defs{'TUYA_JL36'},1);;
2023-04-13 21:40:16,424 - ERROR    - fhempy.lib.fhem: FHEM took 7284ms for readingsEndUpdate($defs{'TUYA_JL33'},1);;
2023-04-13 21:40:19,083 - ERROR    - fhempy.lib.fhem: FHEM took 9942ms for readingsEndUpdate($defs{'TUYA_JL28'},1);;
2023-04-13 21:40:19,305 - ERROR    - fhempy.lib.fhem: FHEM took 10004ms for readingsEndUpdate($defs{'TUYA_JL34'},1);;
2023-04-13 21:40:23,934 - ERROR    - fhempy.lib.fhem: FHEM took 14632ms for readingsEndUpdate($defs{'TUYA_SP06'},1);;
2023-04-13 21:40:24,151 - ERROR    - fhempy.lib.fhem: FHEM took 14849ms for readingsEndUpdate($defs{'TUYA_SP12'},1);;
2023-04-13 21:40:24,368 - ERROR    - fhempy.lib.fhem: FHEM took 15065ms for readingsEndUpdate($defs{'TUYA_SP13'},1);;
2023-04-13 21:40:24,583 - ERROR    - fhempy.lib.fhem: FHEM took 15279ms for readingsEndUpdate($defs{'TUYA_SP15'},1);;
2023-04-13 21:42:06,228 - ERROR    - root: TUYA_JL15: readingsBeginUpdate couldn't acquire lock, caused by readingsBeginUpdate without End or Single update inbetween
2023-04-13 21:42:06,494 - ERROR    - fhempy.lib.fhem: FHEM took 117189ms for readingsEndUpdate($defs{'tuya_cloud_104380002462ab30258d'},1);;
2023-04-13 21:42:06,496 - ERROR    - fhempy.lib.fhem: FHEM took 117190ms for readingsBulkUpdate($defs{'TUYA_JL25'},'cur_voltage','230.4');;
2023-04-13 21:42:06,497 - ERROR    - fhempy.lib.fhem: FHEM took 117190ms for AttrVal('TUYA_PS3', 'dp_04', '')
2023-04-13 21:42:06,718 - ERROR    - fhempy.lib.fhem: FHEM took 117411ms for readingsEndUpdate($defs{'TUYA_SP04'},1);;
2023-04-13 21:42:06,759 - ERROR    - fhempy.lib.fhem: FHEM took 117451ms for AttrVal('TUYA_PS7', 'dp_02', '')
2023-04-13 21:42:06,759 - ERROR    - fhempy.lib.fhem: FHEM took 117450ms for readingsBulkUpdateIfChanged($defs{'TUYA_JL15'},'cur_current','0.0');;
2023-04-13 21:42:06,760 - ERROR    - fhempy.lib.fhem: FHEM took 117450ms for AttrVal('TUYA_SP16', 'dp_09', '')
2023-04-13 21:42:06,945 - ERROR    - fhempy.lib.fhem: FHEM took 117635ms for readingsEndUpdate($defs{'TUYA_SP09'},1);;
2023-04-13 21:42:06,989 - ERROR    - fhempy.lib.fhem: FHEM took 117679ms for readingsEndUpdate($defs{'tuya_cloud_bfe074c7ede8a9ad830m5q'},1);;
2023-04-13 21:42:06,990 - ERROR    - fhempy.lib.fhem: FHEM took 116897ms for foreach my $fhem_dev (sort keys %main::defs) {  return 1 if(defined($main::defs{$fhem_dev}{FHEMPYTYPE}) && $main::defs{$fhem_dev}{FHEMPYTYPE} eq 'tuya_cloud' && defined($main::defs{$fhem_dev}{DEVICEID}) && $main::defs{$fhem_dev}{DEVICEID} eq '2053863070039f16cebe');;}return 0;;
2023-04-13 21:42:06,990 - ERROR    - fhempy.lib.fhem: FHEM took 116639ms for readingsBulkUpdateIfChanged($defs{'TUYA_JL27'},'state','on');;
2023-04-13 21:42:06,991 - ERROR    - fhempy.lib.fhem: FHEM took 116442ms for readingsBulkUpdate($defs{'TUYAC_Camera3'},'sd_format','on');;
2023-04-13 21:42:06,992 - ERROR    - fhempy.lib.fhem: FHEM took 114130ms for readingsBeginUpdate($defs{'TUYA_SP16'});;
2023-04-13 21:42:06,994 - ERROR    - fhempy.lib.fhem: FHEM took 113022ms for readingsBeginUpdate($defs{'TUYA_Temp02'});;
2023-04-13 21:42:06,995 - ERROR    - fhempy.lib.fhem: FHEM took 113019ms for AttrVal('TUYA_PS5', 'dp_101', '')
2023-04-13 21:42:06,996 - ERROR    - fhempy.lib.fhem: FHEM took 112345ms for AttrVal('TUYA_SP11', 'dp_17', '')
2023-04-13 21:42:06,997 - ERROR    - fhempy.lib.fhem: FHEM took 112345ms for readingsBulkUpdate($defs{'TUYAC_Camera4'},'motion_sensitivity','1');;
2023-04-13 21:42:06,998 - ERROR    - fhempy.lib.fhem: FHEM took 111962ms for readingsBulkUpdate($defs{'TUYAC_Camera1'},'sd_status','0.1');;
2023-04-13 21:42:06,999 - ERROR    - fhempy.lib.fhem: FHEM took 111961ms for AttrVal('TUYA_BULB02', 'dp_23', '')
2023-04-13 21:42:07,000 - ERROR    - fhempy.lib.fhem: FHEM took 111700ms for readingsBulkUpdate($defs{'TUYAC_Sir03'},'AlarmSwitch','off');;
2023-04-13 21:42:07,001 - ERROR    - fhempy.lib.fhem: FHEM took 111464ms for AttrVal('TUYA_BULB01', 'dp_23', '')
2023-04-13 21:42:07,002 - ERROR    - fhempy.lib.fhem: FHEM took 108167ms for readingsBeginUpdate($defs{'TUYA_Temp06'});;
2023-04-13 21:42:07,003 - ERROR    - fhempy.lib.fhem: FHEM took 103293ms for readingsBeginUpdate($defs{'TUYA_SP11'});;
2023-04-13 21:42:07,004 - ERROR    - fhempy.lib.fhem: FHEM took 103267ms for readingsBeginUpdate($defs{'TUYA_SCHF2'});;
2023-04-13 21:42:08,416 - ERROR    - root: TUYA_JL15: readingsBulkUpdateIfChanged without readingsBeginUpdate: readingsBulkUpdateIfChanged($defs{'TUYA_JL15'},'cur_voltage','229.4');;
2023-04-13 21:42:08,416 - ERROR    - root: TUYA_JL15: readingsBulkUpdateIfChanged without readingsBeginUpdate: readingsBulkUpdateIfChanged($defs{'TUYA_JL15'},'online','1');;
2023-04-13 21:42:08,449 - ERROR    - TUYA_JL15: Exception raised by task: <Task finished name='Task-10240' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:216> exception=RuntimeError('Lock is not acquired.')>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 224, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 218, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 409, in async_status_updated
    await self.update_readings(status)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/tuya/tuya.py", line 724, in update_readings
    await fhem.readingsEndUpdate(self.hash, 1)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 180, in readingsEndUpdate
    update_locks[hash["NAME"]].release()
  File "/usr/lib/python3.9/asyncio/locks.py", line 146, in release
    raise RuntimeError('Lock is not acquired.')
RuntimeError: Lock is not acquired.
2023-04-13 21:43:00,664 - ERROR    - asyncio: Task was destroyed but it is pending!
task: <Task pending name='Task-4427' coro=<main() running at /opt/fhem/.local/lib/python3.9/site-packages/aiotinytuya/__init__.py:166> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb1887cd0>()]>>
2023-04-13 21:43:09,032 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:09,715 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:14,727 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:19,045 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:19,739 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:23,802 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:24,751 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:29,057 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:29,764 - WARNING  - asyncio: socket.send() raised exception.
2023-04-13 21:43:34,775 - WARNING  - asyncio: socket.send() raised exception.

fhem-log:

2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP01, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP02, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 1.3, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP03, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 28.2, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP04, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP05, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP06, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP07, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 5.2, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP08, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP09, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP10, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 50.1, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP11, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 5.5, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP12, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 16.9, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP13, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 51.1, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP14, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 6.6, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP15, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 7.5, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_SP16, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 7.6, Unit:
2023.04.13 21:34:25 5: redefine at command DbLog_addlog_TUYA_SP_cur_power as +*00:10:00 set dblog_THB addLog TUYA_SP.*:cur_power
2023.04.13 21:34:25 5: exec at command DbLog_addlog_TUYA_JL_cur_power
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL02, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 2: DbLog dblog_THB - Device: "TUYA_JL03", reading: ".*" excluded by attribute DbLogExclude from addLog !
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL04, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 19.4, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL05, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL06, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL07, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL08, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 2: DbLog dblog_THB - addLog WARNING - Device: 'TUYA_JL09' -> new Reading 'cur_power' has no value - can't add it !
2023.04.13 21:34:25 2: DbLog dblog_THB - addLog WARNING - Device: 'TUYA_JL10Z' -> new Reading 'cur_power' has no value - can't add it !
2023.04.13 21:34:25 2: DbLog dblog_THB - addLog WARNING - Device: 'TUYA_JL11Z' -> new Reading 'cur_power' has no value - can't add it !
2023.04.13 21:34:25 2: DbLog dblog_THB - addLog WARNING - Device: 'TUYA_JL12Z' -> new Reading 'cur_power' has no value - can't add it !
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL13, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL14, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 56.9, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL15, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL18, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL19, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL20, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL21, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL22, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 10.1, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL24, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL25, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL26, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL27, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL28, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL29, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL30, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL31, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 9.7, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL32, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 9.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL33, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL34, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL35, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_JL36, Type: FHEMPY, Event: addLog, Reading: cur_power, Value: 0.0, Unit:
2023.04.13 21:34:25 5: redefine at command DbLog_addlog_TUYA_JL_cur_power as +*00:10:00 set dblog_THB addLog TUYA_JL.*:cur_power
2023.04.13 21:34:25 5: exec at command DbLog_addlog_TUYA_TEMP_va_temperature
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp01, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 21.5, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp02, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 19.6, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp03, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 22.1, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp04, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 7.8, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp05, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 8.0, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp06, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 21.2, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp07, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 20.6, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp08, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 10.6, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp09, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 7.4, Unit:
2023.04.13 21:34:25 3: DbLog dblog_THB - addLog created - TS: 2023-04-13 21:34:25, Device: TUYA_Temp10, Type: FHEMPY, Event: addLog, Reading: va_temperature, Value: 7.6, Unit:
2023.04.13 21:34:25 5: redefine at command DbLog_addlog_TUYA_TEMP_va_temperature as +*00:10:00 set dblog_THB addLog TUYA_Temp.*:va_temperature
2023.04.13 21:36:42 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_BindingsIo.pm line 558.
2023.04.13 21:37:58 2: DbLog dblog_THB - Wait for last database cycle due to shutdown ...
2023.04.13 21:37:58 1: Server shutdown delayed due to dblog_THB,alexa for max 10 sec
2023.04.13 21:37:59 2: DbLog dblog_THB - Last database write cycle done
2023.04.13 21:38:01 3: alexa: read: end of file reached while sysread
2023.04.13 21:38:01 3: alexa: stopped
2023.04.13 21:38:01 0: Server shutdown
2023.04.13 21:38:01 2: DbLog dblog_THB - stopping SubProcess PID >20544< ...
2023.04.13 21:38:01 2: DbLog dblog_THB - SubProcess PID >20544< stopped
2023.04.13 21:38:04 1: Including fhem.cfg
2023.04.13 21:38:05 2: DbLog dblog_THB - Subprocess >22274< initialized ... ready for non-blocking operation
2023.04.13 21:38:06 3: telnetPort: port 7072 opened
2023.04.13 21:38:06 3: WEB: port 8083 opened
2023.04.13 21:38:06 3: WEBphone: port 8084 opened
2023.04.13 21:38:06 3: WEBtablet: port 8085 opened
2023.04.13 21:38:06 3: TelegramBot_Define TelegramBotTHB: called
2023.04.13 21:38:07 3: BindingsIo v1.0.1
2023.04.13 21:38:07 3: fhempyServer v1.0.0
2023.04.13 21:38:07 3: fhempy v1.0.0 (tuya_cloud: TUYA)
2023.04.13 21:38:07 3: fhempy v1.0.0 (tuya: tuya_system)
2023.04.13 21:38:07 3: Opening CUL_0 device /dev/ttyACM0
2023.04.13 21:38:07 3: Setting CUL_0 serial parameters to 9600,8,N,1
2023.04.13 21:38:07 3: CUL_0: Possible commands: BbCFiAZNkGMKUYRTVWXefmLltux
2023.04.13 21:38:07 3: CUL_0 device opened
2023.04.13 21:38:07 2: Switched CUL_0 rfmode to MAX
2023.04.13 21:38:07 3: Opening JLLaCR device /dev/ttyUSB0
2023.04.13 21:38:07 3: Setting JLLaCR serial parameters to 57600,8,N,1
2023.04.13 21:38:08 3: JLLaCR device opened
2023.04.13 21:38:08 1: PERL WARNING: Use of uninitialized value in numeric ge (>=) at ./FHEM/12_OilFox.pm line 387, <$fh> line 553.
2023.04.13 21:38:08 2: LOGIN TOKEN MISSING OR EXPIRED
2023.04.13 21:38:08 3: myOilFox - email set to bkt@gmx.net
2023.04.13 21:38:08 3: myOilFox - set interval: 36000
2023.04.13 21:38:08 3: myOilFox - password set to thbbkt25
2023.04.13 21:38:08 3: powerfox: Defined with URL https://bkt%40gmx.net:thbbkt25@backend.powerfox.energy/api/2.0/my/246f283cfeac/current and interval 60 featurelevel 6.2
2023.04.13 21:38:24 2: eventTypes: loaded 18314 lines from ./log/eventTypes.txt
2023.04.13 21:38:24 3: TX29_00: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_01: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_02: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_03: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_04: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_05: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_06: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_07: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_08: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_09: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_10: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_11: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_12: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX25IT_13: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_14: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_15: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_16: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_17: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_18: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_19: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_20: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_21: I/O device is JLLaCR
2023.04.13 21:38:24 3: TX29DTH_22: I/O device is JLLaCR
2023.04.13 21:38:24 3: HUEDevice2: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice4: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice5: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice6: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice7: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice8: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice10: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice17: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice18: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice19: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice20: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice22: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice23: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice24: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice25: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice27: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice28: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice29: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice30: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice31: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice32: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice33: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice38: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice39: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice40: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice41: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup0: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup1: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup2: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup3: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup4: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup5: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup6: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup7: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup8: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup9: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup10: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup11: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup12: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup13: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup14: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup15: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup16: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup17: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup18: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup19: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup20: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup21: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup22: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup23: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup24: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup25: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup26: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup27: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup28: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup29: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup30: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice44: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEGroup31: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor6: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor8: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor10: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor13: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor24: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor27: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor34: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor37: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor45: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice45: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice46: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice47: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice48: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice49: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice50: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice51: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor91: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor110: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUESensor1: I/O device is hueBridge1
2023.04.13 21:38:24 3: HUEDevice52: I/O device is hueBridge1
2023.04.13 21:38:24 1: MaxTemp: WT
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_BULB01)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_BULB02)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYA_BULB03)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera2)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera5)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Camera6)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_DIY1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_DIY3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_DIY4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLO1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLO2)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLOD2)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLO3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_EMYLO4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL02)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL03)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL04)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL05)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL06)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL07)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL08)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL09)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL10Z)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL11Z)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL12Z)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL13)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL14)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL15)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL18)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYA_JL19)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL20)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL21)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL22)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL24)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYA_JL25)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL26)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL27)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL28)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL29)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL30)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL31)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL32)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL33)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL34)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL35)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_JL36)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS5)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_PS7)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SCHF1)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SCHF2)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SCHF3)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya_cloud: TUYA_SCHFF4)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP01)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP02)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP03)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP04)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP05)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP06)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP07)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP08)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP09)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP10)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP11)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP12)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP13)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP14)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP15)
2023.04.13 21:38:25 3: fhempy v1.0.0 (tuya: TUYA_SP16)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_PIR01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_PIR02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_PIR03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT04)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorT05)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorW01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorW02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorW03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorW04)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Sir01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Sir02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Sir03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_Relais01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYAC_SensorSmoke01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya: TUYA_STF01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya: TUYA_STF02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya: TUYA_STF03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_STF04)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya: TUYA_MMG)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp01)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp02)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp03)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp05)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp06)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp04)
2023.04.13 21:38:26 1: PERL WARNING: Useless use of anonymous hash ({}) in void context at (eval 125) line 1, <$fh> line 6354.
2023.04.13 21:38:26 3: SST (SamsungSmartThingsConnector): define - CONNECTOR defined as SamsungSmartThingsConnector
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_5062137624a1600b6d62)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_4530056170039f4a87e5)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_104380002462ab30258d)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp07)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bfc65f1f693ce027f5avyd)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bf95f50f98d37da7235vba)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bfe6fb5a31840d5ca3dce6)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bf8430ea7591b4d534d4dp)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp09)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp08)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: TUYA_Temp10)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bf90689f7512fabbd0lonv)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bf99dd6c52e2de4e07ckuw)
2023.04.13 21:38:26 3: fhempy v1.0.0 (tuya_cloud: tuya_cloud_bfe074c7ede8a9ad830m5q)
2023.04.13 21:38:26 1: Including ./log/fhem.save
2023.04.13 21:38:35 1: Messages collected while initializing FHEM:SecurityCheck:
  WEBphone is not password protected
  WEB is not password protected
  telnetPort is not password protected
  WEBtablet is not password protected

Protect this FHEM installation by defining an allowed device with define allowed allowed
You can disable this message with attr global motd none

2023.04.13 21:38:36 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.04.13 21:38:36 3: alexa: starting
2023.04.13 21:38:36 3: alexa: using logfile: ./log/alexa-2023-04-13.log
2023.04.13 21:38:36 2: hueBridge1: autocreate: created 0/0/0 devices (ignored 0/2/26)
2023.04.13 21:38:37 3: n_global_INITIALIZED return value: Unknown command <set, try help.
2023.04.13 21:38:37 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.04.13 21:38:37 0: Featurelevel: 6.2
2023.04.13 21:38:37 0: Server started with 583 defined entities (fhem.pl:27410/2023-04-07 perl:5.032001 os:linux user:fhem pid:22273)
2023.04.13 21:38:38 3: DbLog dblog_THB - DB connection parameters are initialized in the SubProcess
2023.04.13 21:38:38 1: PERL WARNING: devspec2array *: Unknown verb pattern '' in regex; marked by <-- HERE in m/^(*) <-- HERE $/ at fhem.pl line 1354.
2023.04.13 21:38:38 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE :.*RSSI.*$/ at ./FHEM/93_DbLog.pm line 1299.
2023.04.13 21:38:45 3: DbLog dblog_THB - DB connection parameters are stored in SubProcess
2023.04.13 21:38:45 3: alexa: stopped
2023.04.13 21:38:45 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg
2023.04.13 21:38:45 3: alexa: starting
2023.04.13 21:38:45 3: alexa: using logfile: ./log/alexa-2023-04-13.log
2023.04.13 21:38:50 2: hueBridge1: http request failed: https://192.168.9.179/auth/v1: empty answer received
2023.04.13 21:38:50 2: hueBridge1: http request failed: https://192.168.9.179/eventstream/clip/v2: empty answer received
2023.04.13 21:38:50 2: hueBridge1: EventStream: terminated; retrying later
2023.04.13 21:38:53 2: {"token_type":"Bearer","access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJiNmU5ZDg5Ni1kMzMwLTRiMWYtODVhNS0wYjk4NGQyZWJiMDQiLCJhdWQiOiJVU0VSIiwic2NvcGUiOiJDVVNUT01FUl9BUEkiLCJpc3MiOiJvaWxmb3guaW8iLCJleHAiOjE2ODE0MTU2MzAsImp0aSI6IjMyMmJiOTAzLTQ2YjItNDRjNi1iOTQ4LTNmMzVkNDIzOGZjNCIsImVtYWlsIjoiYmt0QGdteC5uZXQifQ.1qguJrFhk0oBsWEnXvsv6uvQXIc2TSbOHpHzXvTEGXO965eIRMISKqPja2P2srrdOfjFqa8kCDK4RR0-oPaG6w","refresh_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzY29wZSI6IkNVU1RPTUVSX0FQSSIsImlzcyI6Im9pbGZveC5pbyIsImV4cCI6MTY4MjcxMDczMCwianRpIjoiMTI1Y2QwMGYtZjBlZi00ZDI1LTgzNWYtMDY0NDdjNDczM2Y2In0.2iQ8mLVXhszQJggciutZq_htc-Q7U6tDloiOavbe2zPtjjNFDzqZq1MOwCxvS2CBdapcAKU1it8bvIzzSLgHLA"}
2023.04.13 21:38:54 2: AttrTemplates: got 259 entries
2023.04.13 21:39:01 2: hueBridge1: http request failed: read from https://192.168.9.179:443 timed out
2023.04.13 21:39:08 2: error while requesting https://api.oilfox.io/customer-api/v1/device - read from https://api.oilfox.io:443 timed out
2023.04.13 21:39:09 3: DbLog dblog_THB - SubProcess connected to fhem
2023.04.13 21:41:50 2: hueBridge1: EventStream: event for unknown device received, trying to refresh resouces
2023.04.13 21:41:51 2: hueBridge1: autocreate: created 0/0/0 devices (ignored 0/2/26)

UpdaTES HABE ICH ALLEGEMACHT:

LG

tHOMAS
Auch ein restart von fhempy hilft nicht? Die SP sind doch die Zwischenstecker, oder?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

SouzA

Zitat von: SouzA am 13 April 2023, 12:21:43
Zitat von: dominik am 05 April 2023, 22:04:52
Zitat von: SouzA am 22 März 2023, 09:42:13Hallo liebe Leute,

habe hier nun endlich den ECO-DIM.07 WIFI integriert bekommen.
Der lässt sich laut Standardkonfig mit bright_value_1 von 0 bis 1000 dimmen.
Kriegt man es irgendwie hin, dass
1. man die Prozent also "pct" einstellen kann
und
2. es wirklich Prozent von 0 bis 100 sind?

Thx für eine kurze Rückmeldung.

Bis denn
SouzA

EDIT:
Der Grund für die Frage ist der, dass das Device zwar vom gassistant erkannt wird und on/off funktioniert. Dimmen halt nur nicht...
Das kann ich leider nicht so einfach anpassen. Diese Ranges werden von Tuya vorgegeben und ich versuche daran nichts zu ändern, damit das Modul einfach sehr generisch bleibt.
Versuch mal folgendes im homebridgeMapping
{
  "Brightness": {
    "cmd": "bright_value_1",
    "reading": "bright_value_1",
    "max": 1000,
    "maxValue": 100
  }
}


Danke Dominik,
das hat geklappt.
Jetzt funktioniert der Dimmer einwandfrei!

Thx und bis denn
SouzA

Ich muss da noch mal zurück rudern.
Jetzt ist es so, dass am nächsten Tag, das AN/AUS nicht mehr da ist im GH. Da gibt es diesen kleinen Schiebeschalter nicht mehr...
Erst nach "Aktualisiere meine Geräte" funktioniert wieder alles so wie gewünscht?!

Woran kann das liegen?

Thx & bis denn
SouzA
Raspi 4, EnOcean TCM310 USB, HM-MOD-UART-USB, Jeelink, hue, AMAD, fully, FRITZBOX, Signalbot, VIERA, Presence BT/Mac, TPLink, Gassistant, Shelly, fhempy, ZigBee

dominik

Machst du in der Nacht einen Reboot oder irgendwelche Restarts? Wenn bei einem Restart gassistant vor fhempy fertig wird, dann fehlen noch die Commands im Device.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

SouzA

Zitat von: dominik am 14 April 2023, 08:38:48Machst du in der Nacht einen Reboot oder irgendwelche Restarts? Wenn bei einem Restart gassistant vor fhempy fertig wird, dann fehlen noch die Commands im Device.
Alle paar Nächte mach ich nen automatisches Backup des Raspi.
Der startet danach aber eigentlich normal wieder fhem.

Das bedeutet aber eigentlich, dass das bei jedem normalem Restart von fhem passieren kann, oder?
Kann man da an irgendwelchen Einstellungen was drehen?

Thx & bis denn
SouzA
Raspi 4, EnOcean TCM310 USB, HM-MOD-UART-USB, Jeelink, hue, AMAD, fully, FRITZBOX, Signalbot, VIERA, Presence BT/Mac, TPLink, Gassistant, Shelly, fhempy, ZigBee

Maista

@dominik

Danke für deine Antwort.

ZitatDeine Interpretation von API KEY und SECRET ist richtig. Tuya hatte die Bezeichnung irgendwann geändert, in der Doku steht es leider noch alt. Was passiert wenn du scan_devices drückst?
Dachte schon ich hab etwas an den Augen ;)

Gestern Abend stand da nur "Ready". Heute steht das er scannt, nichts findet und lokal sucht.
Und nix findet.

Jetzt habe ich verbose auf 5 und nun sehe ich im Log folgendes:
Zitat2023.04.14 09:57:32 1: ws:127.0.0.1:15733 disconnected, waiting to reappear (fhempy_local)
2023.04.14 09:57:32 1: BindingsIo (fhempy_local): ERROR during connection setup: 127.0.0.1: Verbindungsaufbau abgelehnt (111)
2023.04.14 09:57:42 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_BindingsIo.pm line 558.
2023.04.14 09:57:42 1: ws:127.0.0.1:15733 reappeared (fhempy_local)
Stimmen hier irgend welche Rechte nicht?

Laufen tut das ganze auf einem Raspberry mit 8GByte.
Installation ist von 2022. Das Python-Gedöns ist gestern frisch installiert.

ZitatPRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

List von fhempy_local
Internals:
   BindingType fhempy
   DEF        fhempy
   DeviceName ws:127.0.0.1:15733
   FD         106
   FUUID      64380f8b-f33f-adfe-9ff4-48b4b5051fcedade
   FVERSION   10_BindingsIo.pm:0.182830/2019-01-16
   IP         127.0.0.1
   NAME       fhempy_local
   NR         1605
   NTFY_ORDER 50-fhempy_local
   PARTIAL   
   PORT       15733
   STATE      opened
   TYPE       BindingsIo
   WEBSOCKET  1
   binary     1
   connecttime 1681459062.93818
   devioLoglevel 0
   eventCount 16
   installing 0
   localBinding 1
   nextOpenDelay 10
   prev_error 127.0.0.1: Verbindungsaufbau abgelehnt (111)
   READINGS:
     2023-04-14 09:57:43   hostname        rpi00
     2023-04-14 09:57:43   os              posix
     2023-04-14 09:57:43   python          3.7.3
     2023-04-14 09:57:43   release         5.10.103-v7l+
     2023-04-14 09:57:42   state           opened
     2023-04-14 09:57:43   system          Linux
     2023-04-14 09:57:43   version         0.1.646
     2023-04-14 09:57:43   version_available 0.1.646
     2023-04-14 09:57:43   version_release_notes <html><a href="https://github.com/fhempy/fhempy/releases" target="_blank">Release Notes</a></html>
   args:
     fhempy_local
     BindingsIo
     fhempy
   messages:
     0:
     tuya_system:
Attributes:
   devStateIcon {      my $attr_ver = "1.1.0";;      my $status_img = "10px-kreis-gruen";;      my $status_txt = "connected";;      my $ver = ReadingsVal($name, "version", "-");;      my $ver_available = ReadingsVal($name, "version_available", $ver);;      my $update_icon = "";;      my $refresh_img = "refresh";;      my $refresh_txt = "Update fhempy";;      if ($ver_available ne $ver) {        $refresh_img = "refresh\@orange";;        $refresh_txt = "Version ".$ver_available." available for update";;      }      if (ReadingsVal($name, "state", "disconnected") eq "disconnected") {        $status_img = "10px-kreis-rot";;        $status_txt = "disconnected";;      }      $update_icon = "<a  href=\"/fhem?cmd.dummy=set $name update&XHR=1\" title=\"Start ".$ver_available." update\">".FW_makeImage($refresh_img, $refresh_txt)."</a>";;      my $restart_icon = "<a  href=\"/fhem?cmd.dummy=set $name restart&XHR=1\" title=\"Restart fhempy\">".FW_makeImage("control_reboot")."</a>";;      "<div><a>".FW_makeImage($status_img, $status_txt)."</a><a> ".$ver." </a>".$update_icon.$restart_icon."</div>"    }
   group      fhempy
   icon       file_json-ld2
   room       fhempy
   verbose    1

List fhempyserver_15733:
Internals:
   DEF        0
   FD         95
   FUUID      64380f8b-f33f-adfe-5359-e68e35041a68342c
   FVERSION   10_fhempyServer.pm:0.182830/2019-01-16
   LAST_START 2023-04-14 09:57:32
   LAST_STOP  2023-04-14 09:57:32
   NAME       fhempyserver_15733
   NR         1606
   NTFY_ORDER 50-fhempyserver_15733
   PID        29342
   STARTS     2
   STATE      ???
   TYPE       fhempyServer
   currentlogfile ./log/fhempy-2023-04-14.log
   eventCount 4
   logfile    ./log/fhempy-%Y-%m-%d.log
   CoProcess:
     cmdFn      fhempyServer_getCmd
     name       fhempy
     state      running FHEM/bindings/python/bin/fhempy
   READINGS:
     2023-04-14 09:57:32   fhempy          running FHEM/bindings/python/bin/fhempy
     2023-04-14 09:32:37   python          v3.7.3
Attributes:
   devStateIcon {      my $status_img = "10px-kreis-gruen";;      my $status_txt = "running";;      if (substr(ReadingsVal($name, "fhempy", "running"),0,7) ne "running") {        $status_img = "10px-kreis-rot";;        $status_txt = "stopped";;      }      "<div><a>".FW_makeImage($status_img, $status_txt)."</a><a  href=\"/fhem?cmd.dummy=set $name restart&XHR=1\" title=\"Kill and restart\">".FW_makeImage("audio_repeat")."</a></div>"      }
   group      fhempy
   icon       python
   logfile    ./log/fhempy-%Y-%m-%d.log
   nrarchive  10
   room       fhempy
   verbose    1

List tuya_system
Internals:
   API_KEY    s7xxxxxxxxxxxxxxx
   API_SECRET 2822ffxxxxxxxxxxxxxxxxxx
   DEF        tuya setup s7xxxxxxxxxxxxxxx 2822ffxxxxxxxxxxxxxxxxxx 1323xxxxxxxxxxxx
   DEVICEID   0
   FHEMPYTYPE tuya
   FUUID      643810f9-f33f-adfe-52ff-6d99c9e9b3dbd3bc
   FVERSION   10_fhempy.pm:0.182830/2019-01-16
   IODev      fhempy_local
   NAME       tuya_system
   NR         1608
   PYTHONTYPE tuya
   REGION     eu
   STATE      0 devices found localy
   TYPE       fhempy
   eventCount 15
   READINGS:
     2023-04-14 12:05:57   state           0 devices found localy
   args:
     tuya_system
     fhempy
     tuya
     setup
     s7xxxxxxxxxxxxxxx
     2822ffxxxxxxxxxxxxxxxxxx
     1323xxxxxxxxxxxx
   argsh:
   hmccu:
Attributes:
   group      tuya
   icon       rc_SETUP
   room       fhempy
   verbose    5

Im fhempy-Log von heute steht:
2023-04-14 09:31:51,653 - INFO     - fhempy.lib.fhem_pythonbinding: Start update...
2023-04-14 09:31:51,655 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2023-04-14 09:31:58,007 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2023-04-14 09:31:59,804 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
2023-04-14 09:31:59,806 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2023-04-14 09:31:59,807 - INFO     - websockets.server: server closing
2023-04-14 09:32:38,809 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.646...
2023-04-14 09:32:38,817 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-14 09:32:38,852 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-14 09:32:43,541 - INFO     - websockets.server: connection open
2023-04-14 09:32:43,542 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-04-14 09:57:15,817 - INFO     - fhempy.lib.fhem_pythonbinding: Start update...
2023-04-14 09:57:15,819 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2023-04-14 09:57:22,206 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2023-04-14 09:57:22,251 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
2023-04-14 09:57:22,252 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2023-04-14 09:57:22,253 - INFO     - websockets.server: server closing
2023-04-14 09:57:32,259 - INFO     - websockets.server: connection closed
2023-04-14 09:57:32,259 - INFO     - websockets.server: server closed
2023-04-14 09:57:32,260 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
2023-04-14 09:57:33,348 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.646...
2023-04-14 09:57:33,355 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-14 09:57:33,387 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-14 09:57:42,935 - INFO     - websockets.server: connection open
2023-04-14 09:57:42,936 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-04-14 09:58:21,533 - ERROR    - tuya_system: Exception raised by task: <Task finished coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/generic.py:216> exception=KeyError('has_more')>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/generic.py", line 224, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/generic.py", line 218, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/tuya/tuya.py", line 738, in _scan_devices
    functools.partial(self.tuya_cloud.getdevices, verbose=True)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/utils.py", line 72, 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/aiotinytuya/Cloud.py", line 366, in getdevices
    json_data = self._get_all_devices()
  File "/opt/fhem/.local/lib/python3.7/site-packages/aiotinytuya/Cloud.py", line 336, in _get_all_devices
    has_more = result[i]['has_more']
KeyError: 'has_more'
2023-04-14 11:53:12,939 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 385, in handle_function
    ret = await self.execute_function(hash, fhem_reply_done, nmInstance)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 486, in execute_function
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/generic.py", line 208, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/utils.py", line 335, in handle_set
    return await fct_call(hash, final_params)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/tuya/tuya.py", line 262, in set_create_device
    nameid = params["name"]
KeyError: 'name'
 with hash: {'NAME': 'tuya_system', 'defargsh': {}, 'msgtype': 'function', 'id': 59252170, 'defargs': ['tuya_system', 'fhempy', 'tuya', 'setup', 's7rrmtmpfka4vg5y9twf', '2822ff4bc11f4c24b666d43f3cfbdc2e', '1323440510521cfbab65'], 'FHEMPYTYPE': 'tuya', 'argsh': {}, 'args': ['tuya_system', 'create_device'], 'function': 'Set', 'PYTHONTYPE': 'tuya'}
2023-04-14 11:53:49,590 - DEBUG    - tuya_system: Device Listing
2023-04-14 11:53:49,591 - DEBUG    - tuya_system: []
2023-04-14 11:53:49,597 - DEBUG    - tuya_system: Scan local devices...
2023-04-14 11:54:09,648 - DEBUG    - tuya_system: Polling local devices...
2023-04-14 11:57:18,851 - DEBUG    - tuya_system: Device Listing
2023-04-14 11:57:18,852 - DEBUG    - tuya_system: []
2023-04-14 11:57:18,857 - DEBUG    - tuya_system: Scan local devices...
2023-04-14 11:57:38,907 - DEBUG    - tuya_system: Polling local devices...
2023-04-14 12:05:37,783 - DEBUG    - tuya_system: Device Listing
2023-04-14 12:05:37,783 - DEBUG    - tuya_system: []
2023-04-14 12:05:37,789 - DEBUG    - tuya_system: Scan local devices...
2023-04-14 12:05:57,837 - DEBUG    - tuya_system: Polling local devices...
2023-04-14 12:13:28,288 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
2023-04-14 12:13:28,289 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2023-04-14 12:13:28,290 - INFO     - websockets.server: server closing
2023-04-14 12:13:38,307 - INFO     - websockets.server: connection closed
2023-04-14 12:13:38,308 - INFO     - websockets.server: server closed
2023-04-14 12:13:38,310 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
2023-04-14 12:13:39,438 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.646...
2023-04-14 12:13:39,445 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-04-14 12:13:39,477 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-04-14 12:13:48,457 - INFO     - websockets.server: connection open
2023-04-14 12:13:48,458 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-04-14 12:14:02,214 - DEBUG    - tuya_system: Device Listing
2023-04-14 12:14:02,215 - DEBUG    - tuya_system: []
2023-04-14 12:14:02,221 - DEBUG    - tuya_system: Scan local devices...
2023-04-14 12:14:22,289 - DEBUG    - tuya_system: Polling local devices...
2023-04-14 12:16:36,242 - DEBUG    - tuya_system: Device Listing
2023-04-14 12:16:36,242 - DEBUG    - tuya_system: []
2023-04-14 12:16:36,248 - DEBUG    - tuya_system: Scan local devices...
2023-04-14 12:16:56,295 - DEBUG    - tuya_system: Polling local devices...
Falls das relevant sein sollte.

Danke Dir schon mal für die Antwort.

Gruss Gerd