fhempy: tuya (lokal)

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

Vorheriges Thema - Nächstes Thema

thburkhart

Zitat von: Tueftler1983 am 05 Februar 2023, 14:27:43
Alter wie geil ist das denn?
Alle device sind steuerbar und der Status wird auch sehr schnell aktualisiert.
Selbst meine Kameras kann ich steuern.

Gibt es jetzt auch noch die möglichkeit das Kamerabild über das Modul anzuzeigen?

wie genauer kannst Du Cameras aus FHEM steuern? Ich habe nur Werte zum Anzeigen
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

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

Tueftler1983

Zitat von: thburkhart am 06 Februar 2023, 17:16:45
wie genauer kannst Du Cameras aus FHEM steuern? Ich habe nur Werte zum Anzeigen

Habe z.b. eine PTZ Kamera im Garten da kann ich über den Befehl set Kamera_Garten ptz (1-8) die preset Positionen anfahren oder die Bewegungsverfolgung ein oder aus schalten oder die Nachtsicht ein und aus schalten, all sowas

erdnar

Zitat von: thburkhart am 06 Februar 2023, 17:19:35
https://forum.fhem.de/index.php?topic=75801.0#:~:text=Meist%20muss%20der%20User%20fhem,Logs%20muss%20er%20schreiben%20k%C3%B6nnen.&text=chown%20%2DR%20fhem%3A%20%2Fopt%2Ffhem%20Du%20bekommst%20wie,nicht%20auf%20einer%20Seite%20darstellbar.

OK, In der Hoffnung das du das gemeint hast:

Zitat von: Wernieman am 24 August 2017, 14:41:11
Um es mal in Summe sauber zu machen:
chown -R fhem: /opt/fhem
# Hinweis: zwischen fhem und /opt ist ein :
cd /opf/fhem
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod 744 fhem.pl

Habe ich mal gemacht und den NUKi neu gestartet ... Das Ergebnis sah jetzt nicht anders aus und fhempy bleibt auch bei seiner Meldung:
2023-02-06 17:39:57,429 - INFO     - fhempy.lib.fhem_pythonbinding: Shutdown initiated...
2023-02-06 17:39:57,430 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2023-02-06 17:39:57,430 - INFO     - websockets.server: server closing
2023-02-06 17:42:29,555 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.571...
2023-02-06 17:42:29,565 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-02-06 17:42:29,634 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-02-06 17:42:36,998 - INFO     - websockets.server: connection open
2023-02-06 17:42:36,998 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-02-06 17:42:39,247 - INFO     - fhempy.lib.pkg_installer: Attempting install of git+https://github.com/fhempy/tinytuya#tinytuya==1.7.3
2023-02-06 17:42:59,502 - INFO     - fhempy.lib.pkg_installer: Successfully installed git+https://github.com/fhempy/tinytuya#tinytuya==1.7.3 update!
2023-02-06 17:44:02,224 - ERROR    - tuya_system: Exception raised by task: <Task finished name='Task-57' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/generic.py:194> exception=KeyError('result')>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/tuya/tuya.py", line 721, in _scan_devices
    for i in json_data["result"]:
KeyError: 'result'


Ich bleibe ratlos und hoffe auf Hilfe.
ErdnaR

thburkhart

Zitat von: Tueftler1983 am 06 Februar 2023, 17:38:52
Habe z.b. eine PTZ Kamera im Garten da kann ich über den Befehl set Kamera_Garten ptz (1-8) die preset Positionen anfahren oder die Bewegungsverfolgung ein oder aus schalten oder die Nachtsicht ein und aus schalten, all sowas

wow das geht bei mir auch :-)
hatte ganz übersehen, dass es SET gibt

Ja fhempy ist schon echt stark !!!!!
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

Tueftler1983

Ja ist echt geil, wenn ich jetzt noch das Kamerabild in fhem anzeigen könnte, wäre das der Hammer.

thburkhart

Zitat von: Tueftler1983 am 06 Februar 2023, 18:11:08
Ja ist echt geil, wenn ich jetzt noch das Kamerabild in fhem anzeigen könnte, wäre das der Hammer.

das müsste wohl aus der Cloud geladen werden
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

erdnar, hast du Python 3.8 manuell installiert? Wenn ja, dann bitte auf bullseye aktualisieren.

Da ist irgendwas bei deiner Installation vermurkst, pip versucht auf das /home/ak Verzeichnis zuzugreifen, wo es keine Rechte hat. Der User fhem braucht dort aber auch keine Rechte und sollte sie auch nicht bekommen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

erdnar

Hallo Dominik,
ich habe keinen Raspi. Es ist ein intel NUK mit Ubuntu 18.04.6 LTS.
Und ja, Python habe ich "irgendwie" manuell installiert.

Kann man das nicht wieder zurechtbiegen?  :-\

Bin für jede Hilfe dankbar, die eine komplette Neuinstallation verhindert.

dominik

Kannst du Ubuntu nicht auf 20.04 sauber aktualisieren?

Die manuelle Installation von Python macht dir sonst nur Probleme.

Du kannst noch folgendes probieren...
sudo -u fhem bash
pip3 install --no-cache-dir --upgrade fhempy
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Superposchi

Wie gewünscht hier die gleiche Frage:

Nachdem meine TUYA-Device wieder funktionieren wurde bei der Neuinstallation jetzt auf die Local-Variante umgestellt.
Zwar gibt es jetzt mehr Readings, dafür ist bei den Set-Befehlen nur noch on/off verfügbar. In der Cloud-Version hatte ich da zumindest noch Modus und Drehzahl oder Oszilation.

Kann man die Set-Befehle irgendwie erweitern, so dass die Readings auch wieder ausführbar sind?

Außerdem vermisse ich die Lüftergeschwindigkeit. Auf diese wird unten in den beiden Funktionen bei den Attributen verwiesen, aber unter den Readings nicht gelistet.

Außerdem hätte ich die Frage ob es irgendwie möglich ist, die Namen der Readings zu ändern. Im Moment lege ich die Readings mit UserReadings mit sprechendem Namen alle doppelt an. Schöner wäre es aber, wenn diese direkt einen sprechenden Namen hätten.

dominik

Poste mal einen Screenshot vom Device inkl. Attribute. API Key unkenntlich machen nicht vergessen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

erdnar

Zitat von: dominik am 08 Februar 2023, 22:56:43
Kannst du Ubuntu nicht auf 20.04 sauber aktualisieren?
Wenn ich wüsste wie das geht, OHNE Fhem zu zerstören bzw. neu installieren zu müssen.

Zitat
Du kannst noch folgendes probieren...
sudo -u fhem bash
pip3 install --no-cache-dir --upgrade fhempy

Hier das Ergebnis, am Ende wieder viele Fehler ...
fhem@nuki:~$ pip3 install --no-cache-dir --upgrade fhempy

Collecting fhempy
  Downloading https://files.pythonhosted.org/packages/ac/f7/ff4fd0fb1b2c5da8fc6d14de1fa0bfa7a0d12ab852ac51b4e81192d211b4/fhempy-0.1.595-py3-none-any.whl (4.5MB)
    100% |████████████████████████████████| 4.5MB 7.6MB/s
Collecting pycryptodomex==3.16.0 (from fhempy)
  Downloading https://files.pythonhosted.org/packages/76/dd/7276f37251f84931bd97bb42fe10455cad782dcb9a38b9820f65d2a098e8/pycryptodomex-3.16.0-cp35-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.3MB)
    100% |████████████████████████████████| 2.3MB 19.9MB/s
Collecting importlib-metadata==4.8.1 (from fhempy)
  Downloading https://files.pythonhosted.org/packages/71/c2/cb1855f0b2a0ae9ccc9b69f150a7aebd4a8d815bd951e74621c4154c52a8/importlib_metadata-4.8.1-py3-none-any.whl
Collecting zeroconf==0.36.12 (from fhempy)
  Downloading https://files.pythonhosted.org/packages/ad/a1/193a309b1cacf35688eb820cfb5fcc90f47b6ec2f529dfeca18862c04ffe/zeroconf-0.36.12-py3-none-any.whl (104kB)
    100% |████████████████████████████████| 112kB 8.7MB/s
Collecting aiohttp[speedups]==3.8.1 (from fhempy)
  Downloading https://files.pythonhosted.org/packages/38/71/e1db3f96fa85f77906ef002a08fa8d02dbdb3292180d41eb1b17ddab72bf/aiohttp-3.8.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 18.3MB/s
Collecting markdown2==2.4.2 (from fhempy)
  Downloading https://files.pythonhosted.org/packages/ab/36/101b2a0fb8880ae7ea2bbcee5a2f91e74bb58e5f23d0d692020fb07623c6/markdown2-2.4.2-py2.py3-none-any.whl
Collecting websockets==10.4 (from fhempy)
  Downloading https://files.pythonhosted.org/packages/3e/a5/e4535867a96bb07000c54172e1be82cd0b3a95339244cac1d400f8ba9b64/websockets-10.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (106kB)
    100% |████████████████████████████████| 112kB 15.5MB/s
Collecting requests==2.26.0 (from fhempy)
  Downloading https://files.pythonhosted.org/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl (62kB)
    100% |████████████████████████████████| 71kB 9.4MB/s
Collecting zipp>=0.5 (from importlib-metadata==4.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/37/7d/4a5221043904612db108bbe7d0ad7409015fb143bae137c72d9dfd7b75e1/zipp-3.12.1-py3-none-any.whl
Collecting ifaddr>=0.1.7 (from zeroconf==0.36.12->fhempy)
  Downloading https://files.pythonhosted.org/packages/9c/1f/19ebc343cc71a7ffa78f17018535adc5cbdd87afb31d7c34874680148b32/ifaddr-0.2.0-py3-none-any.whl
Collecting charset-normalizer<3.0,>=2.0 (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/db/51/a507c856293ab05cdc1db77ff4bc1268ddd39f29e7dc4919aa497f0adbec/charset_normalizer-2.1.1-py3-none-any.whl
Collecting attrs>=17.3.0 (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/fb/6e/6f83bf616d2becdf333a1640f1d463fef3150e2e926b7010cb0f81c95e88/attrs-22.2.0-py3-none-any.whl (60kB)
    100% |████████████████████████████████| 61kB 7.4MB/s
Collecting yarl<2.0,>=1.0 (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/c4/1e/1b204050c601d5cd82b45d5c8f439cb6f744a2ce0c0a6f83be0ddf0dc7b2/yarl-1.8.2.tar.gz (172kB)
    100% |████████████████████████████████| 174kB 10.4MB/s
Collecting aiosignal>=1.1.2 (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/76/ac/a7305707cb852b7e16ff80eaf5692309bde30e2b1100a1fcacdc8f731d97/aiosignal-1.3.1-py3-none-any.whl
Collecting multidict<7.0,>=4.5 (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/4a/15/bd620f7a6eb9aa5112c4ef93e7031bcd071e0611763d8e17706ef8ba65e0/multidict-6.0.4.tar.gz (51kB)
    100% |████████████████████████████████| 61kB 1.3MB/s
Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/d6/c1/8991e7c5385b897b8c020cdaad718c5b087a6626d1d11a23e1ea87e325a7/async_timeout-4.0.2-py3-none-any.whl
Collecting frozenlist>=1.1.1 (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/ec/ab/a440db757401a1e8863c9abb374a77cb2884eda74ffbf555dedcf1fbe7f6/frozenlist-1.3.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (161kB)
    100% |████████████████████████████████| 163kB 9.1MB/s
Collecting aiodns; extra == "speedups" (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/ab/72/991ee33a517df69c6cd6f3486cfe9b6329557cb55acaa8cefac33c2aa4d2/aiodns-3.0.0-py3-none-any.whl
Collecting cchardet; extra == "speedups" (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/c8/e3/11ead63869139948f61b922a1539f4439554358e6b4d304ccf2f1c836004/cchardet-2.1.7-cp38-cp38-manylinux1_x86_64.whl (265kB)
    100% |████████████████████████████████| 266kB 12.7MB/s
Collecting Brotli; extra == "speedups" (from aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/68/5f/460520bf0c58ce21653e670635c649bd6e6760d2dbfd3b3ad18ceb8085a6/Brotli-1.0.9-cp38-cp38-manylinux1_x86_64.whl (357kB)
    100% |████████████████████████████████| 358kB 14.3MB/s
Collecting urllib3<1.27,>=1.21.1 (from requests==2.26.0->fhempy)
  Downloading https://files.pythonhosted.org/packages/fe/ca/466766e20b767ddb9b951202542310cba37ea5f2d792dae7589f1741af58/urllib3-1.26.14-py2.py3-none-any.whl (140kB)
    100% |████████████████████████████████| 143kB 9.8MB/s
Collecting idna<4,>=2.5; python_version >= "3" (from requests==2.26.0->fhempy)
  Downloading https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl (61kB)
    100% |████████████████████████████████| 71kB 8.1MB/s
Collecting certifi>=2017.4.17 (from requests==2.26.0->fhempy)
  Downloading https://files.pythonhosted.org/packages/71/4c/3db2b8021bd6f2f0ceb0e088d6b2d49147671f25832fb17970e9b583d742/certifi-2022.12.7-py3-none-any.whl (155kB)
    100% |████████████████████████████████| 163kB 13.7MB/s
Collecting pycares>=4.0.0 (from aiodns; extra == "speedups"->aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/01/50/e3015e6e03a3cf64113f509e8b86b71af37169b59ccedfcb182f3d031329/pycares-4.3.0.tar.gz (821kB)
    100% |████████████████████████████████| 829kB 13.1MB/s
Collecting cffi>=1.5.0 (from pycares>=4.0.0->aiodns; extra == "speedups"->aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/2b/a8/050ab4f0c3d4c1b8aaa805f70e26e84d0e27004907c5b8ecc1d31815f92a/cffi-1.15.1.tar.gz (508kB)
    100% |████████████████████████████████| 512kB 9.1MB/s
Collecting pycparser (from cffi>=1.5.0->pycares>=4.0.0->aiodns; extra == "speedups"->aiohttp[speedups]==3.8.1->fhempy)
  Downloading https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (118kB)
    100% |████████████████████████████████| 122kB 8.7MB/s
Installing collected packages: pycryptodomex, zipp, importlib-metadata, ifaddr, zeroconf, charset-normalizer, attrs, idna, multidict, yarl, frozenlist, aiosignal, async-timeout, pycparser, cffi, pycares, aiodns, cchardet, Brotli, aiohttp, markdown2, websockets, urllib3, certifi, requests, fhempy
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 356, in run
    requirement_set.install(
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 780, in install
    requirement.install(
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1057, in move_wheel_files
    move_wheel_files(
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 245, in move_wheel_files
    scheme = distutils_scheme(
  File "/usr/lib/python3/dist-packages/pip/locations.py", line 153, in distutils_scheme
    i.finalize_options()
  File "/usr/share/python-wheels/setuptools-39.0.1-py2.py3-none-any.whl/setuptools/command/install.py", line 38, in finalize_options
    orig.install.finalize_options(self)
  File "/usr/lib/python3.8/distutils/command/install.py", line 351, in finalize_options
    self.create_home_path()
  File "/usr/lib/python3.8/distutils/command/install.py", line 581, in create_home_path
    os.makedirs(path, 0o700)
  File "/usr/lib/python3.8/os.py", line 213, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/usr/lib/python3.8/os.py", line 213, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/usr/lib/python3.8/os.py", line 223, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Keine Berechtigung: '/home/ak/.local/lib'

... und das Resultat mit fhempy sieht leider auch nicht anders aus:
2023-02-09 17:35:37,235 - INFO     - fhempy.lib.pkg_installer: Attempting install of git+https://github.com/fhempy/tinytuya#tinytuya==1.7.3
2023-02-09 17:36:02,109 - INFO     - fhempy.lib.pkg_installer: Successfully installed git+https://github.com/fhempy/tinytuya#tinytuya==1.7.3 update!
2023-02-09 17:36:17,572 - ERROR    - tuya_system: Exception raised by task: <Task finished name='Task-62' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/generic.py:194> exception=KeyError('result')>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.8/site-packages/fhempy/lib/tuya/tuya.py", line 721, in _scan_devices
    for i in json_data["result"]:
KeyError: 'result'

dominik

Kann es sein, dass dein fhem User /home/ak als Home Directory verwendet? Mit echo $HOME kannst es prüfen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Superposchi

Hier das gewünschte List:
Internals:
   DEF        tuya 6awobc9jfnlwvqtw bf934a1eb83b21bc25uo4x 192.168.178.171 9d214ad6b3b2a7e9 3.3 asfg5sj9aurr9nib73fx fc553d7a6bfa4a569bc69ed2aa6924ed
   DEVICEID   bf934a1eb83b21bc25uo4x
   FHEMPYTYPE tuya
   FUUID      63e01980-f33f-7706-c14d-f29b1dd99d5e2a92
   FVERSION   10_fhempy.pm:0.182830/2019-01-16
   IODev      fhempy_local
   NAME       tuya_local_bf934a1eb83b21bc25uo4x
   NR         63
   PYTHONTYPE tuya
   STATE      off
   TYPE       fhempy
   eventCount 3218
   READINGS:
     2023-02-10 23:51:31   Diffusor        close
     2023-02-10 23:51:31   Feuchte         38
     2023-02-10 23:51:31   FilterQuality   82
     2023-02-10 23:51:31   Mode            close
     2023-02-10 23:51:31   Oszillation     off
     2023-02-10 23:51:31   PM25            24
     2023-02-10 23:51:31   Signalton       0
     2023-02-10 23:51:31   Timer           0
     2023-02-10 23:51:31   UV              0
     2023-02-05 22:03:55   active_time     1654519182
     2023-02-05 22:03:55   biz_type        18
     2023-02-05 22:03:55   category        fs
     2023-02-05 22:03:55   create_time     1651829119
     2023-02-06 23:46:59   dp_02           close
     2023-02-08 19:13:55   dp_101          24
     2023-02-06 23:11:19   dp_102          0
     2023-02-06 22:28:06   dp_103          82
     2023-02-08 18:49:47   dp_105          close
     2023-02-08 19:03:41   dp_106          38
     2023-02-06 23:16:34   dp_13           0
     2023-02-06 23:44:10   dp_22           cancel
     2023-02-06 23:44:10   dp_23           0
     2023-02-05 22:03:55   icon            smart/icon/bay1579257011827QOvk/05cb05801c69fa7b6bdacda9c7f21196.png
     2023-02-05 22:03:55   id              bf934a1eb83b21bc25uo4x
     2023-02-05 22:03:55   ip              88.153.83.160
     2023-02-05 22:03:55   lat             51.0583
     2023-02-05 22:03:55   local_key       9d214ad6b3b2a7e9
     2023-02-05 22:03:55   lon             6.1030
     2023-02-05 22:03:55   model           ARC Humidifier
     2023-02-05 22:03:55   name            Wohnzimmerventilator
     2023-02-10 23:50:30   online          0
     2023-02-05 22:03:55   owner_id        23921647
     2023-02-05 22:03:55   product_id      6awobc9jfnlwvqtw
     2023-02-05 22:03:55   product_name    ARC Humidifier
     2023-02-10 23:51:31   state           off
     2023-02-05 22:03:55   sub             0
     2023-02-10 23:50:31   switch          off
     2023-02-06 23:19:39   switch_horizontal off
     2023-02-05 22:03:55   time_zone       +02:00
     2023-02-05 22:03:55   uid             eu1610479166063muAw8
     2023-02-05 22:03:55   update_time     1654519186
     2023-02-05 22:03:55   uuid            f3e5852aa7804328
   args:
     tuya_local_bf934a1eb83b21bc25uo4x
     fhempy
     tuya
     6awobc9jfnlwvqtw
     bf934a1eb83b21bc25uo4x
     192.168.178.171
     9d214ad6b3b2a7e9
     3.3
     asfg5sj9aurr9nib73fx
     fc553d7a6bfa4a569bc69ed2aa6924ed
   argsh:
Attributes:
   alias      Wohnzimmerventilator
   devStateIcon aus:ios-off:an an:ios-on-blue:aus off:ios-off:on on:ios-on-green:off .*:ios-off .*:
   dp_01      switch
   group      tuya
   room       fhempy
   tuya_spec_functions [{'code': 'switch', 'dp_id': 1, 'type': 'Boolean', 'values': {}, 'desc': 'switch'}, {'code': 'fan_speed_percent', 'dp_id': 3, 'type': 'Integer', 'values': {'min': '1', 'max': '9', 'scale': '0', 'step': '1'}, 'desc': 'fan speed percent'}, {'code': 'switch_horizontal', 'dp_id': 5, 'type': 'Boolean', 'values': {}, 'desc': 'switch horizontal'}]
   tuya_spec_status [{'code': 'switch', 'dp_id': 1, 'type': 'Boolean', 'values': {}}, {'code': 'fan_speed_percent', 'dp_id': 3, 'type': 'Integer', 'values': {'min': '1', 'max': '9', 'scale': '0', 'step': '1'}}, {'code': 'switch_horizontal', 'dp_id': 5, 'type': 'Boolean', 'values': {}}]
   userReadings Mode { ReadingsVal("tuya_local_bf934a1eb83b21bc25uo4x", "dp_02", 0) },PM25 { ReadingsVal("tuya_local_bf934a1eb83b21bc25uo4x", "dp_101", 0) },
UV { ReadingsVal("tuya_local_bf934a1eb83b21bc25uo4x", "dp_102", 0) },
FilterQuality { ReadingsVal("tuya_local_bf934a1eb83b21bc25uo4x", "dp_103", 0) },
Diffusor { ReadingsVal("tuya_local_bf934a1eb83b21bc25uo4x", "dp_105", 0) },
Feuchte { ReadingsVal("tuya_local_bf934a1eb83b21bc25uo4x", "dp_106", 0) },
Signalton { ReadingsVal("tuya_local_bf934a1eb83b21bc25uo4x", "dp_13", 0) },
Timer { ReadingsVal("tuya_local_bf934a1eb83b21bc25uo4x", "dp_23", 0) },
Oszillation { ReadingsVal("tuya_local_bf934a1eb83b21bc25uo4x", "switch_horizontal", 0) },


Interessanterweise funktionieren jetzt zwei der drei Devices nicht mehr und haben gar kein Set mehr.
Beim Klicken darauf kommt nur noch "Command not available for this device."