ReadingsVal liefert nicht den korrekten Wert oder HM Readings nicht lesbar

Begonnen von willib, 31 Juli 2017, 21:13:48

Vorheriges Thema - Nächstes Thema

willib

Ich habe ein Problem mit den Readings meiner HM Devices. Sie lassen sich nicht auswerten. Ich habe in diesem Thema bereits festgestellt dass etwas mit den readings nicht stimmt.
https://forum.fhem.de/index.php/topic,71836.msg635991.html#msg635991
Bitte schaut euch mal folgendes Beispiel anhand von pct bei Hue und Homematic an.
Bei Hue funktioniert es:
Internals:
   CHANGED
   DEF        4  IODev=HueBridge
   ID         4
   INTERVAL
   IODev      HueBridge
   NAME       HUEDevice4
   NR         134
   STATE      off
   TYPE       HUEDevice
   desired    0
   manufacturername Philips
   modelid    LST002
   name       K�che links
   swversion  5.50.2.19072
   type       Extended color light
   uniqueid   00:17:88:01:01:1d:df:53-0b
   READINGS:
     2017-07-25 12:20:56   alert           none
     2017-07-30 21:02:20   bri             254
     2017-07-25 12:20:56   colormode       ct
     2017-07-25 12:20:56   ct              370 (2702K)
     2017-07-25 12:20:56   effect          none
     2017-07-25 12:20:56   hue             8378
     2017-07-31 20:22:19   onoff           0
     2017-07-31 20:22:19   pct             0
     2017-07-25 12:20:56   reachable       1
     2017-07-25 12:20:56   rgb             ffc698
     2017-07-25 12:20:56   sat             144
     2017-07-31 20:22:19   state           off
     2017-07-25 12:20:56   xy              0.46,0.4106
   helper:
     alert      none
     bri        254
     colormode  ct
     ct         370
     devtype
     effect     none
     hue        8378
     on         0
     pct        0
     reachable  1
     rgb        ffc698
     sat        144
     update_timeout -1
     xy         0.46,0.4106
Attributes:
   IODev      HueBridge
   alias      Küche links
   color-icons 2
   devStateIcon {(HUEDevice_devStateIcon($name),"toggle")}
   icon       hue_filled_lightstrip
   model      LST002
   room       HUEDevice,Küche
   subType    extcolordimmer
   webCmd     rgb:rgb ff0000:rgb DEFF26:rgb 0000ff:ct 490:ct 380:ct 270:ct 160:toggle:on:off



{ReadingsVal("HUEDevice4","pct","100")}
liefert 0. So soll es sein.

Bei HM funktioniert es nicht:
Internals:
   DEF        4001CC01
   NAME       FL_Dimmer_Sw
   NOTIFYDEV  global
   NR         279
   NTFY_ORDER 50-FL_Dimmer_Sw
   STATE      off
   TYPE       CUL_HM
   chanNo     01
   device     FL_Dimmer
   READINGS:
     2017-07-31 20:33:10   CommandAccepted yes
     2017-06-02 17:40:44   R-logicCombination or
     2017-06-02 17:40:44   R-powerUpAction off
     2017-06-02 17:40:44   RegL_01.        30:06 32:50 33:64 34:4B 35:50 56:00 57:24 59:01 00:00
     2017-07-31 20:33:13   deviceMsg       off (to VCCU)
     2017-07-31 20:33:13   dim             stop:off
     2017-07-31 20:33:13   level           0
     2017-07-31 20:33:13   overheat        off
     2017-07-31 20:33:13   overload        off
     2017-07-31 20:33:13   pct             0
     2017-07-31 20:33:13   phyLevel        0
     2017-07-31 20:33:13   recentStateType info
     2017-07-31 20:33:13   reduced         off
     2017-07-31 20:33:13   state           off
     2017-07-31 20:33:13   timedOn         off
     2017-07-31 20:33:10   trigLast        FL_SchalterHT_Btn_01:short
     2017-07-29 14:35:53   trig_FL_SchalterEZ_Btn_01 Long_14
     2017-07-31 20:33:10   trig_FL_SchalterHT_Btn_01 Short_80
   helper:
     dlvlCmd    ++A0110012554001CC0201000000
     dir:
       cur        stop
       rct        up
     expert:
       def        1
       det        0
       raw        1
       tpl        0
     role:
       chn        1
     vDim:
       idPhy      4001CC01
       idV2       4001CC02
       idV3       4001CC03
Attributes:
   model      HM-LC-Dim1TPBU-FM
   peerIDs    00000000,
   webCmd     statusRequest:toggle:on:off:up:down


{ReadingsVal("FL.Dimmer_Sw","pct","100")}
liefert 100 oder was immer ich als default Wert vorgebe. Da ist doch was faul.
Hat jemand eine Idee woran das liegen kann?
FHEM in Debian 10 LXC unter Proxmox auf NUC, Homematic, Hue, Intertechno, Jeelink, RFXTRX, Harmony Hub, VU+ Uno 4K, Sonos, AMAD

igami

Pi3 mit fhem.cfg + DbLog/logProxy
Komm vorbei zum FHEM Treffen im Kreis Gütersloh! Das nächste Mal im April 2020.

MAINTAINER: archetype, LuftdatenInfo, monitoring, msgDialog, Nmap, powerMap
ToDo: AVScene, FluxLED

Damian

Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

willib

Das ist super peinlich.
Danke.
Würdet ihr auch mal in das andere Thema schauen welches ich oben verlinkt habe?
FHEM in Debian 10 LXC unter Proxmox auf NUC, Homematic, Hue, Intertechno, Jeelink, RFXTRX, Harmony Hub, VU+ Uno 4K, Sonos, AMAD