(gelöst) stateFormat HMCCUCHN ?wie gestalten?

Begonnen von tagedieb, 10 September 2022, 17:49:21

Vorheriges Thema - Nächstes Thema

tagedieb

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
FHEM 5.6 auf Cubitruck
CUL und Cul 868 und 2 HM LAN an Zbox
Remoteserver auf 2.Zboxi
HM-CC-RT-DN,HM-LC-Bl1PBU-FM,HM-LC-SW1-FM,HM-LC-SW4-PCB,HM-LC-Sw1PBU-FM,HM-PB-2-WM55,HM-PB-6-WM55,HM-SCI-3-FM,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SC-2,HM-SEC-TIS,HM-WDS10-TH-O u.viele mehr
diverse IT Empfänger und LW3