Autor Thema: Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)  (Gelesen 113956 mal)

Offline F_Klee

  • New Member
  • *
  • Beiträge: 39
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #675 am: 24 September 2022, 21:26:04 »
Ich glaube, ich habe mich vertan. Es gibt ein temp-Kommando. Das meint aber wahrscheinlich die Soll-Temperatur.

Offline Sebastian84

  • Full Member
  • ***
  • Beiträge: 285
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #676 am: 13 Oktober 2022, 12:57:42 »
Guten Tag
Ich bekomm jetzt Folgenen Fehler.

   
Save config
anyViews
 0_System
1_UG
2_EG
3_1.OG
4_2.OG
Wecker.Aus 5_Klingel
 6_Heizung
 7_Muelltonne
 8_Zuhause
 
 
       9_Batterie
 FBDECT
 Garten
HUEDevice
ge_wht_steckdose Keller
 Plots
 Unsorted
fhempy
icoEverything Everything
Commandref
Remote doc
Edit files
Select style
Event monitor

Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 367, in handle_function
    ret = await self.execute_function(hash, fhem_reply_done, nmInstance)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 440, in execute_function
    fct_timeout,
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/generic.py", line 175, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/utils.py", line 289, in handle_set
    return await fct_call(hash, final_params)
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 390, in set_desiredTemperature
    functools.partial(self.thermostat.set_target_temperature, temp)
AttributeError: 'NoneType' object has no attribute 'set_target_temperature'

 
Fhemy läuft und zeigt mir einen grünen Kreis an.


 
Save config
anyViews
 0_System
1_UG
2_EG
3_1.OG
4_2.OG
Wecker.Aus 5_Klingel
 6_Heizung
 7_Muelltonne
 8_Zuhause
 
 
       9_Batterie
 FBDECT
 Garten
HUEDevice
ge_wht_steckdose Keller
 Plots
 Unsorted
fhempy
icoEverything Everything
Commandref
Remote doc
Edit files
Select style
Event monitor

Internals:
   CFGFN     
   DEF        0
   FD         62
   FUUID      6347e9db-f33f-cdd4-6f3c-3260b5c47b18119f
   LAST_START 2022-10-13 12:43:45
   LAST_STOP  2022-10-13 12:43:45
   NAME       fhempyserver_15733
   NR         489
   NTFY_ORDER 50-fhempyserver_15733
   PID        30494
   STARTS     4
   STATE      ???
   TYPE       fhempyServer
   currentlogfile ./log/fhempy-2022-10-13.log
   eventCount 10
   logfile    ./log/fhempy-%Y-%m-%d.log
   CoProcess:
     cmdFn      fhempyServer_getCmd
     name       fhempy
     state      running FHEM/bindings/python/bin/fhempy
   READINGS:
     2022-10-13 12:43:45   fhempy          running FHEM/bindings/python/bin/fhempy
     2022-10-13 12:35:07   python          v3.7.3
Attributes:
   devStateIcon {      my $status_img = "10px-kreis-gruen";;      my $status_txt = "running";;      if (substr(ReadingsVal($name, "fhempy", "running"),0,7) ne "running") {        $status_img = "10px-kreis-rot";;        $status_txt = "stopped";;      }      "<div><a>".FW_makeImage($status_img, $status_txt)."</a><a  href=\"/fhem?cmd.dummy=set $name restart&XHR=1\" title=\"Restart\">".FW_makeImage("audio_repeat")."</a></div>"      }
   group      fhempy
   icon       python
   logfile    ./log/fhempy-%Y-%m-%d.log
   nrarchive  10
   room       fhempy

 

 
Save config
anyViews
 0_System
1_UG
2_EG
3_1.OG
4_2.OG
Wecker.Aus 5_Klingel
 6_Heizung
 7_Muelltonne
 8_Zuhause
 
 
       9_Batterie
 FBDECT
 Garten
HUEDevice
ge_wht_steckdose Keller
 Plots
 Unsorted
fhempy
icoEverything Everything
Commandref
Remote doc
Edit files
Select style
Event monitor

Internals:
   BindingType fhempy
   CFGFN     
   DEF        fhempy
   DeviceName ws:127.0.0.1:15733
   FD         68
   FUUID      6347e9db-f33f-cdd4-9a49-5fad43fb588b9c2d
   IP         127.0.0.1
   NAME       fhempy_local
   NR         488
   NTFY_ORDER 50-fhempy_local
   PARTIAL   
   PORT       15733
   STATE      opened
   TYPE       BindingsIo
   WEBSOCKET  1
   binary     1
   connecttime 1665657835.66122
   devioLoglevel 0
   eventCount 23
   localBinding 1
   nextOpenDelay 10
   prev_error 127.0.0.1: Verbindungsaufbau abgelehnt (111)
   READINGS:
     2022-10-13 12:43:55   hostname        raspberrypi
     2022-10-13 12:43:55   os              posix
     2022-10-13 12:43:55   python          3.7.3
     2022-10-13 12:43:55   release         5.10.103-v7l+
     2022-10-13 12:43:55   state           opened
     2022-10-13 12:43:55   system          Linux
     2022-10-13 12:43:55   version         0.1.506
     2022-10-13 12:43:56   version_available 0.1.506
     2022-10-13 12:43:56   version_release_notes <html><a href="https://github.com/fhempy/fhempy/releases" target="_blank">Release Notes</a></html>
   args:
     fhempy_local
     BindingsIo
     fhempy
   argsh:
Attributes:
   devStateIcon {      my $status_img = "10px-kreis-gruen";;      my $status_txt = "connected";;      my $ver = ReadingsVal($name, "version", "-");;      my $ver_available = ReadingsVal($name, "version_available", $ver);;      my $update_icon = "";;      if ($ver_available ne $ver) {        $status_img = "10px-kreis-gelb";;        $status_txt = "Version ".$ver_available." available for update";;      }      if (ReadingsVal($name, "state", "disconnected") eq "disconnected") {        $status_img = "10px-kreis-rot";;        $status_txt = "disconnected";;      }      $update_icon = "<a  href=\"/fhem?cmd.dummy=set $name update&XHR=1\" title=\"Start ".$ver_available." update\">".FW_makeImage("refresh")."</a>";;      "<div><a>".FW_makeImage($status_img, $status_txt)."</a><a> ".$ver." </a>".$update_icon."</div>"    }
   group      fhempy
   icon       file_json-ld2
   room       fhempy

 
« Letzte Änderung: 13 Oktober 2022, 13:58:34 von Sebastian84 »

Online dominik

  • Developer
  • Hero Member
  • ****
  • Beiträge: 3598
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #677 am: 15 Oktober 2022, 21:56:37 »
Steht das Device auf online? Schau bitte noch im fhempy Log (/opt/fhem/log/fhempy....) nach was da vor dem Fehler noch auftritt.
fhempy -  https://github.com/dominikkarall/fhempy: GoogleCast, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Offline Sebastian84

  • Full Member
  • ***
  • Beiträge: 285
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #678 am: 20 Oktober 2022, 23:59:13 »
    2022-10-20 23:47:52,114 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.506...
2022-10-20 23:47:52,122 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-10-20 23:47:52,180 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2022-10-20 23:47:53,495 - INFO     - websockets.server: connection open
2022-10-20 23:47:53,497 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2022-10-20 23:49:27,091 - ERROR    - dbus.proxies: Introspect error on :1.5:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.30" (uid=999 pid=8379 comm="python3 FHEM/bindings/python/bin/fhempy --local ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.5" (uid=0 pid=492 comm="/usr/lib/bluetooth/bluetoothd ")
2022-10-20 23:49:27,092 - ERROR    - eq3bt: Please add following configuration to /etc/dbus-1/system.d/bluetooth.conf:
<policy user="fhem">
    <allow own="org.bluez"/>
    <allow send_destination="org.bluez"/>
    <allow send_interface="org.bluez.GattCharacteristic1"/>
    <allow send_interface="org.bluez.GattDescriptor1"/>
    <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
    <allow send_interface="org.freedesktop.DBus.Properties"/>
</policy>

ATTENTION: On remote device change the user account above to the one which runs fhempy (e.g. pi)

Restart dbus afterwards: sudo systemctl restart dbus
2022-10-20 23:49:57,837 - INFO     - fhempy.lib.fhem_pythonbinding: Start update...
2022-10-20 23:49:57,839 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2022-10-20 23:50:11,069 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2022-10-20 23:50:11,085 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
2022-10-20 23:50:11,088 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2022-10-20 23:50:11,089 - INFO     - websockets.server: server closing
2022-10-20 23:50:21,111 - INFO     - websockets.server: connection closed
2022-10-20 23:50:21,112 - INFO     - websockets.server: server closed
2022-10-20 23:50:21,114 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
2022-10-20 23:50:22,048 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.508...
2022-10-20 23:50:22,055 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-10-20 23:50:22,095 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2022-10-20 23:50:31,487 - INFO     - websockets.server: connection open
2022-10-20 23:50:31,490 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2022-10-20 23:50:32,096 - ERROR    - dbus.proxies: Introspect error on :1.5:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.31" (uid=999 pid=10064 comm="python3 FHEM/bindings/python/bin/fhempy --local ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.5" (uid=0 pid=492 comm="/usr/lib/bluetooth/bluetoothd ")
2022-10-20 23:50:32,097 - ERROR    - eq3bt: Please add following configuration to /etc/dbus-1/system.d/bluetooth.conf:
<policy user="fhem">
    <allow own="org.bluez"/>
    <allow send_destination="org.bluez"/>
    <allow send_interface="org.bluez.GattCharacteristic1"/>
    <allow send_interface="org.bluez.GattDescriptor1"/>
    <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
    <allow send_interface="org.freedesktop.DBus.Properties"/>
</policy>

ATTENTION: On remote device change the user account above to the one which runs fhempy (e.g. pi)

Restart dbus afterwards: sudo systemctl restart dbus
2022-10-20 23:52:25,556 - INFO     - fhempy.lib.fhem_pythonbinding: Shutdown initiated...
2022-10-20 23:52:25,563 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2022-10-20 23:52:25,565 - INFO     - websockets.server: server closing
2022-10-20 23:52:27,037 - INFO     - fhempy.lib.fhem_pythonbinding: Shutdown is already running, keep calm.
2022-10-20 23:52:28,971 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.508...
2022-10-20 23:52:28,979 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-10-20 23:52:29,019 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2022-10-20 23:52:38,259 - INFO     - websockets.server: connection open
2022-10-20 23:52:38,262 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2022-10-20 23:52:38,657 - ERROR    - dbus.proxies: Introspect error on :1.5:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.32" (uid=999 pid=11426 comm="python3 FHEM/bindings/python/bin/fhempy --local ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.5" (uid=0 pid=492 comm="/usr/lib/bluetooth/bluetoothd ")
2022-10-20 23:52:38,658 - ERROR    - eq3bt: Please add following configuration to /etc/dbus-1/system.d/bluetooth.conf:
<policy user="fhem">
    <allow own="org.bluez"/>
    <allow send_destination="org.bluez"/>
    <allow send_interface="org.bluez.GattCharacteristic1"/>
    <allow send_interface="org.bluez.GattDescriptor1"/>
    <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
    <allow send_interface="org.freedesktop.DBus.Properties"/>
</policy>

ATTENTION: On remote device change the user account above to the one which runs fhempy (e.g. pi)

Restart dbus afterwards: sudo systemctl restart dbus
2022-10-20 23:53:22,917 - ERROR    - eq3bt: Exception raised by task: <Task finished coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/generic.py:183> exception=AttributeError("'NoneType' object has no attribute 'update_all'") created at /usr/lib/python3.7/asyncio/tasks.py:325>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/generic.py", line 191, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/generic.py", line 185, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 218, in update_all
    pool, functools.partial(self.thermostat.update_all)
AttributeError: 'NoneType' object has no attribute 'update_all' 
« Letzte Änderung: 21 Oktober 2022, 10:34:19 von Sebastian84 »

Offline F_Klee

  • New Member
  • *
  • Beiträge: 39
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #679 am: 14 Dezember 2022, 15:53:39 »
Hallo Leute,
ich teste gerade fhempy mit eq3bt. Da ich einige Satelliten benötige und Raspberry Pi zur Zeit schlecht zu bekommen sind, habe ich den RockPi Zero (mit Armbian) ausprobiert. Funktioniert prima. Mein RockPi hat eine externe Antenne. Dadurch scheint sich eine größere Reichweite gegenüber einem RasPi 3 zu ergeben. Nun schaue ich, wie sich das Ventil verhält bevor ich mir weitere zulege und endgültig einbaue.

Beim Update der fhempy-Peers (habe zwei Stück zum Testen plus local) fiel mir auf, dass die Meldung "update finished...please wait" am Ende stehen blieb. Erst nach einem Restart des Peers (Dienst reichte nicht) wurde die neue Version angezeigt.
Desweiteren konnte ich zwar ein "off" zum Ventil senden, bei einem anschließenden "on" stand im Auswahlfeld für das set-Kommando nur noch "error". Ein setzen auf "Comfort" schaltete das Ventil wieder ein.

Ich werde weiter testen und berichten.

Gruß
Frank

Offline F_Klee

  • New Member
  • *
  • Beiträge: 39
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #680 am: 14 Dezember 2022, 17:13:20 »
Wollte gerade einmal in die Log-Datei schauen. Folgende URL wurde im Browser aufgerufen

8083/fhem?detail=fhempy_log

Die Seite war leer. Ich habe die Log-Dateien auf ein Datenlaufwerk ausgelagert. Dort werden alle Log-Dateien (FHEM und Devices) korrekt angelegt und auch angezeigt. Die fhempy Log-Dateien werden auch korrekt angelegt. Nur nicht angezeigt. Kann es sein, dass es beim Auslagern der Log-Dateien noch ein Problem gibt?

Gruß
Frank

Online dominik

  • Developer
  • Hero Member
  • ****
  • Beiträge: 3598
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #681 am: 17 Dezember 2022, 21:01:38 »
Stimmt, das Logfile wird nicht angelegt. Danke für die Info! Ist beim nächsten Update gefixed.

"update finished...please wait" könnte hängen bleiben, wenn der Bluetooth Prozess hängt. Du kannst mal versuchen einen Bluetooth reset zu machen um zu prüfen ob es dann geht.
Probier das mit dem "on" bitte nochmals, wenn "error" kommt, poste bitte das FHEM und fhempy Log. Das fhempy Log am Peer bekommst du mit journalctl -u fhempy
fhempy -  https://github.com/dominikkarall/fhempy: GoogleCast, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Offline F_Klee

  • New Member
  • *
  • Beiträge: 39
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #682 am: 18 Dezember 2022, 15:56:34 »
Hallo Dominik,
den beschriebenen Fehler mit "error" in der set-Auswahlliste konnte ich nicht mehr nachstellen. Allerdings habe ich festgestellt, dass es wohl bei verschiedenen Skins Probleme gibt. Auf dem PC nutze ich f18. Dort funktionieren alle set-Befehle wie sie sollen. Allerdings verschwindet manchmal die set-Zeile mit dem Auswahlfeld komplett. Auf dem Handy hatte ich iOS12 als Oberfläche. Dort kann ich die desiredTemperature setzen. Bei anderen Kommandos bekomme ich "too many parameters provided 4.5". Stelle ich auf f18 um, dann funktionieren die Einstellungen auch vom Handy. Üblicherweise stelle ich die Werte aber über das FTUI. Das funktioniert, wie auch die direkte Eingabe in die Befehlszeile unabhängig von der Oberfläche funktioniert.
Für mich reicht das eigentlich. Meine Mieterin ist nicht so technikaffin, dass ich ihr mit FhemWEB kommen könnte. Am wahrscheinlichsten ist, dass sie das Drehrad am Thermostat benutzt  ;D

Nachdem ich beim Probieren etwas verwundert war und mal in der Anleitung nachgelesen habe musste ich feststellen, dass "on" nicht das Gegenteil von "off" ist. Mit "on" wird ein Stromsparmodus für den Sommer aktiviert (Ventil komplett offen - desiredTemperature 30,0), während "off" ein Frostschutz ist (Ventil komplett geschlossen - desiredTemperature 4,5). Aufgehoben wird der jeweilige Modus durch Einstellen einer neuen Solltemperatur.

Ich hatte auch schon mal einen Text für das Wiki entworfen, wobei ich das Thermostat als Aufhänger genommen habe und sowohl das Modul 10_EQ3BT als auch die fhempy-Installation für das Thermostat beschreibe. Ich überlege, ob ein anderer Ansatz nicht sinnvoller wäre, nämlich ein Kapitel Installation fhempy und ein zweites Kapitel Thermostat mit den zwei Varianten. Ist das 10_EQ3BT eigentlich noch aktiv und in der Weiterentwicklung oder soll das aussterben und auch gar nicht mehr ins Wiki?

Gruß
Frank

Online dominik

  • Developer
  • Hero Member
  • ****
  • Beiträge: 3598
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #683 am: 18 Dezember 2022, 22:28:22 »
Hi Frank,

also wenn du ein Wiki über die fhempy Installation + Thermostat Nutzung machst, wäre ich dir sehr dankbar!! :)

Mit on/off das ist hardcoded so wie du es beschrieben hast. Was würdest du dir bei on erwarten? In der Standard App gibt es glaube ich gar kein "on". Ich könnte mir vorstellen, dass ich einfach die letzte Temperature != 4.5 (=OFF) speichere und das dann für "on" verwendet wird.

Danke für die Info mit den Skins! Das hatte ich natürlich überhaupt nicht am Radar. Ich schreibe den helpText direkt über JavaScript, womöglich gibt es da mittlerweile bessere Varianten die dann Skin unabhängig sind. Dann schau ich mir noch an.
fhempy -  https://github.com/dominikkarall/fhempy: GoogleCast, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Offline mayonezo

  • New Member
  • *
  • Beiträge: 22
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #684 am: 22 Dezember 2022, 22:11:17 »
Hallo zusammen,

ist es bei euch auch so, dass das Einstellen der Offset Temperatur keinen Effekt hat, wenn es über Bluetooth passiert? Meine Thermostate zeigen zwar die neue Offset-Temperatur an, die Ventile reagieren aber nur, wenn ich den Offset direkt an den Thermostaten einstelle. Hier gibt es auch einen Forenbeitrag dazu:

https://de.elv.com/forum/temperatur-offset-scheint-wirkungslos-zu-sein-18916

Kann man da von fhempy-Seite aus was machen oder ist das einfach ein Fehler der Thermostate?

Offline F_Klee

  • New Member
  • *
  • Beiträge: 39
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #685 am: 22 Dezember 2022, 22:38:54 »
Ich spiele zur Zeit erst einmal mit einem Thermostat. Auch bei mir änderte sich an der Ventilstellung nichts trotz tempOffset -3,5 Grad. Ich habe es aber noch nicht weiter verfolgt. Da bei direkter Einstellung am Thermostat die Ventilstellung direkt angepasst wird, scheint eine Verzögerung als Grund weg zu fallen (hatte ich zuerst vermutet). Es scheint wohl ein Problem des Thermostats zu sein. Werde ich demnächst mal genauer hinschauen.

Offline F_Klee

  • New Member
  • *
  • Beiträge: 39
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #686 am: 28 Dezember 2022, 14:29:28 »
Hallo Leute,
ich habe einen Wiki-Artikel https://wiki.fhem.de/wiki/Einrichten_der_Bluetooth-Thermostate_von_eQ-3 erstellt. Da ich selbst Anfänger bin, haben sich sicher noch ein paar Fehler eingeschlichen. Schaut doch mal bitte drüber, ob das so OK ist. In dem Kapitel "Bekannte Probleme" könnt ihr gerne von euren Problemerfahrungen und deren eventuellen Lösungen berichten.

Gruß
Frank

Offline F_Klee

  • New Member
  • *
  • Beiträge: 39
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #687 am: 28 Dezember 2022, 17:36:53 »
Zum Thema Offset-Temperatur konnte ich das Problem bestätigen (Vers. 120). Die neue Offset-Temperatur wird zum Thermostat übertragen und dort gespeichert. Zur Regelung wird dieser Wert erst dann genutzt, wenn man am Thermostat den Menüpunkt aufruft und die eingestellte Offset-Temperatur - ohne sie zu ändern - bestätigt. Da die App-Nutzer das gleiche Problem haben, ist das ein Fehler der Thermostat-Software. Da man die Offset-Temperatur aber nur einmal einstellen muss halte ich das aber nur für ein kleines Problem.

Offline denis.robel

  • Jr. Member
  • **
  • Beiträge: 52
Antw:Neues Modul: EQ3 Bluetooth Thermostat (10_EQ3BT)
« Antwort #688 am: 29 Dezember 2022, 11:56:50 »
Hallo Frank,

habe gerade mal quer gelesen im Wiki.
Es ist für mich nachvollziehbar und ich habe auf den ersten Blick keine gravierenden Fehler gefunden.

Vielen Dank für den Beitrag.
VG

Denis

Offline mayonezo

  • New Member
  • *
  • Beiträge: 22
Unzuverlässige Verbindung und bluepy-helper bei 100%
« Antwort #689 am: 07 Januar 2023, 13:28:54 »
Hallo zusammen,

ich habe Probleme mit bluepy-helper, das immer wieder mal 100% CPU Auslastung per top anzeigt. Außerdem sind die Verbindungen zu den Thermostaten unzuverlässig. Ein Neustart von fhem hilft dann meistens, dass es wieder geht.

An der Bluetooth Reichweite sollte es nicht liegen, ich habe einen Bluetooth Adapter gekauft, der 100m Reichweite angibt und der sich im Wohnzimmer befindet, in Sichtlinie zu 2 der Thermostate.

Kann mir jemand helfen das zu debuggen? Ich habe mal das fhempy-Log von heute angehängt, da ist auch immer mal wieder ein "broken pipe" Eintrag dazwischen.Die meisten update ERRORs habe ich noch entfernt. bluepy-helper wurde ca. um 13:02 Uhr per killall beendet:

2023-01-07 00:00:35,756 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 00:00:35,759 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 00:00:35,766 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 00:01:35,819 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 00:01:35,823 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 00:01:35,831 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 03:10:56,018 - ERROR    - Wohnzimmer_Thermostat_Klein: Exception raised by task: <Task finished name='Task-1016973' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 304, in _writeCmd
    self._helper.stdin.write(cmd)
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 03:23:45,532 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 03:24:17,701 - ERROR    - Wohnzimmer_Thermostat_Klein: Exception raised by task: <Task finished name='Task-1019067' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 304, in _writeCmd
    self._helper.stdin.write(cmd)
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 03:24:45,564 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 09:37:03,298 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 09:37:51,117 - ERROR    - Wohnzimmer_Thermostat_Klein: Exception raised by task: <Task finished name='Task-1075651' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 304, in _writeCmd
    self._helper.stdin.write(cmd)
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 09:37:54,701 - ERROR    - Wohnzimmer_Thermostat_Klein: Exception raised by task: <Task finished name='Task-1075704' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 304, in _writeCmd
    self._helper.stdin.write(cmd)
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 09:38:03,239 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 09:38:03,330 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 09:38:03,340 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 09:39:03,279 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 09:39:03,373 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 09:39:03,384 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 09:40:03,322 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 09:40:03,417 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 09:40:03,459 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 09:40:35,167 - ERROR    - Wohnzimmer_Thermostat_Klein: Exception raised by task: <Task finished name='Task-1076228' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 304, in _writeCmd
    self._helper.stdin.write(cmd)
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 09:40:38,230 - ERROR    - Wohnzimmer_Thermostat_Klein: Exception raised by task: <Task finished name='Task-1076281' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 304, in _writeCmd
    self._helper.stdin.write(cmd)
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 10:27:05,668 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 10:27:48,070 - ERROR    - Arbeitszimmer_Thermostat: Exception raised by task: <Task finished name='Task-1083425' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 304, in _writeCmd
    self._helper.stdin.write(cmd)
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 10:28:05,629 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 11:02:07,308 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 11:02:29,527 - ERROR    - Arbeitszimmer_Thermostat: Exception raised by task: <Task finished name='Task-1088637' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 304, in _writeCmd
    self._helper.stdin.write(cmd)
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 11:03:07,274 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 11:03:07,304 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 11:03:07,337 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 11:03:08,012 - INFO     - fhempy.lib.fhem_pythonbinding: Start update...
2023-01-07 11:03:08,015 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
2023-01-07 11:03:34,486 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2023-01-07 11:03:34,507 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
2023-01-07 11:03:34,540 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2023-01-07 11:03:34,544 - INFO     - websockets.server: server closing
2023-01-07 11:03:44,583 - INFO     - websockets.server: connection closed
2023-01-07 11:03:44,586 - INFO     - websockets.server: server closed
2023-01-07 11:03:44,591 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
2023-01-07 11:03:47,244 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.543...
2023-01-07 11:03:47,254 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-01-07 11:03:47,349 - WARNING  - asyncio: Executing <Task pending name='Task-1' coro=<async_main() running at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py:616> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x7f9779fdf0>()] created at /usr/lib/python3.9/asyncio/tasks.py:704> cb=[_run_until_complete_cb() at /usr/lib/python3.9/asyncio/base_events.py:184] created at /usr/lib/python3.9/asyncio/base_events.py:621> took 0.105 seconds
2023-01-07 11:03:47,353 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-01-07 11:03:55,646 - INFO     - websockets.server: connection open
2023-01-07 11:03:55,651 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-01-07 11:45:19,117 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 11:46:25,916 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 11:47:37,766 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 11:55:07,019 - WARNING  - asyncio: Executing <Task pending name='Task-5' coro=<WebSocketCommonProtocol.transfer_data() running at /opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py:945> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f95d5ed30>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> cb=[<TaskWakeupMethWrapper object at 0x7f9779fcd0>(), _wait.<locals>._on_completion() at /usr/lib/python3.9/asyncio/tasks.py:513] created at /opt/fhem/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py:344> took 0.108 seconds
2023-01-07 12:00:08,215 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 12:22:16,413 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 12:43:40,663 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 13:02:55,481 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 13:02:55,483 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s

2023-01-07 14:01:57,812 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 14:01:57,838 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 14:02:00,745 - ERROR    - Wohnzimmer_Thermostat_Gross: Failed to update, retry in 60s
2023-01-07 14:02:42,063 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 14:02:49,034 - ERROR    - Arbeitszimmer_Thermostat: Exception raised by task: <Task finished name='Task-53214' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 305, in _writeCmd
    self._helper.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 14:02:57,854 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 14:02:57,877 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 14:02:59,197 - ERROR    - Arbeitszimmer_Thermostat: Exception raised by task: <Task finished name='Task-53229' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 305, in _writeCmd
    self._helper.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 14:03:00,777 - ERROR    - Wohnzimmer_Thermostat_Gross: Failed to update, retry in 60s
2023-01-07 14:03:07,321 - ERROR    - Arbeitszimmer_Thermostat: Exception raised by task: <Task finished name='Task-53240' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 305, in _writeCmd
    self._helper.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 14:03:13,399 - ERROR    - Arbeitszimmer_Thermostat: Exception raised by task: <Task finished name='Task-53247' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 305, in _writeCmd
    self._helper.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 14:03:36,807 - ERROR    - Arbeitszimmer_Thermostat: Exception raised by task: <Task finished name='Task-53258' coro=<FhemModule._run_coro() done, defined at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py:194> exception=BrokenPipeError(32, 'Broken pipe') created at /usr/lib/python3.9/asyncio/tasks.py:361>
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 202, in _handle_task_result
    task.result()
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/generic.py", line 196, in _run_coro
    await coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 364, in set_and_update
    await utils.run_blocking(fct)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py", line 72, in run_blocking
    return await asyncio.get_event_loop().run_in_executor(pool, function)
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3bt.py", line 538, in set_target_temperature
    self.target_temperature = temp
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/eq3btsmart.py", line 267, in target_temperature
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 198, in make_request
    with self:
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/eq3bt/connection.py", line 128, in __enter__
    conn_state = self._conn.getState()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 471, in getState
    status = self.status()
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 378, in status
    self._writeCmd("stat\n")
  File "/opt/fhem/.local/lib/python3.9/site-packages/bluepy/btle.py", line 305, in _writeCmd
    self._helper.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
2023-01-07 14:03:42,098 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 14:04:03,620 - ERROR    - Wohnzimmer_Thermostat_Klein: Failed to update, retry in 60s
2023-01-07 14:04:03,629 - ERROR    - Kinderzimmer_Thermostat: Failed to update, retry in 60s
2023-01-07 14:04:03,632 - ERROR    - Wohnzimmer_Thermostat_Gross: Failed to update, retry in 60s
2023-01-07 14:04:23,338 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.543...
2023-01-07 14:04:23,348 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-01-07 14:04:23,436 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-01-07 14:04:28,816 - INFO     - websockets.server: connection open
2023-01-07 14:04:28,822 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-01-07 14:10:53,861 - INFO     - fhempy.lib.fhem_pythonbinding: Shutdown initiated...
2023-01-07 14:10:53,912 - ERROR    - Wohnzimmer_Thermostat_Gross: Failed to update, retry in 60s
2023-01-07 14:10:54,003 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2023-01-07 14:10:54,010 - INFO     - websockets.server: server closing
2023-01-07 14:11:04,055 - INFO     - websockets.server: connection closed
2023-01-07 14:11:04,057 - INFO     - websockets.server: server closed
2023-01-07 14:11:04,063 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 0
2023-01-07 14:11:06,022 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.543...
2023-01-07 14:11:06,033 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-01-07 14:11:06,098 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-01-07 14:11:30,903 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.543...
2023-01-07 14:11:30,914 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-01-07 14:11:31,010 - WARNING  - asyncio: Executing <Task pending name='Task-1' coro=<async_main() running at /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py:616> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x7f8edf5df0>()] created at /usr/lib/python3.9/asyncio/tasks.py:704> cb=[_run_until_complete_cb() at /usr/lib/python3.9/asyncio/base_events.py:184] created at /usr/lib/python3.9/asyncio/base_events.py:621> took 0.107 seconds
2023-01-07 14:11:31,014 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2023-01-07 14:11:32,939 - INFO     - websockets.server: connection open
2023-01-07 14:11:32,944 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-01-07 14:11:33,102 - ERROR    - fhempy.lib.fhem: Failed to get github fhempy data
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiohttp/connector.py", line 1154, in _create_direct_connection
    hosts = await asyncio.shield(host_resolved)
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiohttp/connector.py", line 880, in _resolve_host
    addrs = await self._resolver.resolve(host, port, family=self._family)
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiohttp/resolver.py", line 33, in resolve
    infos = await self._loop.getaddrinfo(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 856, in getaddrinfo
    return await self.run_in_executor(
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 839, in _getaddrinfo_debug
    addrinfo = socket.getaddrinfo(host, port, family, type, proto, flags)
  File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 283, in get_github_data
    async with session.get(
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
    conn = await self._connector.connect(
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
  File "/opt/fhem/.local/lib/python3.9/site-packages/aiohttp/connector.py", line 1166, in _create_direct_connection
    raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:default [Temporary failure in name resolution]
2023-01-07 14:11:33,132 - ERROR    - fhempy.lib.fhem: Failed to update latest release infos
Traceback (most recent call last):
  File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/fhem.py", line 298, in send_latest_release
    "version_available": github_data["name"][1:],
KeyError: 'name'
2023-01-07 14:21:30,392 - ERROR    - Arbeitszimmer_Thermostat: Failed to update, retry in 60s

EDIT: Kann es evtl. damit zusammenhängen, dass ich sowohl das Raspi Bluetooth, als auch einen Bluetooth USB-Dongle parallel nutze?
« Letzte Änderung: 07 Januar 2023, 14:53:45 von mayonezo »

 

decade-submarginal