[74_CometBlueBTLE.pm] Neues Modul für Eurotronic Bluetooth Heizungsthermostate

Begonnen von CoolTux, 27 Februar 2018, 12:24:43

Vorheriges Thema - Nächstes Thema

deify

Das global verbose war tatsächlich noch auf 5. Hier nochmal ohne global, nur für das gewählte device:

2018-05-25 08:42:41 CometBlueBTLE ThermostatSZ pairing thermostat with pin: 00000000
2018.05.25 08:42:46 4 : CometBlueBTLE (ThermostatWZ) - Run CreateParamGatttool with mod: read
2018.05.25 08:42:46 5 : CometBlueBTLE (ThermostatWZ) - Noch in Queue nach pop: 0
2018.05.25 08:42:46 3 : CometBlueBTLE (ThermostatWZ) - CreateParamGatttool erstes if
2018-05-25 08:42:46 CometBlueBTLE ThermostatWZ pairing thermostat with pin: 00000000
2018.05.25 08:42:46 4 : CometBlueBTLE (ThermostatWZ) - Read CometBlueBTLE_ExecGatttool_Run ThermostatWZ|6F:78:7E:36:1B:37|read|0x18
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: gatttool return string: ThermostatWZ|6F:78:7E:36:1B:37|ok|write|0x48|HASH(0x1b43fe0)
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - Run CreateParamGatttool with mod: read
2018.05.25 08:42:50 5 : CometBlueBTLE (ThermostatWZ) - Noch in Queue nach pop: 0
2018.05.25 08:42:50 3 : CometBlueBTLE (ThermostatWZ) - CreateParamGatttool zweites if
2018-05-25 08:42:50 CometBlueBTLE ThermostatWZ read sensor data
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - Read CometBlueBTLE_ExecGatttool_Run ThermostatWZ|6F:78:7E:36:1B:37|read|0x18
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: gatttool return string: ThermostatWZ|6F:78:7E:36:1B:37|ok|read|0x18|HASH(0x1b43fe0)
2018.05.25 08:42:50 3 : CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: JSON error while request: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "HASH(0x1b43fe0)") at /usr/share/fhem/FHEM/74_CometBlueBTLE.pm line 636.
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - ProcessingNotification
2018.05.25 08:42:50 3 : CometBlueBTLE (ThermostatWZ) - ProcessingNotification: handle 0x18 - Noch in Queue: 0
2018.05.25 08:42:50 5 : CometBlueBTLE (ThermostatWZ) - ProcessingNotification: handle 0x18
2018.05.25 08:42:50 3 : CometBlueBTLE (ThermostatWZ) - handle 0x18
2018.05.25 08:42:50 5 : CometBlueBTLE (ThermostatWZ) - WriteReadings: Reading firmware, value altes value
2018-05-25 08:42:50 CometBlueBTLE ThermostatWZ T: 0 desired: 0
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - WriteReadings: Readings were written
2018-05-25 08:42:57 CometBlueBTLE ThermostatSZ read sensor data
2018-05-25 08:42:58 CometBlueBTLE ThermostatSZ T: 0 desired: 0

CoolTux

Ok schaue ich mir an.

Muss erstmal Gardena machen. Sommer ist näher wie der Winter  ;D
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Zitat von: deify am 25 Mai 2018, 08:45:14
Das global verbose war tatsächlich noch auf 5. Hier nochmal ohne global, nur für das gewählte device:

2018-05-25 08:42:41 CometBlueBTLE ThermostatSZ pairing thermostat with pin: 00000000
2018.05.25 08:42:46 4 : CometBlueBTLE (ThermostatWZ) - Run CreateParamGatttool with mod: read
2018.05.25 08:42:46 5 : CometBlueBTLE (ThermostatWZ) - Noch in Queue nach pop: 0
2018.05.25 08:42:46 3 : CometBlueBTLE (ThermostatWZ) - CreateParamGatttool erstes if
2018-05-25 08:42:46 CometBlueBTLE ThermostatWZ pairing thermostat with pin: 00000000
2018.05.25 08:42:46 4 : CometBlueBTLE (ThermostatWZ) - Read CometBlueBTLE_ExecGatttool_Run ThermostatWZ|6F:78:7E:36:1B:37|read|0x18
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: gatttool return string: ThermostatWZ|6F:78:7E:36:1B:37|ok|write|0x48|HASH(0x1b43fe0)
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - Run CreateParamGatttool with mod: read
2018.05.25 08:42:50 5 : CometBlueBTLE (ThermostatWZ) - Noch in Queue nach pop: 0
2018.05.25 08:42:50 3 : CometBlueBTLE (ThermostatWZ) - CreateParamGatttool zweites if
2018-05-25 08:42:50 CometBlueBTLE ThermostatWZ read sensor data
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - Read CometBlueBTLE_ExecGatttool_Run ThermostatWZ|6F:78:7E:36:1B:37|read|0x18
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: gatttool return string: ThermostatWZ|6F:78:7E:36:1B:37|ok|read|0x18|HASH(0x1b43fe0)
2018.05.25 08:42:50 3 : CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: JSON error while request: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "HASH(0x1b43fe0)") at /usr/share/fhem/FHEM/74_CometBlueBTLE.pm line 636.
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - ProcessingNotification
2018.05.25 08:42:50 3 : CometBlueBTLE (ThermostatWZ) - ProcessingNotification: handle 0x18 - Noch in Queue: 0
2018.05.25 08:42:50 5 : CometBlueBTLE (ThermostatWZ) - ProcessingNotification: handle 0x18
2018.05.25 08:42:50 3 : CometBlueBTLE (ThermostatWZ) - handle 0x18
2018.05.25 08:42:50 5 : CometBlueBTLE (ThermostatWZ) - WriteReadings: Reading firmware, value altes value
2018-05-25 08:42:50 CometBlueBTLE ThermostatWZ T: 0 desired: 0
2018.05.25 08:42:50 4 : CometBlueBTLE (ThermostatWZ) - WriteReadings: Readings were written
2018-05-25 08:42:57 CometBlueBTLE ThermostatSZ read sensor data
2018-05-25 08:42:58 CometBlueBTLE ThermostatSZ T: 0 desired: 0


Hole Dir mal bitte die aktuellste Version aus meinem Github und teste dann noch mal. Einige Deiner Ausgaben stimmen nicht mit der aktuellen Entwicklung über ein.
https://github.com/LeonGaultier/fhem-CometBlueBTLE/archive/devel.zip
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

deify

Hi, sorry hab das Forum in letzter Zeit nicht gecheckt. Wir du ja gesagt hattest, es war Sommer  :D da waren die Thermostate nicht Priorität 1.

Also ja das Problem besteht noch. Habe das Update heute gemacht. Hier die logs

2018.08.13 22:28:09 0: Featurelevel: 5.8
2018.08.13 22:28:09 0: Server started with 26 defined entities (fhem.pl:16609/2018-04-13 perl:5.026002 os:linux user:fhem pid:27459)
2018.08.13 22:28:09 4: Connection accepted from GHomaServer_192.168.178.35_11166
2018.08.13 22:28:09 4: GHomaServer: angelegt: GHomaServer_192.168.178.35_11166
2018.08.13 22:28:09 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b 6F:78:7E:36:1B:37 --char-write-req -a 0x48 -n 00000000 2>&1 /dev/null and loop 0
2018.08.13 22:28:11 5: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: gatttool return string: ThermostatWZ|6F:78:7E:36:1B:37|ok|write|0x48|HASH(0x100f970)
2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - Run CreateParamGatttool with mod: read
2018.08.13 22:28:11 5: CometBlueBTLE (ThermostatWZ) - Noch in Queue nach pop: 0
2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - CreateParamGatttool zweites if
2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - Read CometBlueBTLE_ExecGatttool_Run ThermostatWZ|6F:78:7E:36:1B:37|read|0x18
2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b 6F:78:7E:36:1B:37 --char-read -a 0x18 2>&1 /dev/null and loop 0
2018.08.13 22:28:11 5: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,30 2e 30 2e 31 30

2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,30 2e 30 2e 31 30

2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: gatttool return string: ThermostatWZ|6F:78:7E:36:1B:37|ok|read|0x18|HASH(0x100f970)
2018.08.13 22:28:11 3: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: JSON error while request: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "HASH(0x100f970)") at /usr/share/fhem/FHEM/74_CometBlueBTLE.pm line 633.

2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - ProcessingNotification
2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - ProcessingNotification: handle 0x18 - Noch in Queue: 0
2018.08.13 22:28:11 5: CometBlueBTLE (ThermostatWZ) - ProcessingNotification: handle 0x18
2018.08.13 22:28:11 3: CometBlueBTLE (ThermostatWZ) - handle 0x18
2018.08.13 22:28:11 5: CometBlueBTLE (ThermostatWZ) - WriteReadings: Reading firmware, value  altes value
2018.08.13 22:28:11 4: CometBlueBTLE (ThermostatWZ) - WriteReadings: Readings were written
2018.08.13 22:28:40 4: CometBlueBTLE (ThermostatWZ) - Run CreateParamGatttool with mod: read
2018.08.13 22:28:40 5: CometBlueBTLE (ThermostatWZ) - Noch in Queue nach pop: 0
2018.08.13 22:28:40 4: CometBlueBTLE (ThermostatWZ) - CreateParamGatttool erstes if
2018.08.13 22:28:40 4: CometBlueBTLE (ThermostatWZ) - Read CometBlueBTLE_ExecGatttool_Run ThermostatWZ|6F:78:7E:36:1B:37|read|0x3
2018.08.13 22:28:40 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b 6F:78:7E:36:1B:37 --char-write-req -a 0x48 -n 00000000 2>&1 /dev/null and loop 0
2018.08.13 22:28:43 5: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: gatttool return string: ThermostatWZ|6F:78:7E:36:1B:37|ok|write|0x48|HASH(0x100f970)
2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - Run CreateParamGatttool with mod: read
2018.08.13 22:28:43 5: CometBlueBTLE (ThermostatWZ) - Noch in Queue nach pop: 0
2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - CreateParamGatttool zweites if
2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - Read CometBlueBTLE_ExecGatttool_Run ThermostatWZ|6F:78:7E:36:1B:37|read|0x3
2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b 6F:78:7E:36:1B:37 --char-read -a 0x3 2>&1 /dev/null and loop 0
2018.08.13 22:28:43 5: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,43 6f 6d 65 74 20 42 6c 75 65

2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,43 6f 6d 65 74 20 42 6c 75 65

2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: gatttool return string: ThermostatWZ|6F:78:7E:36:1B:37|ok|read|0x3|HASH(0x100f970)
2018.08.13 22:28:43 3: CometBlueBTLE (ThermostatWZ) - ExecGatttool_Done: JSON error while request: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "HASH(0x100f970)") at /usr/share/fhem/FHEM/74_CometBlueBTLE.pm line 633.

2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - ProcessingNotification
2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - ProcessingNotification: handle 0x3 - Noch in Queue: 0
2018.08.13 22:28:43 5: CometBlueBTLE (ThermostatWZ) - ProcessingNotification: handle 0x3
2018.08.13 22:28:43 5: CometBlueBTLE (ThermostatWZ) - handle 0x3
2018.08.13 22:28:43 5: CometBlueBTLE (ThermostatWZ) - WriteReadings: Reading devicename, value  altes value
2018.08.13 22:28:43 4: CometBlueBTLE (ThermostatWZ) - WriteReadings: Readings were written

ludwich

Hallo CoolTux,
ich wollte nur mal kurz nachfragen, wie es mit dem Modul weitergeht. Du hattest ja, wenn ich mich richtig erinnere, den Beginn der kalten Zeit im Auge ;-)
Bei uns werden die Heizungen sicher bald hochgefahren.
Ich habe mit meine Thermy und dem Sygonix immer noch falsche Daten bei der Temperaturliste.
Ich bin gern beim weiteren Testen dabei - Musst mich nur leiten ;-)

Schöne Grüße aus München
ludwich



CoolTux

Zitat von: ludwich am 11 September 2018, 20:06:55
Hallo CoolTux,
ich wollte nur mal kurz nachfragen, wie es mit dem Modul weitergeht. Du hattest ja, wenn ich mich richtig erinnere, den Beginn der kalten Zeit im Auge ;-)
Bei uns werden die Heizungen sicher bald hochgefahren.
Ich habe mit meine Thermy und dem Sygonix immer noch falsche Daten bei der Temperaturliste.
Ich bin gern beim weiteren Testen dabei - Musst mich nur leiten ;-)

Schöne Grüße aus München
ludwich

Hallo,

Das Problem ist das entweder die Listen generell nicht vernünftig erhalten bleiben (müsste man mal ne yzeit lang ohne FHEM testen), oder das beim Abrufen die Register kaputt gehen. Letzteres kann ich fast nicht glauben.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Ich habe eine neue Version ins Git geladen.
Dank eines hilfreichen Users sollten die Templisten nun valide sein.
Außerdem sollte das hier:

ExecGatttool_Done: gatttool return string: ThermostatWZ|6F:78:7E:36:1B:37|ok|write|0x48|HASH(0x100f970)

nun nicht mehr kommen.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Ich bräuchte bitte jemanden der die englische Commandref zum Modul schreibt. Die deutsche ist bereits fertig. Freiwillige?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Caleus

Hallo CoolTux

ich habe mal eine wahrscheinlich eher dumme Frage und zwar wenn ich eine Temperatur einstelle Heizen die Thermostate weiter obwohl die eingestellte Temperatur erreicht ist siehe Bild. Habe ich da was Falsches eingestellt ?

Internals:
   BTMAC      D6:EA:EE:C7:BD:DD
   DEF        D6:EA:EE:C7:BD:DD
   INTERVAL   150
   NAME       Bad
   NOTIFYDEV  global,Bad
   NR         42
   NTFY_ORDER 50-Bad
   STATE      T: 23 desired: 21
   TYPE       CometBlueBTLE
   VERSION    0.2.0
   loglevel   4
   READINGS:
     2018-09-18 11:22:55   battery         ok
     2018-11-04 18:07:02   batteryLevel    21
     2018-11-10 08:04:44   batteryPercent  19
     2018-11-05 20:26:00   batteryState    ok
     2018-11-10 04:00:04   desired-temp    21
     2018-10-05 10:26:29   devicename      Comet Blue
     2018-08-28 10:05:23   firmware        0.0.10
     2018-11-10 04:01:37   lastChangeBy    Thermostat
     2018-11-10 08:04:06   lastGattError   Transport endpoint is not connected (107)
     2018-11-10 08:09:53   measured-temp   23
     2018-11-10 08:41:57   state           T: 23 desired: 21
     2018-11-10 02:22:46   tempComfort     13
     2018-11-10 02:22:46   tempEco         12
     2018-11-10 02:22:46   tempOffset      0
     2018-11-10 02:22:46   winOpnPeriod    5
     2018-10-05 10:26:30   winOpnSensitivity low
   helper:
     CallBattery 0
     updateTimeCallBattery 1541833484.77731
     updateTimestampCallBattery 2018-11-10 08:04:44
     writePin   0
     paramGatttool:
       handle     0x3d
       mod        read
   tempListsHandleQueue:
Attributes:
   model      SilverCrest
   room       Badezimmer,Temperaturen



Caleus

CoolTux

Das liegt dann eher an der Logik der Thermostate. Die sind da wohl nicht so feinfühlig denke ich.
Aber bei 23 Grad gemessen sollten die Ventile dann schon zu gehen. Sind sie dann zu gegangen oder immer noch voll aufgeblieben?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Caleus

Ich muss gestehen, ich weis nicht wie ich das prüfen soll, also gehört habe ich nichts.

Caleus

CoolTux

Also irgendwann sollte die Heizung kurz nach dem Ventil wieder kühler werden wenn die Solltemperatur überschritten ist. Ich kann mal schauen wie das hier ist. Aktuell ist es aber noch etwas zu warm.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

ludwich

Hallo CoolTux,
Super, die Templist klappt jetzt bei sygonix und Thermy.
Ich habe beim testen eine Fehlermeldung beim setzen der WinOpnSensitivy erhalten,
"CometBlueBTLE: winOpnSensitivity requires an additional parameter high, medium or low"
Ich habe den Parameter h/m/l auch geswitcht - er meint er hat ihn nicht. ;-(

Ich schau mir die Funktion alle nochmals an.

ludwich
+++

CoolTux

Zitat von: ludwich am 10 November 2018, 19:43:35
Hallo CoolTux,
Super, die Templist klappt jetzt bei sygonix und Thermy.
Ich habe beim testen eine Fehlermeldung beim setzen der WinOpnSensitivy erhalten,
"CometBlueBTLE: winOpnSensitivity requires an additional parameter high, medium or low"
Ich habe den Parameter h/m/l auch geswitcht - er meint er hat ihn nicht. ;-(

Ich schau mir die Funktion alle nochmals an.

ludwich
+++
Vielen Dank fürs super testen. Deine Meldung kann ich bestättigen, fixe ich die Tage.

Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net