Comet Dect: Reading desired-temp wird nicht aktualisiert

Begonnen von SensorMane, 24 Dezember 2017, 10:04:57

Vorheriges Thema - Nächstes Thema

SensorMane

Hallo Leute,

ich spiele momentan mit einem Comet Dect rum (fbahahttp) und habe folgendes festgestellt: desired-temp wird nicht aktualisiert obwohl neue Werte vom Modul kommen. Im Log sieht es z.B. so aus:

2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 temperature: 21.5 C (measured)
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 FBTYPE: Comet DECT
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 FBPROP: actuator,tempSensor
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 present: yes
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 FBNAME: Büro
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 desired-temp: 19.5 C
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 desired-temp: 19.5 C
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 tempadjust: 0.0 C
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 ID: 16
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 fwversion: 03.54
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 AIN: 11960 0163376
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 night-temp: 16.0 C
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 day-temp: 22.0 C
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 locked: no
2017-12-24 09:57:45 FBDECT FBDECT_fbahahttp_11960_0163376 batterylow: 0


Im Device Overiew steht bei den Readings folgendes:


AIN 11960 0163376 2017-12-24 09:57:45
FBNAME Büro 2017-12-24 09:57:45
FBPROP actuator,tempSensor 2017-12-24 09:57:45
FBTYPE Comet DECT 2017-12-24 09:57:45
ID 16 2017-12-24 09:57:45
batterylow 0 2017-12-24 09:57:45
day-temp 22.0 C 2017-12-24 09:57:45
desired-temp 21.0 C 2017-12-24 09:46:02
fwversion 03.54 2017-12-24 09:57:45
locked no 2017-12-24 09:57:45
night-temp 16.0 C 2017-12-24 09:57:45
present yes 2017-12-24 09:57:45
state desired-temp: 19.5 C 2017-12-24 09:57:45
tempadjust 0.0 C 2017-12-24 09:57:45
temperature 21.5 C (measured) 2017-12-24 09:57:45


Also hier bereits kein aktueller Wert bei desired-temp, nur im Reading "state" wird es richtig angezeigt. Die Anzeige in der ReadingsGroup ist folglich auch falsch. Was könnte die Ursache dafür sein? Das einzige was mir aufgefallen ist, im Log wird desired-temp zweimal ausgewiesen?!?

Jemand ne Idee?


rudolfkoenig

Irgendein event-on-* Attribut.
Mit "Log" meinst du Event-Monitor?

SensorMane

Ähm ja, der Event-Monitor war gemeint!

Hier mal die Raw Definition:
defmod FBDECT_fbahahttp_11960_0163376 FBDECT fbahahttp:11960_0163376 actuator,tempSensor
attr FBDECT_fbahahttp_11960_0163376 IODev fbahahttp
attr FBDECT_fbahahttp_11960_0163376 alias Büro
attr FBDECT_fbahahttp_11960_0163376 event-min-interval power:120
attr FBDECT_fbahahttp_11960_0163376 room Büro,Zuhause
attr FBDECT_fbahahttp_11960_0163376 stateFormat temperature

setstate FBDECT_fbahahttp_11960_0163376 22.0 C (measured)
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 AIN 11960 0163376
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 FBNAME Büro
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 FBPROP actuator,tempSensor
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 FBTYPE Comet DECT
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 ID 16
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 batterylow 0
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 day-temp 22.0 C
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 desired-temp 19.5 C
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 fwversion 03.54
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 locked no
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 night-temp 16.0 C
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 present yes
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 state desired-temp: 19.5 C
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 tempadjust 0.0 C
setstate FBDECT_fbahahttp_11960_0163376 2017-12-24 10:22:45 temperature 22.0 C (measured)


Das event-mim-interval kenn ich nicht, wurde vermutlich beim autocreate angelegt und war für den Plot gedacht. Ich lösch das mal und schaue weiter...

SensorMane

Also das event-min-interval war es auch nicht, im Event Monitor erscheint das Reading desired-temp immer noch zweimal  ???

Verrückt ist, das alle Readings aktuell sind - nur das desired-temp nicht!!

Ich werd mir jetz mal mit dem state Reading behelfen, da stehts richtig drin. Vielleicht wird das ja mal gefixt irgendwie...


rudolfkoenig

Dass desired-temp im Event-Monitor zweimal erscheint ist normal, und ist dem Quick-and-Dirty parsen der XML in 10_FBDECT.pm geschuldet. Bei mir wird allerdings auch das dazugehoerige Reading sofort aktualisiert. Mit den event-* Attributen lag ich uebrigens falsch, normalerweise bewirken diese, dass die Readings aktualisiert werden, aber keine Events generiert werden. Also genau andersherum, wie bei dir.
Bin ratlos.

SensorMane

Ist in der Tat rätselhaft!  :o

Erstmal tuts das zweckentfremdete state-Reading, ist ja kein Beinbruch. Ich nehm demnächst weitere Heizkörperregler Comet Dect in Betrieb. Bin gespannt obs da besser läuft...!

Rudibarani

Ich war zuerst irritiert, dass desired-temp nicht aktualisiert wird - habe aber dann gemerkt, dass dies nur alle fünf Minuten geschieht. Was müsste ich tun, dass eine zusätzliche Aktualisierung geschieht, nachdem mit dem Schieberegeler manuell eine neue Zieltemperatur eingestellt wird?
Danke für Eure Tipps!


supergrobi

Ich habe das gleiche Problem, ich bekomme kein desired-temp reading bei aktuell 4 Fritz Comet-DECT Thermostaten:

alle Readings werden korrekt übertragen und in der DB gespeichert, bis auf desired-temp, also die Solltemperatur.  Im event-monitor sehe ich jeweils 2 Einträge

2021-03-25 09:27:23 FBDECT FBDECT_fbahahttp_eltern_10971_0489920 desired-temp: 21.5 C
2021-03-25 09:27:23 FBDECT FBDECT_fbahahttp_eltern_10971_0489920 desired-temp: 21.5 C

was aber scheinbar nur den state Eintrag aktualisiert:

"2021-03-25 09:32:23" "FBDECT_fbahahttp_eltern_10971_0489920" "FBDECT" "state: desired-temp: 21.5 C" "state" "desired-temp" "21.5 C"
"2021-03-25 09:32:23" "FBDECT_fbahahttp_eltern_10971_0489920" "FBDECT" "state: desired-temp: 21.5 C" "state" "desired-temp" "21.5 C"


die Devices wurden per Autocreate erzeugt, hier mal ein List eines Devices:

Internals:
   CFGFN     
   DEF        fbahahttp_eltern:10971_0489920 actuator,tempSensor
   FUUID      605c276e-f33f-2f94-058c-226f2661b418aeac
   IODev      fbahahttp_eltern
   LASTInputDev fbahahttp_eltern
   MSGCNT     30
   NAME       FBDECT_fbahahttp_eltern_10971_0489920
   NR         1626026
   STATE      desired-temp: 21.5 C
   TYPE       FBDECT
   fbahahttp_eltern_MSGCNT 30
   fbahahttp_eltern_TIME 2021-03-25 09:32:23
   id         10971_0489920
   props      actuator,tempSensor
   webCmd     desired-temp
   .attraggr:
   .attrminint:
     power:120
   Helper:
     DBLOG:
       AIN:
         DbLog:
           TIME       1616661143.49701
           VALUE      10971 0489920
       FBNAME:
         DbLog:
           TIME       1616661143.49701
           VALUE      Küche rechts
       FBPROP:
         DbLog:
           TIME       1616661143.49701
           VALUE      actuator,tempSensor
       FBTYPE:
         DbLog:
           TIME       1616661143.49701
           VALUE      Comet DECT
       ID:
         DbLog:
           TIME       1616661143.49701
           VALUE      19
       battery:
         DbLog:
           TIME       1616661143.49701
           VALUE      30 %
       batteryPercent:
         DbLog:
           TIME       1616661143.49701
           VALUE      30
       batteryState:
         DbLog:
           TIME       1616661143.49701
           VALUE      ok
       batterylow:
         DbLog:
           TIME       1616661143.49701
           VALUE      0
       boostactive:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       boostactiveendtime:
         DbLog:
           TIME       1616661143.49701
           VALUE      N/A
       day-temp:
         DbLog:
           TIME       1616661143.49701
           VALUE      21.0
       devicelock:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       errorcode:
         DbLog:
           TIME       1616661143.49701
           VALUE      noError (0)
       fwversion:
         DbLog:
           TIME       1616661143.49701
           VALUE      03.68
       holidayactive:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       locked:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       nextPeriodStart:
         DbLog:
           TIME       1616661143.49701
           VALUE      2021-03-25 20:00:00
       nextPeriodTemp:
         DbLog:
           TIME       1616661143.49701
           VALUE      16.0
       night-temp:
         DbLog:
           TIME       1616661143.49701
           VALUE      16.0
       present:
         DbLog:
           TIME       1616661143.49701
           VALUE      yes
       state:
         DbLog:
           TIME       1616661143.49701
           VALUE      desired-temp
       summeractive:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       tempadjust:
         DbLog:
           TIME       1616661143.49701
           VALUE      0.0
       temperature:
         DbLog:
           TIME       1616661143.49701
           VALUE      22.0
       windowopenactiv:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       windowopenactiveendtime:
         DbLog:
           TIME       1616661143.49701
           VALUE      N/A
   READINGS:
     2021-03-25 09:32:23   AIN             10971 0489920
     2021-03-25 09:32:23   FBNAME          Küche rechts
     2021-03-25 09:32:23   FBPROP          actuator,tempSensor
     2021-03-25 09:32:23   FBTYPE          Comet DECT
     2021-03-25 09:32:23   ID              19
     2021-03-25 09:32:23   battery         30 %
     2021-03-25 09:32:23   batteryPercent  30
     2021-03-25 09:32:23   batteryState    ok
     2021-03-25 09:32:23   batterylow      0
     2021-03-25 09:32:23   boostactive     no
     2021-03-25 09:32:23   boostactiveendtime N/A
     2021-03-25 09:32:23   day-temp        21.0 C
     2021-03-25 09:32:23   desired-temp    21.5 C
     2021-03-25 09:32:23   devicelock      no
     2021-03-25 09:32:23   errorcode       noError (0)
     2021-03-25 09:32:23   fwversion       03.68
     2021-03-25 09:32:23   holidayactive   no
     2021-03-25 09:32:23   locked          no
     2021-03-25 09:32:23   nextPeriodStart 2021-03-25 20:00:00
     2021-03-25 09:32:23   nextPeriodTemp  16.0 C
     2021-03-25 09:32:23   night-temp      16.0 C
     2021-03-25 09:32:23   present         yes
     2021-03-25 09:32:23   state           desired-temp: 21.5 C
     2021-03-25 09:32:23   summeractive    no
     2021-03-25 09:32:23   tempadjust      0.0 C
     2021-03-25 09:32:23   temperature     22.0 C (measured)
     2021-03-25 09:32:23   windowopenactiv no
     2021-03-25 09:32:23   windowopenactiveendtime N/A
Attributes:
   IODev      fbahahttp_eltern
   event-min-interval power:120
   room       FBDECTInternals:
   CFGFN     
   DEF        fbahahttp_eltern:10971_0489920 actuator,tempSensor
   FUUID      605c276e-f33f-2f94-058c-226f2661b418aeac
   IODev      fbahahttp_eltern
   LASTInputDev fbahahttp_eltern
   MSGCNT     30
   NAME       FBDECT_fbahahttp_eltern_10971_0489920
   NR         1626026
   STATE      desired-temp: 21.5 C
   TYPE       FBDECT
   fbahahttp_eltern_MSGCNT 30
   fbahahttp_eltern_TIME 2021-03-25 09:32:23
   id         10971_0489920
   props      actuator,tempSensor
   webCmd     desired-temp
   .attraggr:
   .attrminint:
     power:120
   Helper:
     DBLOG:
       AIN:
         DbLog:
           TIME       1616661143.49701
           VALUE      10971 0489920
       FBNAME:
         DbLog:
           TIME       1616661143.49701
           VALUE      Küche rechts
       FBPROP:
         DbLog:
           TIME       1616661143.49701
           VALUE      actuator,tempSensor
       FBTYPE:
         DbLog:
           TIME       1616661143.49701
           VALUE      Comet DECT
       ID:
         DbLog:
           TIME       1616661143.49701
           VALUE      19
       battery:
         DbLog:
           TIME       1616661143.49701
           VALUE      30 %
       batteryPercent:
         DbLog:
           TIME       1616661143.49701
           VALUE      30
       batteryState:
         DbLog:
           TIME       1616661143.49701
           VALUE      ok
       batterylow:
         DbLog:
           TIME       1616661143.49701
           VALUE      0
       boostactive:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       boostactiveendtime:
         DbLog:
           TIME       1616661143.49701
           VALUE      N/A
       day-temp:
         DbLog:
           TIME       1616661143.49701
           VALUE      21.0
       devicelock:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       errorcode:
         DbLog:
           TIME       1616661143.49701
           VALUE      noError (0)
       fwversion:
         DbLog:
           TIME       1616661143.49701
           VALUE      03.68
       holidayactive:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       locked:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       nextPeriodStart:
         DbLog:
           TIME       1616661143.49701
           VALUE      2021-03-25 20:00:00
       nextPeriodTemp:
         DbLog:
           TIME       1616661143.49701
           VALUE      16.0
       night-temp:
         DbLog:
           TIME       1616661143.49701
           VALUE      16.0
       present:
         DbLog:
           TIME       1616661143.49701
           VALUE      yes
       state:
         DbLog:
           TIME       1616661143.49701
           VALUE      desired-temp
       summeractive:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       tempadjust:
         DbLog:
           TIME       1616661143.49701
           VALUE      0.0
       temperature:
         DbLog:
           TIME       1616661143.49701
           VALUE      22.0
       windowopenactiv:
         DbLog:
           TIME       1616661143.49701
           VALUE      no
       windowopenactiveendtime:
         DbLog:
           TIME       1616661143.49701
           VALUE      N/A
   READINGS:
     2021-03-25 09:32:23   AIN             10971 0489920
     2021-03-25 09:32:23   FBNAME          Küche rechts
     2021-03-25 09:32:23   FBPROP          actuator,tempSensor
     2021-03-25 09:32:23   FBTYPE          Comet DECT
     2021-03-25 09:32:23   ID              19
     2021-03-25 09:32:23   battery         30 %
     2021-03-25 09:32:23   batteryPercent  30
     2021-03-25 09:32:23   batteryState    ok
     2021-03-25 09:32:23   batterylow      0
     2021-03-25 09:32:23   boostactive     no
     2021-03-25 09:32:23   boostactiveendtime N/A
     2021-03-25 09:32:23   day-temp        21.0 C
     2021-03-25 09:32:23   desired-temp    21.5 C
     2021-03-25 09:32:23   devicelock      no
     2021-03-25 09:32:23   errorcode       noError (0)
     2021-03-25 09:32:23   fwversion       03.68
     2021-03-25 09:32:23   holidayactive   no
     2021-03-25 09:32:23   locked          no
     2021-03-25 09:32:23   nextPeriodStart 2021-03-25 20:00:00
     2021-03-25 09:32:23   nextPeriodTemp  16.0 C
     2021-03-25 09:32:23   night-temp      16.0 C
     2021-03-25 09:32:23   present         yes
     2021-03-25 09:32:23   state           desired-temp: 21.5 C
     2021-03-25 09:32:23   summeractive    no
     2021-03-25 09:32:23   tempadjust      0.0 C
     2021-03-25 09:32:23   temperature     22.0 C (measured)
     2021-03-25 09:32:23   windowopenactiv no
     2021-03-25 09:32:23   windowopenactiveendtime N/A
Attributes:
   IODev      fbahahttp_eltern
   event-min-interval power:120
   room       FBDECT


gibt es dafür eine Lösung?

Gruß Thomas

rudolfkoenig

Ich kann zu DbLog Problemen nichts sagen, und ich vermute, dass der DbLog Maintainer dieses Thema nicht abonniert hat.

supergrobi

#10
ist das ein DBLog Problem ?

ein userreading schafft hier abhilfe:

userReadings desired-temp { (ReadingsNum("FBDECT_fbahahttp_eltern_10971_0489920","state",15)) }