fhempy: Tuya Cloud

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

Vorheriges Thema - Nächstes Thema

dominik

@Sommerfeld, mach bitte noch ein Update auf 0.1.105 und poste dann bitte mit code Tag, da sonst nicht alles angezeigt wird.

@barneybaer, super! Danke für die Rückmeldung!
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Sommerfeld

Log nach update Version 0.1.106

8-29 18:28:10,716 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-2369' 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 19:09:27,775 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-3944' 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 20:13:13,056 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-4591' 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 20:22:23,525 - ERROR    - tuya_cloud_connector: 'TuyaDeviceManager' object has no attribute '_on_message'
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/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.8/site-packages/fhempy/lib/tuya_cloud/tuya_cloud_setup.py", line 85, in restart_mqtt
    tuya_mq.add_message_listener(self.device_manager._on_message)
AttributeError: 'TuyaDeviceManager' object has no attribute '_on_message'
[2021-08-29 20:22:23,701] [tuya-openmq] error while get mqtt config
2021-08-29 20:22:23,701 - ERROR    - tuya iot: error while get mqtt config
Exception in thread Thread-65:
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 21:03:50,558 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished name='Task-5111' 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 21:25:22,834 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2021-08-29 21:25:30,400 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2021-08-29 21:25:31,011 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-08-29 21:25:31,020 - INFO     - fhempy.lib.pkg_installer: Attempting install of async-upnp-client==0.20.0
2021-08-29 21:25:41,464 - INFO     - fhempy.lib.pkg_installer: Successfully installed async-upnp-client==0.20.0 update!
2021-08-29 21:25:41,467 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-08-29 21:25:50,849 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2021-08-29 21:25:51,241 - 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 0x7f557a2aa8b0>()] 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 21:25:51,537 - 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 0x7f5578114fd0>()] created at /usr/lib/python3.8/asyncio/base_events.py:422> created at /usr/lib/python3.8/asyncio/tasks.py:382> took 0.146 seconds
[2021-08-29 21:25:53,775] [tuya-openmq] error while get mqtt config
2021-08-29 21:25:53,775 - 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 21:25:54,292 - DEBUG    - Castdevice_Aussenbereich: Start discovery
2021-08-29 21:28:51,316 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-08-29 21:28:51,328 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-08-29 21:29:37,653 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2021-08-29 21:29:38,787 - WARNING  - asyncio: Executing <Task pending name='Task-15' 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 0x7f6ee8c001c0>()] created at /usr/lib/python3.8/asyncio/base_events.py:422> created at /usr/lib/python3.8/asyncio/tasks.py:382> took 0.101 seconds
2021-08-29 21:29:39,227 - 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 0x7f6ee1997af0>()] created at /usr/lib/python3.8/asyncio/base_events.py:422> created at /usr/lib/python3.8/asyncio/tasks.py:382> took 0.105 seconds
[2021-08-29 21:29:47,484] [tuya-openmq] error while get mqtt config
2021-08-29 21:29:47,484 - 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 21:29:4


dominik

Hast du im Tuya Projekt diese Status Notification enabled? Das muss unbedingt aktiv sein.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

barneybaer

#153
Zitat von: dominik am 29 August 2021, 20:32:32
@barneybaer, super! Danke für die Rückmeldung!
Hab ebend noch einmal rum getestet und festgestellt, dass man die Helligkeit nicht ändern kann. Es wird bei "bright_value_v2" immer auf "work_mode white" gestellt. Wenn die Helligkeit in der APP geändert wird, werden leider keine Readings geändert nur aktualisiert. Hängt das mit HSV zusammen?

patator

Zitat von: barneybaer am 29 August 2021, 22:55:53
Hab ebend noch einmal rum getestet und festgestellt, dass man die Helligkeit nicht ändern kann. Es wird bei "bright_value_v2" immer auf "work_mode white" gestellt. Wenn die Helligkeit in der APP geändert wird, werden leider keine Readings geändert nur aktualisiert. Hängt das mit HSV zusammen?

ich habe das gleiche Problem.
Folgendes ist aktiviert:
Smart Home Devices Management
Autorization
Smart Home Family Management
Smart Home Szene Linkage
IOT Data Analytics
Device Status Notification

vor paar Tagen hat alles wunderbar funktioniert

dominik

Gleiche Problem mit Helligkeit oder Reading Aktualisierung?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

patator

hat sich erledigt, sorry, die komische Fehlermeldungen einige Posts weiter oben resultierte bei mir aufgrund falscher Uhrzeit / Datum am Raspi.
Nun funktioniert es wieder tadellos.

Sommerfeld

ZitatHast du im Tuya Projekt diese Status Notification enabled? Das muss unbedingt aktiv sein.

Bitte um Hilfe.
Wo finde ich diese Einstellung?

Sommerfeld

Hallo Dominik,
ZitatHast du im Tuya Projekt diese Status Notification enabled? Das muss unbedingt aktiv sein.

es lag an dieser Einstellung.
Jetzt werden die Readings beim Schalten aktualisiert.
Vielen Dank für deine Hinweise und Geduld.

Beste Grüße

dominik

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

Der_Tom

#160
moin,

ich wollte mich heute mal mit einer anbindung der Tuya Cloud beschäftigen, habe allerdings schon beim update der entsprechenden Fhermmodule Probleme und möchte sie gerade nicht manuell einspielen.

da hat sich scheinbar in einer Grössenangabe der "controls_pythonbinding.txt" ein Fehler eingeschlichen.

update add https://raw.githubusercontent.com/dominikkarall/fhempy/master/controls_pythonbinding.txt
update


... bricht mit entsprechendem Hinweis ab ...

2021.09.08 06:16:41 1 : Downloading https://raw.githubusercontent.com/dominikkarall/fhempy/master/controls_pythonbinding.txt
2021.09.08 06:16:41 1 :
2021.09.08 06:16:41 1 : pythonbinding
2021.09.08 06:16:42 1 : UPD FHEM/10_BindingsIo.pm
2021.09.08 06:16:43 1 : Got 14451 bytes for FHEM/10_BindingsIo.pm, expected 14714
2021.09.08 06:16:43 1 : aborting.
2021-09-08 06:16:43 Global global UPDATE


gruss Thomas

dominik

Oops, ja! Danke für die Info!

Sollte jetzt wieder klappen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Der_Tom

Zitat von: dominik am 08 September 2021, 07:51:27
Oops, ja! Danke für die Info!

Sollte jetzt wieder klappen.

2021.09.08 06:52:25 1 : Downloading https://raw.githubusercontent.com/dominikkarall/fhempy/master/controls_pythonbinding.txt
2021.09.08 06:52:25 1 :
2021.09.08 06:52:25 1 : pythonbinding
2021.09.08 06:52:27 1 : UPD FHEM/10_PythonBinding.pm
2021.09.08 06:52:28 1 : UPD FHEM/10_PythonModule.pm
2021.09.08 06:52:28 1 : UPD FHEM/10_BindingsIo.pm
2021.09.08 06:52:28 1 : UPD FHEM/bindings/python/bin/fhempy
2021.09.08 06:52:28 1 : saving fhem.cfg
2021.09.08 06:52:28 1 :
2021.09.08 06:52:28 1 : New entries in the CHANGED file:
2021.09.08 06:52:28 1 : 2020-12-31: Further updates are done via pip
2021.09.08 06:52:28 1 :             No need to change anything, everything is done for you :)
2021.09.08 06:52:28 1 :             Happy New Year!
2021.09.08 06:52:28 1 : 2020-12-23: Save xiaomi_tokens credentials
2021.09.08 06:52:29 1 :             Add ip address to xiaomi_tokens
2021.09.08 06:52:29 1 :             Create miio/gateway3 device out of xiaomi_tokens
2021.09.08 06:52:29 1 :             Add firmware version to xiaomi_gateway3
2021.09.08 06:52:29 1 :             Fix icons in googlecast
2021.09.08 06:52:29 1 :             Fix python version check
2021.09.08 06:52:29 1 :             First version of gfprobt (irrigation control)
2021.09.08 06:52:29 1 : 2020-12-03: Remote peers: Please read new installation instructions https://github.com/dominikkarall/fhempy
2021.09.08 06:52:29 1 : 2020-10-19: Initial release of CHANGED file :)


passt, Danke !

gruss Thomas

Der_Tom

Tolle Arbeit, danke.

anbindung hat problemlos funktioniert .

gruss Thomas

Superposchi

Zitat@Supersoschi, die Commands für den Fan können nicht per API freigeschalten werden. Laut tuya hat sich der Hersteller nicht an die offizielle API gehalten und daher kann das nicht genutzt werden.
Das ist Schade, aber dann muss ich wohl oder Übel damit leben.

Der Ventilator und der Diffusor sind ja prinzipiell zwei verschiedene Geräte die nur durch zusammenstecken über die gleiche Stromquelle betrieben werden.
Warum sie in der SmartLift-App als ein Gerät angezeigt werden ist mir unklar. Darum mal die Frage ob es möglich wäre manuell ein zweites Device für einen Diffusor mit der gleichen IP zu erstellen und damit eventuell die Funktionen des Diffusors doch ansteuern zu können.

Ist etwas abstrakt gedacht, aber da ich nicht weiß wie die Tuya-Devices in Fhem erstellt und gesteuert werden (vor allem wie und wo die Auswahl des Gerätetyps festgelegt wird) dachte ich, ich frage einfach mal den Schöpfer des Moduls.