FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: tagedieb am 10 September 2022, 17:49:21

Titel: (gelöst) stateFormat HMCCUCHN ?wie gestalten?
Beitrag von: tagedieb am 10 September 2022, 17:49:21
Hallo zusammen

ich sehe gerade den Wald vor lauter Bäumen nicht
was bzw wie trage ich bei stateFormat ein, wenn der Kontakt den aktuellen Zustand anzeigen soll?

über eine kleine Hilfestellung würde ich mich freuen

Internals:
   CFGFN     
   DEF        00145F299237D8:4
   FUUID      631b1a4b-f33f-e3e5-d9eb-6194e6151f61ebd8
   IODev      CCU2
   NAME       Gartentorkontakt_4
   NR         53643
   STATE      ???
   TYPE       HMCCUCHN
   ccuaddr    00145F299237D8:4
   ccudevstate active
   ccuif      HmIP-RF
   ccuname    Gartentorkontakt:4
   ccurolestate KEY_TRANSCEIVER
   ccusubtype MOD-RC8
   ccutype    HmIP-MOD-RC8
   eventCount 406
   firmware   1.0.5
   readonly   no
   READINGS:
     2022-09-10 15:40:30   Gartentorkontakt.4.STATE false
     2022-09-09 12:49:47   IODev           CCU2
     2022-09-10 15:40:30   activity        alive
     2022-09-10 15:40:30   battery         ok
     2022-09-10 15:40:31   devstate        ok
     2022-09-10 10:22:16   hmstate         unreachable
     2022-09-10 15:40:30   rssidevice      -53
     2022-09-09 12:49:48   rssipeer        N/A
     2022-09-10 15:40:30   voltage         12.0

Ansicht in event Monitor

2022-09-10 17:29:49.997 HMCCUCHN Hauspfortenkontakt_3 Hauspfortenkontakt.3.STATE: geschlossen
2022-09-10 17:29:49.997 HMCCUCHN Hauspfortenkontakt_3 activity: alive
2022-09-10 17:29:49.997 HMCCUCHN Hauspfortenkontakt_3 rssidevice: -53
2022-09-10 17:29:49.997 HMCCUCHN Hauspfortenkontakt_3 devstate: ok

2022-09-10 17:29:48.003 HMCCUCHN Hauspfortenkontakt_3 Hauspfortenkontakt.3.STATE: offen
2022-09-10 17:29:48.003 HMCCUCHN Hauspfortenkontakt_3 devstate: ok