fhempy: Tuya Cloud

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

Vorheriges Thema - Nächstes Thema

Sommerfeld

Hallo Dominik,
vielen Dank für die schnelle Antwort.
Zitat@Sommerfeld,
der Fehler tritt bei dir schon beim Verbinden zum tuya MQTT Server auf.
Ich prüfe es und melde mich dann.

barneybaer

Zitat von: dominik am 26 August 2021, 23:59:02

@barneybaer,
Zumindest der Fehler sollte nun weg sein.

Leider noch nicht hier ein neuer Auszug.

2021-08-27 09:20:05,690 - ERROR    - xxx_Bett__bf4e9bd5b8c624f127c0io: string indices must be integers
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_device.py", line 272, in update_readings_arr
    await self.update_readings_hsv(status["code"], status["value"])
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_device.py", line 309, in update_readings_hsv
    int(hsv_json["h"]) / 360,
TypeError: string indices must be integers

Sommerfeld

ZitatPrüfe bitte nochmals deine CLIENT_ID, CLIENT_SECRET, USERNAME, PASSWORD.

Ich habe gerade beim Reconnect noch etwas verbessert, aber das wird denke ich nicht helfen. Weil schon das Herstellen der Verbindung fehl schlägt.

Habe die Def. geprüft, konnte keinen Fehler finden

Internals:
   .AttrList  .*
   .FhemMetaInternals 1
   DEF        tuya_cloud setup xxxxxxxxxx xxxxxxxxxxx xxxx.xxxx@gmx.de xxxxxxxxx tuyaSmart Europe
   FUUID      6124c892-f33f-3b5c-c331-4e9f4a1101491661
   FVERSION   10_PythonModule.pm:0.182830/2019-01-16
   IODev      local_pybinding
   NAME       tuya_cloud_connector
   NR         1183
   PYTHONTYPE tuya_cloud
   STATE      connected
   TYPE       PythonModule
   .attraggr:
   .attrminint:
   READINGS:
     2021-08-27 12:08:26   state           connected
   args:
     tuya_cloud_connector
     PythonModule
     tuya_cloud
     setup
     xxxxxxxx
     xxxxxxxx
     xxxx.xxxxx@gmx.de
     xxxxxxxxxx
     tuyaSmart
     Europe
   argsh:
Attributes:
   alias      tuya_cloud_connector


Merkwürdig ist, dass das Schalten möglich ist. Folglich müsste ja eine Verbindung doch existieren, oder?

dominik

@barneybaer,
bitte nochmals mit der neuen Version testen. Danke!

@Sommerfeld,
die Commands werden per HTTPS POST Request geschickt. Die Events werden aber per MQTT abgefragt. Nachdem nur MQTT nicht funktioniert, kommen bei dir keine Events an.
Hat noch jemand das Problem?

Hat es bei dir schon mal funktioniert? Hast du beim Projekt den Development Type SmartHome angegeben und eh nicht Custom?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Sommerfeld

Hallo Dominik,
seit dem 25.08.2021 abends funktioniert es nicht mehr.
Davor war alles in Ordnung.
Im Projekt ist bei Development Type SmartHome eingegeben.
Komisch ist nur, das beim Neustart von FHEM die Readings aktualisiert werden.
Ist  MQTT dafür nicht notwendig?

dominik

Beim Abfragen der Devices wird auch der Status dieser zurück gegeben, das läuft nicht über MQTT.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

barneybaer

[quote author=dominik link=topic=122288.msg1172032#msg1172032 date=1630066066

@Sommerfeld,
die Commands werden per HTTPS POST Request geschickt. Die Events werden aber per MQTT abgefragt. Nachdem nur MQTT nicht funktioniert, kommen bei dir keine Events an.
Hat noch jemand das Problem?
[/quote]

Hab auch was im Log von heute morgen.

2021-08-27 03:36:51,179 - ERROR    - Efeu_Decke: Failed to get updates from miflora C4:7C:8D:xx:xx:xx
2021-08-27 03:37:20,270 - ERROR    - tuya_cloud_connector: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_setup.py", line 71, in restart_mqtt_loop
    await self.restart_mqtt()
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_setup.py", line 76, in restart_mqtt
    self.device_manager.mq.stop()
  File "/opt/fhem/.local/lib/python3.7/site-packages/tuya_iot/openmq.py", line 224, in stop
    self.client.disconnect()
AttributeError: 'NoneType' object has no attribute 'disconnect'


barneybaer

Zitat von: dominik am 27 August 2021, 14:07:46
@barneybaer,
bitte nochmals mit der neuen Version testen. Danke!
Weiterer Fehler beim updaten.

2021-08-27 14:56:55,234 - ERROR    - xxx_Bett__bf4e9bd5b8c624f127c0io: Unknown format code 'x' for object of type 'float'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_device.py", line 273, in update_readings_arr
    status["code"], json.loads(status["value"])
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_device.py", line 319, in update_readings_hsv
    rgb_hex = f"{red:02x}{green:02x}{blue:02x}"
ValueError: Unknown format code 'x' for object of type 'float'

dominik

@barneybaer,
dann werden bei dir die Readings auch nicht mehr aktualisiert? Vielleicht hat tuya etwas an der Schnittstelle gedreht, auch möglich.

Wegen colour_data...habe gerade noch ein Update gemacht.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

barneybaer

Zitat von: dominik am 27 August 2021, 19:41:41
@barneybaer,
dann werden bei dir die Readings auch nicht mehr aktualisiert? Vielleicht hat tuya etwas an der Schnittstelle gedreht, auch möglich.

Wegen colour_data...habe gerade noch ein Update gemacht.

Readings scheinen zu gehen, wenn ich über die tuya App die Geräte schalte werden sie in Fhem auch aktualisiert.
Keine Fehler mehr beim Updaten. Colorpicker teste ich am Sonntag.
Danke dir.

dominik

Zitat von: Superposchi am 26 August 2021, 09:23:17
Lediglich on und off
mode, switch_led, work_mode müssten es sein

Wobei mode in der App lediglich "weak und strong" auswählbar hat und
work_mode bietet in der SmartLife-App lediglich "Gradiant, Fixed und Nightlight" mit einer Farbauswahl an
switch_led wird in den nächsten Tagen von tuya integriert. Die anderen Funktionen sind leider nicht tuya Standard und können daher nicht unterstützt werden.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Sommerfeld

Hallo Dominik,
ich habe alles neu aufgesetzt und habe immer noch das
gleiche Verhalten. Habe ich noch eine Chance zur Lösung?
Beste Grüße

dominik

Poste bitte noch ein aktuelles fhempy Log.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Sommerfeld

Hallo Dominik,
vielen Dank, dass du dir das noch einmal anschaust.
[code]lf._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 20, in update_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:02:15,840 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-08-29 18:02:15,841 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-08-29 18:03:01,566 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2021-08-29 18:03:01,644 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-10' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:03:01,687 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-11' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:03:01,709 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-12' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:03:01,721 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-13' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:03:01,746 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-14' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:03:03,214 - WARNING  - asyncio: Executing <Task pending name='Task-20' coro=<PyBinding.onMessage() running at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py:129> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.8/asyncio/futures.py:360, <TaskWakeupMethWrapper object at 0x7f4736fe1580>()] created at /usr/lib/python3.8/asyncio/base_events.py:422> created at /usr/lib/python3.8/asyncio/tasks.py:382> took 0.135 seconds
[2021-08-29 18:03:09,782] [tuya-openmq] error while get mqtt config
2021-08-29 18:03:09,782 - ERROR    - tuya iot: error while get mqtt config
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/tuya_iot/openmq.py", line 173, in run
    time.sleep(self.mq_config.expireTime - 60)
AttributeError: 'TuyaOpenMQ' object has no attribute 'mq_config'
2021-08-29 18:03:12,774 - DEBUG    - Castdevice_Aussenbereich: Start discovery
2021-08-29 18:03:19,686 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-853' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 20, in update_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:03:19,699 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-854' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 20, in update_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:03:20,468 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-855' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:03:52,035 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-2164' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 20, in update_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:23:08,613 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-08-29 18:23:08,613 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-08-29 18:23:55,514 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2021-08-29 18:23:55,563 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-10' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:23:55,680 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-11' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:23:55,683 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-12' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:23:55,735 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-13' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:23:56,570 - WARNING  - asyncio: Executing <Task pending name='Task-16' coro=<PyBinding.onMessage() running at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py:129> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.8/asyncio/futures.py:360, <TaskWakeupMethWrapper object at 0x7fb623d436a0>()] created at /usr/lib/python3.8/asyncio/base_events.py:422> created at /usr/lib/python3.8/asyncio/tasks.py:382> took 0.104 seconds
2021-08-29 18:23:56,700 - WARNING  - asyncio: Executing <Task pending name='Task-17' coro=<PyBinding.onMessage() running at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py:129> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.8/asyncio/futures.py:360, <TaskWakeupMethWrapper object at 0x7fb623bd6ee0>()] created at /usr/lib/python3.8/asyncio/base_events.py:422> created at /usr/lib/python3.8/asyncio/tasks.py:382> took 0.104 seconds
2021-08-29 18:23:57,044 - WARNING  - asyncio: Executing <Task pending name='Task-21' coro=<PyBinding.onMessage() running at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py:129> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.8/asyncio/futures.py:360, <TaskWakeupMethWrapper object at 0x7fb621134e50>()] created at /usr/lib/python3.8/asyncio/base_events.py:422> created at /usr/lib/python3.8/asyncio/tasks.py:382> took 0.119 seconds
[2021-08-29 18:24:03,586] [tuya-openmq] error while get mqtt config
2021-08-29 18:24:03,586 - ERROR    - tuya iot: error while get mqtt config
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/tuya_iot/openmq.py", line 173, in run
    time.sleep(self.mq_config.expireTime - 60)
AttributeError: 'TuyaOpenMQ' object has no attribute 'mq_config'
2021-08-29 18:24:06,529 - DEBUG    - Castdevice_Aussenbereich: Start discovery
2021-08-29 18:24:09,702 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-757' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 20, in update_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:24:14,744 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-863' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 178, in on_change
    getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 28, in add_service
    asyncio.create_task(self.foundDevice(zc, type, name))
  File "/usr/lib/python3.8/asyncio/tasks.py", line 382, in create_task
    task = loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py", line 31, in foundDevice
    info = await zc.async_get_service_info(type, name)
AttributeError: 'Zeroconf' object has no attribute 'async_get_service_info'
2021-08-29 18:24:46,453 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-2144' coro=<discover_fhempy.foundDevice() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/core/discover_fhempy/discover_fhempy.py:30> exception=AttributeError("'Zeroconf' object has no attribute 'async_get_service_info'") created at /usr/lib/python3.8/asyncio/tasks.py:382>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 113, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/fhem_pythonbinding.py", line 470, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.8/asyncio/selector_events.py", line 1021, in _read_ready
    self._protocol.datagram_received(data, addr)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 295, in datagram_received
    self.zc.handle_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_core.py", line 735, in handle_response
    self.record_manager.async_updates_from_response(msg)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 436, in async_updates_from_response
    self.async_updates_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_handlers.py", line 369, in async_updates_complete
    listener.async_update_records_complete()
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 412, in async_update_records_complete
    self._fire_service_state_changed_event(event)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/browser.py", line 423, in _fire_service_state_changed_event
    self._service_state_changed.fire(
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/__init__.py", line 55, in fire
    h(**kwargs)
  File "/opt/fhem/.local/lib/python3.8/site-packages/zeroconf/_services/brow

barneybaer

Zitat von: dominik am 27 August 2021, 19:41:41
@barneybaer,
Wegen colour_data...habe gerade noch ein Update gemacht.

Farbe funktioniert und wird wie eingestellt auch im Reading als RGB Code angezeigt.

Danke schön