fhempy: Tuya Cloud

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

Vorheriges Thema - Nächstes Thema

thburkhart

Zitat von: dominik am 31 Januar 2023, 17:12:00
Nachdem du so viele NO RESPONSE hast, gehe ich davon aus, dass auch die Abfrage nach vorhandenen DEVICEIDs aus FHEM keine Antwort geliefert hat. Nur in so einem Fall, werden die doppelt angelegt, sonst nicht.
ja das trifft für für einen Teil zu. Z.B. Das EMYLO Device ist jedoch Online

Zitat von: dominik am 31 Januar 2023, 17:12:00


Bekommst du die NO RESPONSE nach jedem fhempy Neustart? Ich versuche die Thematik gerade einzugrenzen, ob es wirklich am überlasteten FHEM liegt, oder noch andere Gründe hat.
habe ich aktuell nach Neustart FHEM bekommen:

2023-01-31 17:48:20,986 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_EMYLO4'},'state','off');;
2023-01-31 17:48:20,987 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP11'},'countdown_1','0.0');;
2023-01-31 17:48:20,988 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_BULB2'},'temp_value_v2','0.0');;
2023-01-31 17:48:20,989 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP07'},'state','off');;
2023-01-31 17:48:20,990 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP09'},'countdown_1','0.0');;
2023-01-31 17:48:20,991 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL09'},'countdown_1','0.0');;
2023-01-31 17:48:20,992 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SCHF1'},'state','on');;
2023-01-31 17:48:20,993 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP03'},'cur_power','27.0');;
2023-01-31 17:48:20,997 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL26'},'cur_current','0.0');;
2023-01-31 17:48:20,998 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL33'},'state','on');;
2023-01-31 17:48:20,999 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL21'},'cur_current','0.0');;
2023-01-31 17:48:20,999 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL31'},'cur_current','0.0');;
2023-01-31 17:48:20,999 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_MMG'},'master_state','normal');;
2023-01-31 17:48:21,000 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL24'},'cur_current','0.0');;
2023-01-31 17:48:21,002 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL20'},'cur_current','0.0');;
2023-01-31 17:48:21,003 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_PS2'},'switch_2','on');;
2023-01-31 17:48:21,004 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_STF1'},'relay_status','0');;
2023-01-31 17:48:21,005 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsEndUpdate($defs{'TUYA_EMYLO1'},1);;
2023-01-31 17:48:21,005 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsEndUpdate($defs{'TUYA_DIY3'},1);;
2023-01-31 17:48:21,006 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'TUYA_JL13'});;
2023-01-31 17:48:21,037 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP05'},'countdown_1','0.0');;
2023-01-31 17:48:21,039 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL34'},'countdown_1','0.0');;
2023-01-31 17:48:21,041 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL35'},'countdown_1','0.0');;
2023-01-31 17:48:21,043 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL36'},'countdown_1','0.0');;
2023-01-31 17:48:21,045 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP13'},'countdown_1','0.0');;
2023-01-31 17:48:21,047 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP01'},'countdown_1','0.0');;
2023-01-31 17:48:21,049 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL28'},'countdown_1','0.0');;
2023-01-31 17:48:21,050 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL15'},'countdown_1','0.0');;
2023-01-31 17:48:21,052 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP15'},'cur_current','38.0');;
2023-01-31 17:48:21,054 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP14'},'cur_current','81.0');;
2023-01-31 17:48:21,056 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL07'},'cur_power','0.0');;
2023-01-31 17:48:21,058 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SCHF2'},'switch_2','on');;
2023-01-31 17:48:21,060 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsEndUpdate($defs{'TUYA_EMYLO3'},1);;
2023-01-31 17:48:21,061 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL08'},'countdown_1','0.0');;
2023-01-31 17:48:21,063 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP12'},'dp_24','20947');;
2023-01-31 17:48:21,065 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL04'},'countdown_1','0.0');;
2023-01-31 17:48:21,067 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL18'},'countdown_1','0.0');;
2023-01-31 17:48:21,069 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP06'},'countdown_1','0.0');;
2023-01-31 17:48:21,071 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP02'},'cur_current','0.0');;
2023-01-31 17:48:21,072 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL27'},'countdown_1','0.0');;
2023-01-31 17:48:21,074 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL25'},'countdown_1','0.0');;
2023-01-31 17:48:21,076 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL29'},'countdown_1','0.0');;
2023-01-31 17:48:21,077 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsEndUpdate($defs{'TUYA_SCHF3'},1);;
2023-01-31 17:48:21,078 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_STF2'},'relay_status','0');;
2023-01-31 17:48:21,079 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP08'},'cur_current','0.0');;
2023-01-31 17:48:21,081 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL11Z'},'countdown_1','0.0');;
2023-01-31 17:48:21,082 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP16'},'cur_current','14.0');;


das sind die local- Devices, die aber in der Mehrzahl am Netz sind.
der room fhempy hat eben 30 min gebraucht, bis er wieder angezeigt wurde. In der Zeit passiert wohl intensiver Traffic zwischen PC und RASPI, sodass auch meine Internet-Verbing ausgebremst werden z.B. Outlook.

in tuya_cloud tauchen alle 36 Stecker-Schalter doppelt zu tuya auf; egal ob online oder offline

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

thburkhart

btw

gerne stehe ich dir zum Nachstellen, Überprüfung per TeamViewer zu Verfügung, sofern hilfreich
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

thburkhart

update

nach der erwähnten Gedenkpause:

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 18:09:04,181 - ERROR    - fhempy.lib.fhem: FHEM took 20028ms for readingsEndUpdate($defs{'TUYA_JL15'},1);;
2023-01-31 18:09:04,294 - ERROR    - fhempy.lib.fhem: FHEM took 20142ms for readingsEndUpdate($defs{'TUYA_JL29'},1);;
2023-01-31 18:09:19,605 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsEndUpdate($defs{'tuya_cloud_bf4ae6b15fe239b42bxvpl'},1);;
2023-01-31 18:09:36,133 - ERROR    - fhempy.lib.fhem: FHEM took 26983ms for readingsEndUpdate($defs{'TUYA_JL33'},1);;
2023-01-31 18:09:55,760 - ERROR    - root: tuya_cloud_22230808807d3a23186b: readingsBeginUpdate couldn't acquire lock, caused by readingsBeginUpdate without End or Single update inbetween
2023-01-31 18:09:57,859 - ERROR    - root: tuya_cloud_22230808807d3a23186b: readingsBeginUpdate couldn't acquire lock, caused by readingsBeginUpdate without End or Single update inbetween
2023-01-31 18:10:09,109 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdate($defs{'tuya_cloud_22230808bcddc213f838'},'state','off');;
2023-01-31 18:10:09,110 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_SP11'},'cur_current','83.0');;
2023-01-31 18:10:09,110 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdateIfChanged($defs{'TUYA_JL13'},'cur_voltage','222.5');;
2023-01-31 18:10:09,110 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_cloud_22230808807d3a231039'});;
2023-01-31 18:10:09,230 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdate($defs{'tuya_cloud_22230808807d3a23186b'},'cur_voltage','221.1');;
2023-01-31 18:10:39,096 - ERROR    - fhempy.lib.fhem: FHEM took 25720ms for readingsEndUpdate($defs{'TUYA_JL18'},1);;
2023-01-31 18:10:39,229 - ERROR    - fhempy.lib.fhem: FHEM took 25858ms for readingsEndUpdate($defs{'TUYA_JL33'},1);;
2023-01-31 18:10:39,706 - ERROR    - fhempy.lib.fhem: FHEM took 26337ms for readingsEndUpdate($defs{'TUYA_JL15'},1);;
2023-01-31 18:10:50,064 - ERROR    - fhempy.lib.fhem: FHEM took 36811ms for readingsEndUpdate($defs{'TUYA_JL31'},1);;
2023-01-31 18:10:50,185 - ERROR    - fhempy.lib.fhem: FHEM took 36936ms for readingsEndUpdate($defs{'TUYA_JL04'},1);;
2023-01-31 18:10:54,267 - ERROR    - fhempy.lib.fhem: FHEM took 41494ms for readingsEndUpdate($defs{'tuya_cloud_22230808807d3a23186b'},1);;
2023-01-31 18:10:56,589 - ERROR    - fhempy.lib.fhem: FHEM took 43954ms for readingsEndUpdate($defs{'TUYA_JL20'},1);;
2023-01-31 18:11:08,281 - ERROR    - fhempy.lib.fhem: FHEM took 55648ms for readingsEndUpdate($defs{'TUYA_JL21'},1);;
2023-01-31 18:11:08,283 - ERROR    - fhempy.lib.fhem: FHEM took 58480ms for readingsEndUpdate($defs{'tuya_cloud_22230808bcddc213f838'},1);;
2023-01-31 18:11:36,374 - ERROR    - fhempy.lib.fhem: FHEM took 22771ms for readingsEndUpdate($defs{'TUYA_JL13'},1);;
2023-01-31 18:11:36,498 - ERROR    - fhempy.lib.fhem: FHEM took 22904ms for readingsEndUpdate($defs{'tuya_cloud_22230808807d3a231039'},1);;

da tauchen nun auch auch _cloud devices auf

'tuya_cloud_22230808807d3a23186b entspircht JL04 local   und schaltet den Rechner, an dem ich eben sitze. Ist eben Doppelt
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

probier es bitte mit 0.1.584.

Damit sollte nun keine Devices doppelt angelegt werden und hoffentlich auch kein NO RESPONSE kommen. Bitte sowohl fhempy update UND FHEM update. Danach musst du shutdown restart machen, wg. FHEM update.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

thburkhart

Zitat von: dominik am 31 Januar 2023, 18:31:35
probier es bitte mit 0.1.584.

Damit sollte nun keine Devices doppelt angelegt werden und hoffentlich auch kein NO RESPONSE kommen. Bitte sowohl fhempy update UND FHEM update. Danach musst du shutdown restart machen, wg. FHEM update.

ok
genau in der Reihenfolge ?  werden die doppelten dann beseitigt oder soll ich manuell in der .cfg löschen?
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

1. Doppelten löschen
2. set fhempy_local update
3. update
4. shutdown restart
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

stefanru

#756
Ok,
fhempy.log zeigt ein ziemlich ähnliches Verhalten wie das von thburkhart.


023-01-31 20:21:32,565 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdate($defs{'Stefan_Tablet_bf0572e0fb6ccbe356ykuh'},'overcharge_switch','off');;
2023-01-31 20:21:35,602 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bfb7810a3e397c5fa4u7ud'});;
2023-01-31 20:21:35,606 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bf68d9b41c16be3713vcc1'});;
2023-01-31 20:21:35,613 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bf7bbcb9a4b03a2c97cqid'});;
2023-01-31 20:21:35,640 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bf881b7977c814af88jmrc'});;
2023-01-31 20:21:35,651 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'Fernseher_bfb7810a3e397c5fa4u7ud'});;
2023-01-31 20:21:35,658 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'Fernseher_Wohnzimmer_bf7bbcb9a4b03a2c97cqid'});;
2023-01-31 20:21:35,663 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'Sybille_Tablet_bf68d9b41c16be3713vcc1'});;
2023-01-31 20:21:35,683 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:21:39,599 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:21:40,696 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:21:45,708 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:21:49,611 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:21:50,721 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:21:55,734 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:21:59,625 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:21:59,635 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:00,748 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:05,762 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:09,640 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:10,777 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:15,791 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:19,653 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:20,805 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:25,820 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:29,665 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:30,833 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:35,847 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:39,679 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:40,861 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:45,874 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:49,691 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:50,887 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:55,901 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:59,650 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:22:59,704 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:00,123 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdate($defs{'Stefan_Tablet_bf0572e0fb6ccbe356ykuh'},'cur_voltage','232.5');;
2023-01-31 20:23:00,125 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdate($defs{'Fernseher_Wohnzimmer_bf7bbcb9a4b03a2c97cqid'},'add_ele','0.1');;
2023-01-31 20:23:00,915 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:05,929 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:09,717 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:10,946 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:15,959 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:19,730 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:20,971 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:25,984 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:29,743 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:30,999 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:36,013 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:39,756 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:41,026 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:46,040 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:49,770 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:51,054 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:56,067 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:59,665 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:23:59,783 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:01,081 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:06,094 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:09,795 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:11,108 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:16,121 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:19,809 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:21,135 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:26,149 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:29,822 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:31,161 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:36,174 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:39,837 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:41,187 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:46,200 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:49,849 - WARNING  - asyncio: socket.send() raised exception.
2023-01-31 20:24:51,214 - WARNING  - asyncio: socket.send() raised exception.


Ich update auch und mach ein restart.

Danke,
Stefan

stefanru

Ok,

habe geupdated und gleich beim starten folgendes im fhempy.log:

2023-01-31 20:32:47,440 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.584...
2023-01-31 20:32:47,446 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-01-31 20:32:47,527 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-01-31 20:32:56,018 - INFO     - websockets.server: connection open
2023-01-31 20:32:56,019 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-01-31 20:36:22,987 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.584...
2023-01-31 20:36:22,993 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-01-31 20:36:23,076 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-01-31 20:36:28,489 - INFO     - websockets.server: connection open
2023-01-31 20:36:28,490 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-01-31 20:37:32,521 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bf0572e0fb6ccbe356ykuh'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf0572e0fb6ccbe356ykuh'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf0572e0fb6ccbe356ykuh'},1);;
2023-01-31 20:37:32,534 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bf68d9b41c16be3713vcc1'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf68d9b41c16be3713vcc1'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf68d9b41c16be3713vcc1'},1);;
2023-01-31 20:37:32,548 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bf4f644bc7dd2fc71d9q52'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf4f644bc7dd2fc71d9q52'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf4f644bc7dd2fc71d9q52'},1);;
2023-01-31 20:37:32,562 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bf7bbcb9a4b03a2c97cqid'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf7bbcb9a4b03a2c97cqid'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf7bbcb9a4b03a2c97cqid'},1);;
2023-01-31 20:37:32,576 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsSingleUpdate($defs{'tuya_system'},'state','ready',1)
2023-01-31 20:37:32,593 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bffa550a829a269630vhcn'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bffa550a829a269630vhcn'},'online','0');;readingsEndUpdate($defs{'tuya_local_bffa550a829a269630vhcn'},1);;
2023-01-31 20:37:32,606 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bfb7810a3e397c5fa4u7ud'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bfb7810a3e397c5fa4u7ud'},'online','0');;readingsEndUpdate($defs{'tuya_local_bfb7810a3e397c5fa4u7ud'},1);;
2023-01-31 20:37:32,621 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_local_bf881b7977c814af88jmrc'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf881b7977c814af88jmrc'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf881b7977c814af88jmrc'},1);;
2023-01-31 20:37:32,634 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsSingleUpdate($defs{'Computer_Stefan_bf881b7977c814af88jmrc'},'state','ready',1)
2023-01-31 20:37:32,649 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsSingleUpdate($defs{'Fernseher_Schlafzimmer_bf4f644bc7dd2fc71d9q52'},'state','ready',1)
2023-01-31 20:37:32,667 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsSingleUpdate($defs{'Fernseher_Wohnzimmer_bf7bbcb9a4b03a2c97cqid'},'state','ready',1)
2023-01-31 20:37:33,374 - ERROR    - fhempy.lib.fhem: FHEM took 60740ms for readingsSingleUpdate($defs{'Computer_Stefan_bf881b7977c814af88jmrc'},'state','ready',1)
2023-01-31 20:37:33,375 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str
2023-01-31 20:37:33,380 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'awaitId': 89332287, 'error': 0, 'result': 'ready'}
2023-01-31 20:37:33,381 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: b'{"awaitId":89332287,"error":0,"result":"ready"}'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 20:37:33,418 - ERROR    - fhempy.lib.fhem: FHEM took 60798ms for readingsBeginUpdate($defs{'tuya_local_bf881b7977c814af88jmrc'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf881b7977c814af88jmrc'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf881b7977c814af88jmrc'},1);;
2023-01-31 20:37:33,418 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str
2023-01-31 20:37:33,420 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'error': 0, 'awaitId': 87965765, 'result': None}
2023-01-31 20:37:33,421 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: b'{"error":0,"awaitId":87965765,"result":null}'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 20:37:33,473 - ERROR    - fhempy.lib.fhem: FHEM took 60869ms for readingsBeginUpdate($defs{'tuya_local_bfb7810a3e397c5fa4u7ud'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bfb7810a3e397c5fa4u7ud'},'online','0');;readingsEndUpdate($defs{'tuya_local_bfb7810a3e397c5fa4u7ud'},1);;
2023-01-31 20:37:33,474 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str
2023-01-31 20:37:33,476 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'error': 0, 'awaitId': 18804558, 'result': None}
2023-01-31 20:37:33,477 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: b'{"error":0,"awaitId":18804558,"result":null}'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 20:37:33,520 - ERROR    - fhempy.lib.fhem: FHEM took 60929ms for readingsBeginUpdate($defs{'tuya_local_bffa550a829a269630vhcn'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bffa550a829a269630vhcn'},'online','0');;readingsEndUpdate($defs{'tuya_local_bffa550a829a269630vhcn'},1);;
2023-01-31 20:37:33,520 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str
2023-01-31 20:37:33,522 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'result': None, 'awaitId': 86032985, 'error': 0}
2023-01-31 20:37:33,523 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: b'{"result":null,"awaitId":86032985,"error":0}'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 20:37:33,571 - ERROR    - fhempy.lib.fhem: FHEM took 60995ms for readingsSingleUpdate($defs{'tuya_system'},'state','ready',1)
2023-01-31 20:37:33,572 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str
2023-01-31 20:37:33,574 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'awaitId': 82188327, 'error': 0, 'result': 'ready'}
2023-01-31 20:37:33,575 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: b'{"awaitId":82188327,"error":0,"result":"ready"}'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 20:37:33,748 - ERROR    - fhempy.lib.fhem: FHEM took 61188ms for readingsBeginUpdate($defs{'tuya_local_bf7bbcb9a4b03a2c97cqid'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf7bbcb9a4b03a2c97cqid'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf7bbcb9a4b03a2c97cqid'},1);;
2023-01-31 20:37:33,749 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str
2023-01-31 20:37:33,751 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'error': 0, 'awaitId': 78782641, 'result': None}
2023-01-31 20:37:33,751 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: b'{"error":0,"awaitId":78782641,"result":null}'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 20:37:34,057 - ERROR    - fhempy.lib.fhem: FHEM took 61510ms for readingsBeginUpdate($defs{'tuya_local_bf4f644bc7dd2fc71d9q52'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf4f644bc7dd2fc71d9q52'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf4f644bc7dd2fc71d9q52'},1);;
2023-01-31 20:37:34,058 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str
2023-01-31 20:37:34,059 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'awaitId': 14743269, 'error': 0, 'result': None}
2023-01-31 20:37:34,059 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: b'{"awaitId":14743269,"error":0,"result":null}'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 20:37:34,138 - ERROR    - fhempy.lib.fhem: FHEM took 61606ms for readingsBeginUpdate($defs{'tuya_local_bf68d9b41c16be3713vcc1'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf68d9b41c16be3713vcc1'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf68d9b41c16be3713vcc1'},1);;
2023-01-31 20:37:34,138 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str
2023-01-31 20:37:34,140 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'awaitId': 81706277, 'error': 0, 'result': None}
2023-01-31 20:37:34,140 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: b'{"awaitId":81706277,"error":0,"result":null}'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 20:37:34,193 - ERROR    - fhempy.lib.fhem: FHEM took 61676ms for readingsBeginUpdate($defs{'tuya_local_bf0572e0fb6ccbe356ykuh'});;readingsBulkUpdateIfChanged($defs{'tuya_local_bf0572e0fb6ccbe356ykuh'},'online','0');;readingsEndUpdate($defs{'tuya_local_bf0572e0fb6ccbe356ykuh'},1);;
2023-01-31 20:37:34,194 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message:
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str
2023-01-31 20:37:34,195 - ERROR    - fhempy.lib.fhem_pythonbinding: fhempy failed to handle message with hash: {'awaitId': 12266838, 'error': 0, 'result': None}
2023-01-31 20:37:34,196 - ERROR    - fhempy.lib.fhem_pythonbinding: Failed to handle message: b'{"awaitId":12266838,"error":0,"result":null}'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 360, in listener
    fut.set_result(rmsg)
asyncio.exceptions.InvalidStateError: invalid state

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 211, in _onMessage
    await self.handle_message(msg, hash)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 221, in handle_message
    listener["func"](msg)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 362, in listener
    logger.error("Failed to set result, received: " + rmsg)
TypeError: can only concatenate str (not "dict") to str

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 180, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 214, 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 132, in sendBackError
    duration = (time.time() - id_received_timestamp[retHash["id"]]) * 1000
KeyError: 'id'
2023-01-31 20:37:36,655 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsSingleUpdate($defs{'tuya_cloud_connector'},'state','connected',1)
2023-01-31 20:37:37,360 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'tuya_cloud_bffa550a829a269630vhcn'});;
2023-01-31 20:37:37,445 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'Sybille_Tablet_bf68d9b41c16be3713vcc1'});;
2023-01-31 20:37:37,774 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBeginUpdate($defs{'Stefan_Tablet_bf0572e0fb6ccbe356ykuh'});;
2023-01-31 20:44:45,374 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: readingsBulkUpdate($defs{'Stefan_Tablet_bf0572e0fb6ccbe356ykuh'},'relay_status','last');;


Und das im fhem.log:


2023.01.31 20:37:37 1: readingsUpdate(tuya_cloud_bffa550a829a269630vhcn,active_time,1674825254) missed to call readingsBeginUpdate first.
2023.01.31 20:37:37 1: stacktrace:
2023.01.31 20:37:37 1:     main::readingsBulkUpdate            called by (eval 1748) (1)
2023.01.31 20:37:37 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:37 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:37 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:37 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:37 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:37 1: readingsUpdate(Sybille_Tablet_bf68d9b41c16be3713vcc1,active_time,1638468323) missed to call readingsBeginUpdate first.
2023.01.31 20:37:37 1: stacktrace:
2023.01.31 20:37:37 1:     main::readingsBulkUpdate            called by (eval 1749) (1)
2023.01.31 20:37:37 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:37 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:37 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:37 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:37 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:37 1: readingsUpdate(tuya_cloud_bffa550a829a269630vhcn,biz_type,0) missed to call readingsBeginUpdate first.
2023.01.31 20:37:37 1: stacktrace:
2023.01.31 20:37:37 1:     main::readingsBulkUpdate            called by (eval 1819) (1)
2023.01.31 20:37:37 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:37 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:37 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:37 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:37 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:37 1: readingsUpdate(Sybille_Tablet_bf68d9b41c16be3713vcc1,biz_type,0) missed to call readingsBeginUpdate first.
2023.01.31 20:37:37 1: stacktrace:
2023.01.31 20:37:37 1:     main::readingsBulkUpdate            called by (eval 1820) (1)
2023.01.31 20:37:37 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:37 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:37 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:37 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:37 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:37 1: readingsUpdate(Stefan_Tablet_bf0572e0fb6ccbe356ykuh,active_time,1638460188) missed to call readingsBeginUpdate first.
2023.01.31 20:37:37 1: stacktrace:
2023.01.31 20:37:37 1:     main::readingsBulkUpdate            called by (eval 1821) (1)
2023.01.31 20:37:37 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:37 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:37 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:37 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:37 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:38 1: readingsUpdate(tuya_cloud_bffa550a829a269630vhcn,category,wsdcg) missed to call readingsBeginUpdate first.
2023.01.31 20:37:38 1: stacktrace:
2023.01.31 20:37:38 1:     main::readingsBulkUpdate            called by (eval 1852) (1)
2023.01.31 20:37:38 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:38 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:38 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:38 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:38 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:38 1: readingsUpdate(Sybille_Tablet_bf68d9b41c16be3713vcc1,category,cz) missed to call readingsBeginUpdate first.
2023.01.31 20:37:38 1: stacktrace:
2023.01.31 20:37:38 1:     main::readingsBulkUpdate            called by (eval 1853) (1)
2023.01.31 20:37:38 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:38 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:38 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:38 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:38 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:38 1: readingsUpdate(Stefan_Tablet_bf0572e0fb6ccbe356ykuh,biz_type,0) missed to call readingsBeginUpdate first.
2023.01.31 20:37:38 1: stacktrace:
2023.01.31 20:37:38 1:     main::readingsBulkUpdate            called by (eval 1854) (1)
2023.01.31 20:37:38 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:38 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:38 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:38 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:38 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:38 1: readingsUpdate(tuya_cloud_bffa550a829a269630vhcn,create_time,1674825254) missed to call readingsBeginUpdate first.
2023.01.31 20:37:38 1: stacktrace:
2023.01.31 20:37:38 1:     main::readingsBulkUpdate            called by (eval 1934) (1)
2023.01.31 20:37:38 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:38 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:38 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:38 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:38 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:38 1: readingsUpdate(Sybille_Tablet_bf68d9b41c16be3713vcc1,create_time,1638468323) missed to call readingsBeginUpdate first.
2023.01.31 20:37:38 1: stacktrace:
2023.01.31 20:37:38 1:     main::readingsBulkUpdate            called by (eval 1935) (1)
2023.01.31 20:37:38 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:38 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:38 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:38 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:38 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:38 1: readingsUpdate(Stefan_Tablet_bf0572e0fb6ccbe356ykuh,category,cz) missed to call readingsBeginUpdate first.
2023.01.31 20:37:38 1: stacktrace:
2023.01.31 20:37:38 1:     main::readingsBulkUpdate            called by (eval 1936) (1)
2023.01.31 20:37:38 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:38 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:38 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:38 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:38 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(tuya_cloud_bffa550a829a269630vhcn,icon,https://images.tuyaeu.com/smart/icon/ay1525749833414yotNt/b3a94a9431b68373894805b4a19092e4.png) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 1954) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(Sybille_Tablet_bf68d9b41c16be3713vcc1,icon,https://images.tuyaeu.com/smart/icon/ay15148582002916nitB/c58a91c23c2e2b5309c7c5d776871390.png) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 1955) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(Stefan_Tablet_bf0572e0fb6ccbe356ykuh,create_time,1638459915) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 1956) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(tuya_cloud_bffa550a829a269630vhcn,id,bffa550a829a269630vhcn) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 1967) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(Sybille_Tablet_bf68d9b41c16be3713vcc1,id,bf68d9b41c16be3713vcc1) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 1968) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(Stefan_Tablet_bf0572e0fb6ccbe356ykuh,icon,https://images.tuyaeu.com/smart/icon/ay15422864509092y6k8/94efe8972e318399f1a1ee3887c704e8.png) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 1969) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(tuya_cloud_bffa550a829a269630vhcn,ip,84.188.243.243) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 1981) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(Sybille_Tablet_bf68d9b41c16be3713vcc1,ip,87.158.205.193) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 1982) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(Stefan_Tablet_bf0572e0fb6ccbe356ykuh,id,bf0572e0fb6ccbe356ykuh) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 1983) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(tuya_cloud_bffa550a829a269630vhcn,lat,49.6104) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 2021) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(Sybille_Tablet_bf68d9b41c16be3713vcc1,lat,49.6104) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 2022) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:39 1: readingsUpdate(Stefan_Tablet_bf0572e0fb6ccbe356ykuh,ip,87.158.205.193) missed to call readingsBeginUpdate first.
2023.01.31 20:37:39 1: stacktrace:
2023.01.31 20:37:39 1:     main::readingsBulkUpdate            called by (eval 2023) (1)
2023.01.31 20:37:39 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:39 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:39 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:39 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:39 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:40 1: readingsUpdate(tuya_cloud_bffa550a829a269630vhcn,local_key,55db39dd00af9487) missed to call readingsBeginUpdate first.
2023.01.31 20:37:40 1: stacktrace:
2023.01.31 20:37:40 1:     main::readingsBulkUpdate            called by (eval 2061) (1)
2023.01.31 20:37:40 1:     (eval)                              called by ./FHEM/10_BindingsIo.pm (570)
2023.01.31 20:37:40 1:     main::BindingsIo_processMessage     called by ./FHEM/10_BindingsIo.pm (682)
2023.01.31 20:37:40 1:     main::BindingsIo_readWebsocketMessage called by ./FHEM/10_BindingsIo.pm (301)
2023.01.31 20:37:40 1:     main::BindingsIo_Read               called by fhem.pl (3976)
2023.01.31 20:37:40 1:     main::CallFn                        called by fhem.pl (784)
2023.01.31 20:37:40 1: readingsUpdate(Sybille_Tablet_bf68d9b41c16be3713vcc1,local_key,68c71bfc9491dabc) missed to call readingsBeginUpdate first.


Hab ich etwas falsch gemacht?

Gruß und Danke,
Stefan

dominik

Wie viele tuya Devices hast du in fhempy drin? Egal ob tuya oder tuya_cloud.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

stefanru

Ich glaube nicht dass ich es hier übertreibe  ;)
Ich habe 6 Steckdosen und neu so einen sporadisch sendenden Temperatur und Luftfeuchte Sensor.
Die Geräte habe ich zur Zeit als Cloud und als Local drin.

thburkhart

Zitat von: dominik am 31 Januar 2023, 20:03:02
1. Doppelten löschen
2. set fhempy_local update
3. update
4. shutdown restart
beim update bekomme ich permission denied
sudo chown fhem:dialout 10_BindingsIo.pm  geht nicht
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: stefanru am 31 Januar 2023, 21:02:03
Ich glaube nicht dass ich es hier übertreibe  ;)
Ich habe 6 Steckdosen und neu so einen sporadisch sendenden Temperatur und Luftfeuchte Sensor.
Die Geräte habe ich zur Zeit als Cloud und als Local drin.

Das gibt es ja nicht. Ich habe ca. 20 Devices drin. Dein BindingsIo ist auch sicher aktuell?
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 31 Januar 2023, 21:03:15
beim update bekomme ich permission denied
sudo chown fhem:dialout 10_BindingsIo.pm  geht nicht

Dann löschen und ein FHEM Update machen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

thburkhart

Zitat von: dominik am 31 Januar 2023, 21:11:40
Dann löschen und ein FHEM Update machen.
schon versucht
geht auch nicht
permission denied
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: stefanru am 31 Januar 2023, 21:02:03
Ich glaube nicht dass ich es hier übertreibe  ;)
Ich habe 6 Steckdosen und neu so einen sporadisch sendenden Temperatur und Luftfeuchte Sensor.
Die Geräte habe ich zur Zeit als Cloud und als Local drin.

Kann es sein, dass dein FHEM generell manchmal blockiert/hängt?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik