Eurotronic comet blue Modul Entwicklung

Begonnen von gent, 28 November 2016, 21:45:59

Vorheriges Thema - Nächstes Thema

CoolTux

Fast vergessen. Bitte noch nicht getan tempLists machen.
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

barneybaer

Also mit der neuen Version Zeigt er mir bei Temperaturänderung erst die 0 und dann beim nächsten automatischen Update die richtige Temperatur.


Internals:
   BTMAC      45:EB:xxx
   DEF        45:EB:xxx
   INTERVAL   150
   NAME       WZ_Heizung
   NOTIFYDEV  global,WZ_Heizung
   NR         74
   NTFY_ORDER 50-WZ_Heizung
   STATE      T: 0 desired: 24
   TYPE       CometBlueBTLE
   VERSION    0.1.11
   loglevel   4
   READINGS:
     2018-01-19 21:01:34   battery         ok
     2018-01-23 15:17:19   batteryLevel    57
     2018-01-23 15:17:20   desired-temp    24
     2018-01-19 21:58:16   devicename      Comet Blue
     2018-01-19 21:03:48   firmware        0.0.10
     2018-01-23 16:34:21   lastChangeBy    FHEM
     2018-01-23 16:33:29   lastGattError   Device or resource busy (16)
     2018-01-23 16:43:20   measured-temp   0
     2018-01-23 16:43:20   state           T: 0 desired: 24
     2018-01-23 16:40:01   tempComfort     7.5
     2018-01-23 16:40:24   tempEco         7.5
     2018-01-19 22:41:17   tempOffset      0
     2018-01-23 16:42:07   winOpnPeriod    10
     2018-01-23 16:42:07   winOpnSensitivity low
   helper:
     CallBattery 0
     updateTimeCallBattery 1516721970.31356
     updateTimestampCallBattery 2018-01-23 16:39:30
     writePin   0
     paramGatttool:
       handle     0x3d
       mod        write
       value      00300f0f000c0a


2018.01.23 16:50:25 3: CometBlueBTLE (WZ_Heizung) - Run CreateParamGatttool with mod: write : 0x3d : 00280f0f000c0a
2018.01.23 16:50:25 3: CometBlueBTLE (WZ_Heizung) - Read CometBlueBTLE_ExecGatttool_Run WZ_Heizung|45:EB:xxx|write|0x3d
2018.01.23 16:50:25 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b 45:EB:xxx --char-write-req -a 0x48 -n 00000000 2>&1 /dev/null and loop 0
2018.01.23 16:50:26 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2018.01.23 16:50:26 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2018.01.23 16:50:26 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Done: gatttool return string: WZ_Heizung|45:EB:xxx|ok|write|0x48|{"gtResult":"no data response"}
2018.01.23 16:50:26 3: CometBlueBTLE (WZ_Heizung) - Run CreateParamGatttool with mod: write : 0x3d : 00280f0f000c0a
2018.01.23 16:50:26 3: CometBlueBTLE (WZ_Heizung) - Write CometBlueBTLE_ExecGatttool_Run WZ_Heizung|45:EB:xxx|write|0x3d|00280f0f000c0a
2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b 45:EB:xxx --char-write-req -a 0x3d -n 00280f0f000c0a 2>&1 /dev/null and loop 0
2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Done: gatttool return string: WZ_Heizung|45:EB:xxx|ok|write|0x3d|{"gtResult":"no data response"}
2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - Read CometBlueBTLE_ExecGatttool_Run WZ_Heizung|45:EB:xxx|read|0x3d
2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Run: call gatttool with command gatttool -i hci0 -b 45:EB:xxx --char-read -a 0x3d 2>&1 /dev/null and loop 0
2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,00 28 0f 0f 00 0c 0a

2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,00 28 0f 0f 00 0c 0a

2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ExecGatttool_Done: gatttool return string: WZ_Heizung|45:EB:xxx|ok|read|0x3d|{"gtResult":"00 28 0f 0f 00 0c 0a "}
2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ProcessingNotification
2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - ProcessingNotification: handle 0x3d
2018.01.23 16:50:27 3: CometBlueBTLE (WZ_Heizung) - WriteReadings: Readings were written

CoolTux

So ein misst. Dachte echt man kann bei allen Firmware-Versionen das erste Byte nicht überschreiben. Naja. Änder ich, ist ne Kleinigkeit.
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

barneybaer


CoolTux

Fange gerade an die Negativen werte nun zu berücksichtigen. Unter anderem zählt der offSet ja dazu
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

barneybaer

Ok. Eins noch; mein comet Blue geht bei 7,5 abwärts auf off und 28,5 aufwärts auf on. Die Funktionen set desired-temp on / off funktionieren nicht.
Fehler:
CometBlueBTLE: desired-temp supports temperatures from 6.0 - 28.0 degrees

CoolTux

Ist schon repariert,
Sollte jetzt bei 8 anfangen bis 28. Wenn du on stellst sollte er auf 28 gehen und bei off auf 0
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

barneybaer

#127
Version 0.1.20 ist die letzte, da geht es leider noch nicht.

CoolTux

Jepp hast Recht. Er verlangt nur Zahlen. Bin aber dran.
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

So neue Version ist online. Es werden nun auch negative Werte für offSet unterstützt und on und off funktionieren auch.

Nächster Schritt. Einlesen der Temperaturlisten.
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: ludwich am 24 Januar 2018, 17:42:15
2018-01-24 17:27:28 CometBlueBTLE CB_SZ pairing thermostat with pin: 00000000
2018-01-24 17:27:33 CometBlueBTLE CB_SZ read sensor data
2018-01-24 17:27:33 CometBlueBTLE CB_SZ T: 20 desired: 16
2018-01-24 17:27:51 CometBlueBTLE CB_Isi pairing thermostat with pin: 00000000
2018-01-24 17:27:54 CometBlueBTLE CB_Isi read sensor data
2018-01-24 17:27:54 CometBlueBTLE CB_Isi T: 19.5 desired: 16
-------------------------------------------------------------------------------------------------
2018-01-24 17:28:18 CometBlueBTLE CB_Bad pairing thermostat with pin: 00000000
2018-01-24 17:28:28 CometBlueBTLE CB_Bad read sensor data
2018-01-24 17:28:29 CometBlueBTLE CB_Bad T: 23 desired: 23
battery
battery
ok
2018-01-24 17:13:11
batteryLevel
43
2018-01-24 17:13:11
desired-temp
23
2018-01-24 17:23:18
firmware
0.0.6-sygonix1
2018-01-24 17:10:27
lastChangeBy
FHEM
2018-01-24 17:22:55
lastGattError
The BlockingCall Process terminated unexpectedly. Timedout
2018-01-24 17:08:04
measured-temp
24
2018-01-24 17:37:00
state
T: 24 desired: 23
2018-01-24 17:37:00
tempComfort
23
2018-01-24 17:13:12
tempEco
18
2018-01-24 17:13:12
tempOffset
0
2018-01-24 17:13:12
winOpnPeriod
10
2018-01-24 17:13:12
winOpnSensitivity
high
2018-01-24 17:13:12
ok
2018-01-24 17:13:11
batteryLevel
43
2018-01-24 17:13:11
desired-temp
23
2018-01-24 17:23:18
firmware
0.0.6-sygonix1
2018-01-24 17:10:27
lastChangeBy
FHEM
2018-01-24 17:22:55
lastGattError
The BlockingCall Process terminated unexpectedly. Timedout
2018-01-24 17:08:04
measured-temp
24
2018-01-24 17:37:00
state
T: 24 desired: 23
2018-01-24 17:37:00
tempComfort
23
2018-01-24 17:13:12
tempEco
18
2018-01-24 17:13:12
tempOffset
0
2018-01-24 17:13:12
winOpnPeriod
10
2018-01-24 17:13:12
winOpnSensitivity
high
2018-01-24 17:13:12

Scheint also zu gehen. Welcher Thermostat ist das? Was steht drauf?
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

So Mist jetzt habe ich das Bereinigte Post gelöscht. >:(

Nochmals kurz:
Der Sygonix ist ein Comet blue
Der THERMy blue ist ein Silvercrest

Die Werte am Thermy waren OK, ich habe mal das Offset gesetzt und mit der Handyapp ausgelesen ebenso den umgekehrten Weg.

Nimmst du die beiden Modellnamen mit in die Auswahl auf?

Wenn du etwas bestimmtes testen willst, kann ich gern zuliefern.

Gruss Ludwich

CoolTux

Und beide haben super geklappt sagst. Das nehme ich die als Modelauswahl gerne auf
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

Der THERMy blue (ALDI)
firmware 0.0.10

Der sygonix (Conrad)
firmware 0.0.6-sygonix1

Ja soweit so gut ;-)

CoolTux

Baue ich so ein.

@barneybaer
Kannst Du die handles für die Temperaturlisten pro Tag auch raus finden?
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