Autor Thema: Tuya - Smart Life: LED Lampen und Schalter  (Gelesen 10890 mal)

Offline dominik

  • Developer
  • Hero Member
  • ****
  • Beiträge: 2602
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #60 am: 24 April 2021, 12:02:29 »
Hi,

schau mal in den Attributen, da sollten noch welche mit dp_... sein, die musst du setzen.
fhempy -  https://github.com/dominikkarall/fhempy: GoogleCast, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Offline pure-current

  • Jr. Member
  • **
  • Beiträge: 62
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #61 am: 24 April 2021, 14:10:15 »
Hi Dominik,

da ist leider kein dp_..
Schau mal:

Raspberry PI mit drei stackable CC (2x866MHz-HM&FS20, 1x433MHz-Somfy)
HM-LAN (Keymatic, Dimmer, Bewegungsmelder, Rolladen, Lichtschalter, KFM100)
div. Tasmota via MQTT

2. Raspberry Pi/FHEM im Wohnmobil (Heizungsregelung,GPS) Batterieüberwachung-toDo

Offline dominik

  • Developer
  • Hero Member
  • ****
  • Beiträge: 2602
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #62 am: 24 April 2021, 20:18:49 »
Kommt nach einem fhempy Neustart der state "Ready to configure dp_ attributes"? Wenn nicht, beobachte bitte ob im state nach dem fhempy Neustart "Localscan..." kommt.
fhempy -  https://github.com/dominikkarall/fhempy: GoogleCast, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Offline pure-current

  • Jr. Member
  • **
  • Beiträge: 62
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #63 am: 25 April 2021, 10:39:04 »
Hallo Dominik,

sorry, aber kannst du mir ein bißchen genauer sagen, was ich machen soll?
Der Fhempy-Neustart- wie soll ich den machen? In Fhem wird mir bei Fhempy nur "set update" angeboten.
Meinst du einen shutdown-restart?
Oder auf Konsolenebene irgendwas neustarten?
Wo sollten dann der state "ready to configure..." und "Localscan" auftauchen, bei fhempy, beim tuya_system  oder bei der Alarmanlage?
Danke dir im Voraus!
Raspberry PI mit drei stackable CC (2x866MHz-HM&FS20, 1x433MHz-Somfy)
HM-LAN (Keymatic, Dimmer, Bewegungsmelder, Rolladen, Lichtschalter, KFM100)
div. Tasmota via MQTT

2. Raspberry Pi/FHEM im Wohnmobil (Heizungsregelung,GPS) Batterieüberwachung-toDo

Offline dominik

  • Developer
  • Hero Member
  • ****
  • Beiträge: 2602
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #64 am: 25 April 2021, 14:01:35 »
Hi,

schau mal im Raum "hidden" und dort PythonBinding. Dort kannst du ein restart machen.
Öffne bitte einen 2ten Tab wo du dir das tuya_alarmanlage Device anschaust. Bei diesem Device sollte dann das "Localscan..." kommen. Ich glaub bei dir schlägt der Localscan fehl und der wird benötigt um die dp_X zu finden.
fhempy -  https://github.com/dominikkarall/fhempy: GoogleCast, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Offline pure-current

  • Jr. Member
  • **
  • Beiträge: 62
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #65 am: 25 April 2021, 20:44:25 »
Hi Dominik,
ich hab es versucht wie du gesagt hast.
Im Tab Alarmanlage ist der Status nur auf "PythonBinding offline" gegangen, Dann ist nichts passiert bis ich F5 gedrückt habe und dann war der status wieder "ready"

Im Logfile von fhempy steht Folgendes:
2021-04-25 03:51:19,964 - ERROR    - fhempy.lib.fhem: Timeout - NO RESPONSE for command: readingsBeginUpdate($defs{'Alarmanlage'});;
2021-04-25 03:51:34,971 - ERROR    - fhempy.lib.fhem: Timeout - NO RESPONSE for command: readingsBulkUpdateIfChanged($defs{'Alarmanlage'},'dp_01','disarmed');;
2021-04-25 03:51:35,591 - ERROR    - fhempy.lib.fhem: Failed to set result, received: {"awaitId":12660789,"result":"2021-04-25 03:51:35","error":0}
2021-04-25 03:51:35,594 - ERROR    - fhempy.lib.fhem: Failed to set result, received: {"error":0,"result":null,"awaitId":26297744}
2021-04-25 10:31:30,570 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2021-04-25 10:31:42,396 - ERROR    - asyncio: Task exception was never retrieved
future: <Task finished coro=<PyBinding.onMessage() done, defined at /opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py:126> exception=SystemExit(1) created at /usr/lib/python3.7/asyncio/tasks.py:325>
source_traceback: Object created at (most recent call last):
  File "FHEM/bindings/python/bin/fhempy", line 121, in <module>
    fpb.run()
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 471, in run
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
    self._run_once()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 1767, in _run_once
    handle._run()
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/server.py", line 191, in handler
    await self.ws_handler(self, path)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 67, in pybinding
    asyncio.create_task(pb.onMessage(message))
  File "/usr/lib/python3.7/asyncio/tasks.py", line 325, in create_task
    return loop.create_task(coro)
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 128, in onMessage
    await self._onMessage(payload)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 391, in _onMessage
    raise se
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 170, in _onMessage
    sys.exit(1)
SystemExit: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
    self._run_once()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 1767, in _run_once
    handle._run()
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 130, in onMessage
    sys.exit(1)
SystemExit: 1
2021-04-25 10:31:43,378 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-04-25 10:31:43,398 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-04-25 10:32:22,594 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-04-25 10:32:22,615 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-04-25 10:32:27,337 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2021-04-25 20:22:22,529 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-04-25 20:22:22,549 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-04-25 20:22:31,754 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2021-04-25 20:22:33,737 - ERROR    - Alarmanlage: Failed to update readings
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/tuya/tuya.py", line 389, in update_readings
    for st in self.tuya_spec_status:
AttributeError: 'tuya' object has no attribute 'tuya_spec_status'
2021-04-25 20:37:40,706 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-04-25 20:37:40,727 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-04-25 20:37:49,925 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2021-04-25 20:38:28,644 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy...
2021-04-25 20:38:28,668 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2021-04-25 20:38:37,855 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
Um 20.22 Uhr und 20.37 Uhr hab ich den restart versucht....
Kannst du damit was anfangen?
Gruß
Raspberry PI mit drei stackable CC (2x866MHz-HM&FS20, 1x433MHz-Somfy)
HM-LAN (Keymatic, Dimmer, Bewegungsmelder, Rolladen, Lichtschalter, KFM100)
div. Tasmota via MQTT

2. Raspberry Pi/FHEM im Wohnmobil (Heizungsregelung,GPS) Batterieüberwachung-toDo

Offline dominik

  • Developer
  • Hero Member
  • ****
  • Beiträge: 2602
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #66 am: 25 April 2021, 21:58:49 »
Kannst du mir bitte den Screenshot vom Alarmanlage Device posten nach einem Neustart von fhempy? Weil ready sollte die nie als status haben. Schaust du vielleicht gerade bei tuya_system?
fhempy -  https://github.com/dominikkarall/fhempy: GoogleCast, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Offline pure-current

  • Jr. Member
  • **
  • Beiträge: 62
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #67 am: 26 April 2021, 13:44:01 »
OK,sorry. Das "ready" war tatsächlich bei "tuya_system".

Ich hab's nochmal  versucht und bei nem "Shutdown restart" habe ich tatsächlich ganz kurz "local scan" gesehen, ging dann aber sofort auf "online". (das ging so schnell, es war kaum zu erkennen...)

hier die screenshots vom device "alarmanlage" ...

Danke!
Raspberry PI mit drei stackable CC (2x866MHz-HM&FS20, 1x433MHz-Somfy)
HM-LAN (Keymatic, Dimmer, Bewegungsmelder, Rolladen, Lichtschalter, KFM100)
div. Tasmota via MQTT

2. Raspberry Pi/FHEM im Wohnmobil (Heizungsregelung,GPS) Batterieüberwachung-toDo

Offline thburkhart

  • Full Member
  • ***
  • Beiträge: 220
Antw:Tuya - Smart Life: LED Lampen und Schalter -install fhempy
« Antwort #68 am: 02 Mai 2021, 17:29:23 »
Hi,

einfach die Befehle hier ausführen:
https://github.com/dominikkarall/fhempy#installation

und danach
https://github.com/dominikkarall/fhempy/blob/master/FHEM/bindings/python/fhempy/lib/tuya/README.md

Das wirkt auf den ersten Blick viel, ist aber nur einmalig in der tuya Cloud einzurichten.


ich bin hier schon hängen geblieben:
sudo cpan Protocol::WebSocket

root@THB-PI3B1:~# sudo cpan Protocol::WebSocket
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Sun, 02 May 2021 12:55:41 GMT
.............
  New CPAN.pm version (v2.28) available.
  [Currently running version is v2.20]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.

update:

ich habe gemäß https://blog.bartlweb.net/2018/03/installierte-perl-cpan-module-auf-einmal-aktualisieren/
erfolgreich CPAN samt Modulen aktualisiert (lief fast ne Stunde)

sudo cpan Protocol::WebSocket
läuft nun............................................................................DONE
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Sun, 02 May 2021 12:55:41 GMT
.............................................................
auch schon ewig  und hängt wieder  (kein Fortschritt in den Punkten)

update 2:
man brauch wohl viel Geduld...

pip3 install --upgrade fhempy vollzogen :-)

define castdevice PythonModule googlecast "Living Room" in FHEM

bringt nur PythonModule nicht gefunden

bzw: Cannot load module BindingsIo

im FHEM log finde ich jedoch:

2021.05.02 22:30:52 1 : backup done: FHEM-20210502_222902.tar.gz (95065856 Bytes)
2021.05.02 22:30:52 1 : 
2021.05.02 22:30:52 1 : fhem
2021.05.02 22:30:52 1 : nothing to do...
2021.05.02 22:30:52 1 : Downloading https://raw.githubusercontent.com/dominikkarall/fhempy/master/controls_pythonbinding.txt
2021.05.02 22:30:52 1 : 
2021.05.02 22:30:52 1 : pythonbinding
2021.05.02 22:30:53 1 : nothing to do...

bitte um Nachhilfe
« Letzte Änderung: 02 Mai 2021, 22:37:08 von thburkhart »
2 RASPI2B, 1 RASPI3B, 2 CUL, 2 Jeelink, 52 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 22 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, IOBroker, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

Offline fhem@supergut

  • New Member
  • *
  • Beiträge: 34
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #69 am: 03 Mai 2021, 09:27:47 »
Poste bitte deine product_id, dann kann ich diese mit aufnehmen.

Gerne: Allerdings habe ich aktuell nur noch den state und countdown, die anderen Werte aktualisieren sich nicht?

Soc16A-om24-2 [Valid payload]: 192.168.178.171
    ID = bfe781bfeae2b508238qxg, Product ID = keyqwtgrcsf3hxng, Version = 3.3
    Status: {'1': True, '9': 0}



Offline thburkhart

  • Full Member
  • ***
  • Beiträge: 220
Antw:Tuya - Smart Life: LED Lampen und Schalter -pybinding
« Antwort #70 am: 04 Mai 2021, 12:36:20 »
mein Installationsproblem scheint sich auf die FHEM-Seite zu konzentrieren:


define local_pybinding BindingsIo Python

führt zu  "Cannot load module BindingsIo"


define tuya_system PythonModule tuya qcephkpvajw1rn0qzrij c975081e74f34b2fbafcad20058c78 4530056170039f4a87e5

attr tuya_system room TUYA

wird akzepziert jedoch ohne connect



# set tuya_system start_scan  .... soweit komme ich noch nicht






im FHEM log finde ich jedoch:

2021.05.02 22:30:52 1 : backup done: FHEM-20210502_222902.tar.gz (95065856 Bytes)
2021.05.02 22:30:52 1 :
2021.05.02 22:30:52 1 : fhem
2021.05.02 22:30:52 1 : nothing to do...
2021.05.02 22:30:52 1 : Downloading https://raw.githubusercontent.com/dominikkarall/fhempy/master/controls_pythonbinding.txt
2021.05.02 22:30:52 1 :
2021.05.02 22:30:52 1 : pythonbinding
2021.05.02 22:30:53 1 : nothing to do...


ich bitte nochmals um gnädige Hilfe

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

Offline thburkhart

  • Full Member
  • ***
  • Beiträge: 220
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #71 am: 14 Mai 2021, 08:54:52 »
ich bitte um Nachsicht wegen meiner Ungeduld

wegen BindingsIo

gibt es wirklich keinen Lösungsansatz?

Downloading https://fhem.de/fhemupdate/controls_fhem.txt

fhem
List of new / modified files since last update:
UPD ./CHANGED
UPD FHEM/10_ZWave.pm
UPD FHEM/89_AndroidDB.pm
UPD FHEM/89_AndroidDBHost.pm
UPD FHEM/89_FULLY.pm
UPD FHEM/98_DOIF.pm
UPD www/images/fhemSVG/coronavirus.svg

New entries in the CHANGED file:
 - feature: 89_FULLY: Implemented some new commands
Downloading https://raw.githubusercontent.com/dominikkarall/fhempy/master/controls_pythonbinding.txt

pythonbinding
nothing to do...

was bedeutet "nothing to do"?
wie kriege ich heraus ob Python und das zugehörige Bindung richtig läuft ?

vielen Dank für Hilfe !!
2 RASPI2B, 1 RASPI3B, 2 CUL, 2 Jeelink, 52 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 22 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, IOBroker, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

Offline thburkhart

  • Full Member
  • ***
  • Beiträge: 220
2021.05.21 18:45:51 1: reload: Error:Modul 10_BindingsIo deactivated:
 Can't locate Protocol/WebSocket/Frame.pm in @INC (you may need to install the Protocol::WebSocket::Frame module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/10_BindingsIo.pm line 13, <$fh> line 4079.
BEGIN failed--compilation aborted at ./FHEM/10_BindingsIo.pm line 13, <$fh> line 4079.

2021.05.21 18:45:51 0: Can't locate Protocol/WebSocket/Frame.pm in @INC (you may need to install the Protocol::WebSocket::Frame module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/10_BindingsIo.pm line 13, <$fh> line 4079.
BEGIN failed--compilation aborted at ./FHEM/10_BindingsIo.pm line 13, <$fh> line 4079.

2021.05.21 18:45:51 3: PythonModule v1.0.0 (tuya)
2021.05.21 18:45:51 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/10_PythonModule.pm line 62, <$fh> line 4082.
2021.05.21 18:45:51 3: powerfox: Defined with URL https://bkt%40gmx.net:thbbkt25@backend.powerfox.energy/api/2.0/my/246f283cfeac/current and interval 60 featurelevel 6
2021.05.21 18:45:51 3: HUEDevice42: I/O device is hueBridge1
2021.05.21 18:45:51 3: HUEDevice40: I/O device is hueBridge1
2021.05.21 18:45:51 3: HUEDevice41: I/O device is hueBridge1
2021.05.21 18:45:51 1: Including ./log/fhem2.save
2021.05.21 18:45:52 3: No I/O device found for tuya_system
2021.05.21 18:45:52 1: Messages collected while initializing Cannot load module BindingsIoFHEM:configfile:

hallo,

vielleicht hilft das zu Lösung meines Problems, fhempi zu Fliegen zu bringen

Ich bin genau nach Anleitung vorgegangen und scheitere schon hier
Wie installiere ich das fehlende Modul Protocol::WebSocket::Frame module?

hoffe auf Hilfe

besten Dank

Thomas

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

Offline dominik

  • Developer
  • Hero Member
  • ****
  • Beiträge: 2602
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #73 am: 23 Mai 2021, 21:02:49 »
Hi,

du musst
sudo cpan Protocol::WebSocket
erfolgreich ausführen, sonst wird es nicht klappen. Diese Library fehlt steht im Log.

Probier es bitte nochmals und poste den Output.
fhempy -  https://github.com/dominikkarall/fhempy: GoogleCast, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Offline thburkhart

  • Full Member
  • ***
  • Beiträge: 220
Antw:Tuya - Smart Life: LED Lampen und Schalter
« Antwort #74 am: 24 Mai 2021, 18:07:05 »
oh danke für die Antwort ...

komme so weit :

Linux THB-PI3B1 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat May 22 15:08:51 2021
root@THB-PI3B1:~# sudo cpan Protocol::WebSocket
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/root/.cpan/Metadata'
  Database was generated on Fri, 21 May 2021 15:41:03 GMT
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Mon, 24 May 2021 15:17:02 GMT
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
daran hängt es seit 30 min; FHEM reagiert nicht mehr; habe dessen shutdown vesucht

nach PI reboot und FHEM shutdown :
Linux THB-PI3B1 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon May 24 18:14:38 2021
root@THB-PI3B1:~# sudo cpan Protocol::WebSocket
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/root/.cpan/Metadata'
  Database was generated on Fri, 21 May 2021 15:41:03 GMT
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Mon, 24 May 2021 15:17:02 GMT
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running install for module 'Protocol::WebSocket'
Checksum for /root/.cpan/sources/authors/id/V/VT/VTI/Protocol-WebSocket-0.26.tar                                                                                                                                                             .gz ok
'YAML' not installed, will not store persistent state
Configuring V/VT/VTI/Protocol-WebSocket-0.26.tar.gz with Build.PL
Creating new 'Build' script for 'Protocol-WebSocket' version '0.26'
  VTI/Protocol-WebSocket-0.26.tar.gz
  /usr/bin/perl Build.PL --installdirs site -- OK
Running Build for V/VT/VTI/Protocol-WebSocket-0.26.tar.gz
cp lib/Protocol/WebSocket/Message.pm blib/lib/Protocol/WebSocket/Message.pm
cp lib/Protocol/WebSocket/Handshake/Server.pm blib/lib/Protocol/WebSocket/Handsh                                                                                                                                                             ake/Server.pm
cp lib/Protocol/WebSocket/Client.pm blib/lib/Protocol/WebSocket/Client.pm
cp lib/Protocol/WebSocket.pm blib/lib/Protocol/WebSocket.pm
cp lib/Protocol/WebSocket/Stateful.pm blib/lib/Protocol/WebSocket/Stateful.pm
cp lib/Protocol/WebSocket/URL.pm blib/lib/Protocol/WebSocket/URL.pm
cp lib/Protocol/WebSocket/Handshake.pm blib/lib/Protocol/WebSocket/Handshake.pm
cp lib/Protocol/WebSocket/Response.pm blib/lib/Protocol/WebSocket/Response.pm
cp lib/Protocol/WebSocket/Handshake/Client.pm blib/lib/Protocol/WebSocket/Handsh                                                                                                                                                             ake/Client.pm
cp lib/Protocol/WebSocket/Cookie.pm blib/lib/Protocol/WebSocket/Cookie.pm
cp lib/Protocol/WebSocket/Cookie/Response.pm blib/lib/Protocol/WebSocket/Cookie/                                                                                                                                                             Response.pm
cp lib/Protocol/WebSocket/Cookie/Request.pm blib/lib/Protocol/WebSocket/Cookie/R                                                                                                                                                             equest.pm
cp lib/Protocol/WebSocket/Request.pm blib/lib/Protocol/WebSocket/Request.pm
cp lib/Protocol/WebSocket/Frame.pm blib/lib/Protocol/WebSocket/Frame.pm
  VTI/Protocol-WebSocket-0.26.tar.gz
  ./Build -- OK
Running Build test for VTI/Protocol-WebSocket-0.26.tar.gz
t/client.t ........................... ok
t/cookie.t ........................... ok
t/draft-hixie-75/request.t ........... ok
t/draft-hixie-75/response.t .......... ok
t/draft-ietf-hybi-00/client-ssl.t .... ok
t/draft-ietf-hybi-00/client.t ........ ok
t/draft-ietf-hybi-00/frame.t ......... ok
t/draft-ietf-hybi-00/request.t ....... ok
t/draft-ietf-hybi-00/response.t ...... ok
t/draft-ietf-hybi-00/server-ssl.t .... ok
t/draft-ietf-hybi-00/server.t ........ ok
t/draft-ietf-hybi-10/client.t ........ ok
t/draft-ietf-hybi-10/request.t ....... ok
t/draft-ietf-hybi-10/response.t ...... ok
t/draft-ietf-hybi-10/server.t ........ ok
t/draft-ietf-hybi-17/client.t ........ ok
t/draft-ietf-hybi-17/frame.t ......... ok
t/draft-ietf-hybi-17/request.t ....... ok
t/draft-ietf-hybi-17/request_psgi.t .. ok
t/draft-ietf-hybi-17/response.t ...... ok
t/draft-ietf-hybi-17/server.t ........ ok
t/frame.t ............................ Name "Protocol::WebSocket::Frame::MAX_FRA                                                                                                                                                             GMENTS_AMOUNT" used only once: possible typo at t/frame.t line 85.
t/frame.t ............................ ok
t/message.t .......................... ok
t/request_common.t ................... Name "Protocol::WebSocket::Message::MAX_M                                                                                                                                                             ESSAGE_SIZE" used only once: possible typo at t/request_common.t line 26.
t/request_common.t ................... ok
t/response_common.t .................. Name "Protocol::WebSocket::Message::MAX_M                                                                                                                                                             ESSAGE_SIZE" used only once: possible typo at t/response_common.t line 22.
t/response_common.t .................. ok
t/rsv.t .............................. ok
t/url.t .............................. ok
All tests successful.
Files=27, Tests=685, 11 wallclock secs ( 0.63 usr  0.12 sys +  9.10 cusr  0.97 c                                                                                                                                                             sys = 10.82 CPU)
Result: PASS
  VTI/Protocol-WebSocket-0.26.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports VTI/Protocol-WebSocket-0.26.tar.gz

die letzten Zeilen sind für mich nicht verständlich:

Result: PASS
  VTI/Protocol-WebSocket-0.26.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports VTI/Protocol-WebSocket-0.26.tar.gz

im FHEM Log:

2021.05.24 18:25:49 3: PythonModule v1.0.0 (tuya)
2021.05.24 18:25:49 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/10_PythonModule.pm line 62, <$fh> line 4206.

was muss ich tun ?

« Letzte Änderung: 24 Mai 2021, 18:48:46 von thburkhart »
2 RASPI2B, 1 RASPI3B, 2 CUL, 2 Jeelink, 52 Tuya-Devices (Schalter, Dimmer, Sensoren, Cameras), 22 HUE-Lampen, 5 MAX! WTs, 16 MAX! HTs, 12 MAX! FKs, 1 Bresser 5in1, 1 OilFox, 8 ALEXA Echos und Dots, IOBroker, FHEM, 5 Tasmota-Devices, SonOff -Bridge, PowerFox, Buderus KM200

 

decade-submarginal