Alexa FHEM Connector und Thermostat über HMCCU falsches Device *gelöst*

Begonnen von Andi35, 08 Dezember 2020, 18:49:50

Vorheriges Thema - Nächstes Thema

Andi35

Ja, die Erklärung leuchtet ein.
Ich hatte zwar für jeden neuen Versuch Alexa-Fhem neu gestartet (Hab da extra einen Button definiert) und danach eine Suche über "Alexa, suche Geräte" angestoßen. Aber wer weiß, was da noch so im System von Amazon ab läuft...
Vielleicht brauchte es auch einfach nur etwas Zeit um sich zu sortieren  ;D
Oder es wurde genau zu diesem Zeitpunkt mal wieder am System gedreht, wie schon so oft, wo plötzlich sämtliche Routinen verschwunden sind, oder Funksteckdosen die man vorher als "Lampe" definiert hatte, am nächsten Tag mit "Alexa Licht an" nicht mehr reagieren weil sie plötzlich wieder nur Steckdosen sind. Aber das sind Kleinigkeiten. Wichtig ist dass es jetzt läuft... bis auf den Fensterkontakt  ;)
Darf ich da Deine Hilfe noch mal in Anspruch nehmen?

Habe den fensterkontakt folgendermaßen definiert.
attr HM_HmIP_SWDM_00155BE9908553 IODev d_ccu
attr HM_HmIP_SWDM_00155BE9908553 alexaName Fenster_WZ
attr HM_HmIP_SWDM_00155BE9908553 alexaRoom Wohnzimmer
attr HM_HmIP_SWDM_00155BE9908553 ccureadingfilter .*
attr HM_HmIP_SWDM_00155BE9908553 devStateIcon Open:fts_window_2w_tilt_l Closed:fts_window_2w
attr HM_HmIP_SWDM_00155BE9908553 genericDeviceType contact
attr HM_HmIP_SWDM_00155BE9908553 homebridgeMapping ContactSensorState=state,values=close:CONTACT_DETECTED;;open:CONTACT_NOT_DETECTED
attr HM_HmIP_SWDM_00155BE9908553 icon fts_window_2w_tilt
attr HM_HmIP_SWDM_00155BE9908553 room Homematic-test,Wohnzimmer
attr HM_HmIP_SWDM_00155BE9908553 statechannel 1
attr HM_HmIP_SWDM_00155BE9908553 statedatapoint 1.STATE
attr HM_HmIP_SWDM_00155BE9908553 substitute STATE!(0|false):Closed,(1|true):Open;;;;LOW_BAT!(0|false):ok,(1|true):not ok

Nur Angezeigt wird er in der AlexaApp immer als "offen"
Habe den Verdacht, dass irgendwas mit meinem Mapping noch nicht stimmt oder es mit dem substitute Attribut zusammen hängt.

Der log nach dem starten von Alexa-fhem sieht so aus
*** FHEM: connected
[11.12.2020, 12:03:08] [FHEM] got: 16 results
[11.12.2020, 12:03:08] [FHEM] GT_WT_02_147 is thermometer
[11.12.2020, 12:03:08] [FHEM] GT_WT_02_147 has
[11.12.2020, 12:03:08] [FHEM]   StatusLowBattery [battery]
[11.12.2020, 12:03:08] [FHEM]   CurrentTemperature [temperature]
[11.12.2020, 12:03:08] [FHEM]   CurrentRelativeHumidity [humidity]
[11.12.2020, 12:03:08] [FHEM] GT_WT_02_147 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] GT_WT_02_147 uses ID: 5f748351-f33f-ae18-75f7-20fb434037f10c97
  2020-12-11 12:03:08 caching: GT_WT_02_147-battery: ok
  2020-12-11 12:03:08 caching: GT_WT_02_147-temperature: 3.1
  2020-12-11 12:03:08 caching: GT_WT_02_147-humidity: 79
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_SWDM_00155BE9908553 is contact
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_SWDM_00155BE9908553 has
[11.12.2020, 12:03:08] [FHEM]   ContactSensorState [state]
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_SWDM_00155BE9908553 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_SWDM_00155BE9908553 uses ID: 00155BE9908553
  2020-12-11 12:03:08 caching: HM_HmIP_SWDM_00155BE9908553-state: Closed
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8D03_gross is thermostat
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8D03_gross has
[11.12.2020, 12:03:08] [FHEM]   CurrentTemperature [1.ACTUAL_TEMPERATURE]
[11.12.2020, 12:03:08] [FHEM]   TargetTemperature [control]
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8D03_gross will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8D03_gross uses ID: 000A1BE99F8D03
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F8D03_gross-1.ACTUAL_TEMPERATURE: 20.2
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F8D03_gross-control: 19.0
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8D0F_klein is thermostat
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8D0F_klein has
[11.12.2020, 12:03:08] [FHEM]   CurrentTemperature [1.ACTUAL_TEMPERATURE]
[11.12.2020, 12:03:08] [FHEM]   TargetTemperature [control]
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8D0F_klein will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8D0F_klein uses ID: 000A1BE99F8D0F
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F8D0F_klein-1.ACTUAL_TEMPERATURE: 20.0
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F8D0F_klein-control: 19.0
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8DA4 is thermostat
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8DA4 has
[11.12.2020, 12:03:08] [FHEM]   CurrentTemperature [1.ACTUAL_TEMPERATURE]
[11.12.2020, 12:03:08] [FHEM]   TargetTemperature [control]
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8DA4 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F8DA4 uses ID: 000A1BE99F8DA4
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F8DA4-1.ACTUAL_TEMPERATURE: 15.3
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F8DA4-control: 15.0
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F90D0 is thermostat
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F90D0 has
[11.12.2020, 12:03:08] [FHEM]   CurrentTemperature [1.ACTUAL_TEMPERATURE]
[11.12.2020, 12:03:08] [FHEM]   TargetTemperature [control]
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F90D0 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F90D0 uses ID: 000A1BE99F90D0
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F90D0-1.ACTUAL_TEMPERATURE: 15.4
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F90D0-control: 15.0
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F90D4 is thermostat
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F90D4 has
[11.12.2020, 12:03:08] [FHEM]   CurrentTemperature [1.ACTUAL_TEMPERATURE]
[11.12.2020, 12:03:08] [FHEM]   TargetTemperature [control]
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F90D4 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_HmIP_eTRV_2_000A1BE99F90D4 uses ID: 000A1BE99F90D4
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F90D4-1.ACTUAL_TEMPERATURE: 20.0
  2020-12-11 12:03:08 caching: HM_HmIP_eTRV_2_000A1BE99F90D4-control: 19.0
[11.12.2020, 12:03:08] [FHEM] HM_LC_Bl1PBU_FM_NEQ1794233_1 is blind
[11.12.2020, 12:03:08] [FHEM] HM_LC_Bl1PBU_FM_NEQ1794233_1 has
[11.12.2020, 12:03:08] [FHEM]   CurrentPosition [pct]
[11.12.2020, 12:03:08] [FHEM]   TargetPosition [pct]
[11.12.2020, 12:03:08] [FHEM] HM_LC_Bl1PBU_FM_NEQ1794233_1 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_LC_Bl1PBU_FM_NEQ1794233_1 uses ID: 5f783d73-f33f-ae18-eea4-fc5c4ecafbbb7d4f
  2020-12-11 12:03:08 caching: HM_LC_Bl1PBU_FM_NEQ1794233_1-pct: 100
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw1PBU_FM_NEQ0138230 is switch
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw1PBU_FM_NEQ0138230 has
[11.12.2020, 12:03:08] [FHEM]   On [state;on,off]
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw1PBU_FM_NEQ0138230 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw1PBU_FM_NEQ0138230 uses ID: NEQ0138230
  2020-12-11 12:03:08 caching: HM_LC_Sw1PBU_FM_NEQ0138230-state: off
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw1_Ba_PCB_NEQ0603029 is switch
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw1_Ba_PCB_NEQ0603029 has
[11.12.2020, 12:03:08] [FHEM]   On [state;on,off]
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw1_Ba_PCB_NEQ0603029 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw1_Ba_PCB_NEQ0603029 uses ID: NEQ0603029
  2020-12-11 12:03:08 caching: HM_LC_Sw1_Ba_PCB_NEQ0603029-state: off
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw2PBU_FM_OEQ0126283_1 is switch
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw2PBU_FM_OEQ0126283_1 has
[11.12.2020, 12:03:08] [FHEM]   On [state;on,off]
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw2PBU_FM_OEQ0126283_1 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw2PBU_FM_OEQ0126283_1 uses ID: 5f73858a-f33f-ae18-a04c-9615d635fc7683ec
  2020-12-11 12:03:08 caching: HM_LC_Sw2PBU_FM_OEQ0126283_1-state: off
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw2PBU_FM_OEQ0126283_2 is switch
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw2PBU_FM_OEQ0126283_2 has
[11.12.2020, 12:03:08] [FHEM]   On [state;on,off]
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw2PBU_FM_OEQ0126283_2 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] HM_LC_Sw2PBU_FM_OEQ0126283_2 uses ID: 5f73858a-f33f-ae18-81a1-75e2bf6e1f9a222e
  2020-12-11 12:03:08 caching: HM_LC_Sw2PBU_FM_OEQ0126283_2-state: off
[11.12.2020, 12:03:08] [FHEM] Taste_Passwort is switch
[11.12.2020, 12:03:08] [FHEM] Taste_Passwort has
[11.12.2020, 12:03:08] [FHEM]   On [state;on,off]
[11.12.2020, 12:03:08] [FHEM] Taste_Passwort will not send proactive events
[11.12.2020, 12:03:08] [FHEM] Taste_Passwort uses ID: 5f747a08-f33f-ae18-a556-e2739ba9858be3ea
  2020-12-11 12:03:08 caching: Taste_Passwort-state: on
[11.12.2020, 12:03:08] [FHEM] WOL.PC is switch
[11.12.2020, 12:03:08] [FHEM] WOL.PC has
[11.12.2020, 12:03:08] [FHEM]   On [state;on,off]
[11.12.2020, 12:03:08] [FHEM] WOL.PC will not send proactive events
[11.12.2020, 12:03:08] [FHEM] WOL.PC uses ID: 5f747a08-f33f-ae18-44d9-5388f3b6f420621c
  2020-12-11 12:03:08 caching: WOL.PC-state: on
[11.12.2020, 12:03:08] [FHEM] WZ_Fernseher is switch
[11.12.2020, 12:03:08] [FHEM] WZ_Fernseher has
[11.12.2020, 12:03:08] [FHEM]   On [state;on,off]
[11.12.2020, 12:03:08] [FHEM] WZ_Fernseher will not send proactive events
[11.12.2020, 12:03:08] [FHEM] WZ_Fernseher uses ID: 5f747a08-f33f-ae18-8781-b9a15bd62869bba5
  2020-12-11 12:03:08 caching: WZ_Fernseher-state: off
[11.12.2020, 12:03:08] [FHEM] mySwitch1 is switch
[11.12.2020, 12:03:08] [FHEM] mySwitch1 has
[11.12.2020, 12:03:08] [FHEM]   On [state;on,off]
[11.12.2020, 12:03:08] [FHEM] mySwitch1 will not send proactive events
[11.12.2020, 12:03:08] [FHEM] mySwitch1 uses ID: 5f735b1f-f33f-ae18-26cf-ba8cd8df229c68f1
  2020-12-11 12:03:08 caching: mySwitch1-state: on
[11.12.2020, 12:03:08] [FHEM] got .eventToken
[11.12.2020, 12:03:08] refreshing token
[11.12.2020, 12:03:08] 39_alexa.pm is new version: true
[11.12.2020, 12:03:08] sshautoconf: completed successfully
[11.12.2020, 12:03:08] *** SSH: proxy configuration set up done
[11.12.2020, 12:03:08] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[11.12.2020, 12:03:08] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=csrf_689925718143396&XHR=1
[11.12.2020, 12:03:08] Starting SSH with -R 1234:127.0.0.1:46271 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[11.12.2020, 12:03:08] BearerToken '...24582' read from alexa
[11.12.2020, 12:03:08] got fresh token
[11.12.2020, 12:03:09] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[11.12.2020, 12:03:09] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=csrf_689925718143396&XHR=1
[11.12.2020, 12:03:09] *** SSH: proxy connection established
[11.12.2020, 12:03:09] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[11.12.2020, 12:03:11] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"e0853d7b-dd9d-431e-ba31-35ef0d622138","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553","cookie":{"fuuid":"5fd0acf3-f33f-ae18-3c5c-f4b2bd5affa1e093","device":"HM_HmIP_SWDM_00155BE9908553"}},"payload":{}}}
[11.12.2020, 12:03:11] [FHEM] HM_HmIP_SWDM_00155BE9908553-state value Closed not handled in values
[11.12.2020, 12:03:11] <<<< [ssh] {"context":{"properties":[{"namespace":"Alexa.ContactSensor","name":"detectionState","value":"DETECTED","timeOfSample":"2020-12-11T11:03:11.878Z","uncertaintyInMilliseconds":500},{"namespace":"Alexa.EndpointHealth","name":"connectivity","value":{"value":"OK"},"timeOfSample":"2020-12-11T11:03:11.878Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"namespace":"Alexa","name":"StateReport","payloadVersion":"3","messageId":"5de32c46-2ef2-499a-b68e-b94bed861d3b","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553"},"payload":{}}}
[11.12.2020, 12:03:14] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"5320da38-90c2-4370-acdf-7b82e01dd4a8","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553","cookie":{"fuuid":"5fd0acf3-f33f-ae18-3c5c-f4b2bd5affa1e093","device":"HM_HmIP_SWDM_00155BE9908553"}},"payload":{}}}
[11.12.2020, 12:03:14] [FHEM] HM_HmIP_SWDM_00155BE9908553-state value Closed not handled in values
[11.12.2020, 12:03:14] <<<< [ssh] {"context":{"properties":[{"namespace":"Alexa.ContactSensor","name":"detectionState","value":"DETECTED","timeOfSample":"2020-12-11T11:03:14.876Z","uncertaintyInMilliseconds":500},{"namespace":"Alexa.EndpointHealth","name":"connectivity","value":{"value":"OK"},"timeOfSample":"2020-12-11T11:03:14.876Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"namespace":"Alexa","name":"StateReport","payloadVersion":"3","messageId":"dee5394b-d5ce-4a3d-9098-ac60f3660427","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553"},"payload":{}}}
[11.12.2020, 12:03:17] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"91c42b14-51a3-4615-a477-e7c5a4035f9b","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553","cookie":{"fuuid":"5fd0acf3-f33f-ae18-3c5c-f4b2bd5affa1e093","device":"HM_HmIP_SWDM_00155BE9908553"}},"payload":{}}}
[11.12.2020, 12:03:17] [FHEM] HM_HmIP_SWDM_00155BE9908553-state value Closed not handled in values
[11.12.2020, 12:03:17] <<<< [ssh] {"context":{"properties":[{"namespace":"Alexa.ContactSensor","name":"detectionState","value":"DETECTED","timeOfSample":"2020-12-11T11:03:17.879Z","uncertaintyInMilliseconds":500},{"namespace":"Alexa.EndpointHealth","name":"connectivity","value":{"value":"OK"},"timeOfSample":"2020-12-11T11:03:17.879Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"namespace":"Alexa","name":"StateReport","payloadVersion":"3","messageId":"4d108b87-ec1c-40bc-8f2a-4e29d6c27f99","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553"},"payload":{}}}
[11.12.2020, 12:03:20] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"03f82b95-256a-4ab4-a989-f40c538e3bba","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553","cookie":{"fuuid":"5fd0acf3-f33f-ae18-3c5c-f4b2bd5affa1e093","device":"HM_HmIP_SWDM_00155BE9908553"}},"payload":{}}}
[11.12.2020, 12:03:20] [FHEM] HM_HmIP_SWDM_00155BE9908553-state value Closed not handled in values
[11.12.2020, 12:03:20] <<<< [ssh] {"context":{"properties":[{"namespace":"Alexa.ContactSensor","name":"detectionState","value":"DETECTED","timeOfSample":"2020-12-11T11:03:20.836Z","uncertaintyInMilliseconds":500},{"namespace":"Alexa.EndpointHealth","name":"connectivity","value":{"value":"OK"},"timeOfSample":"2020-12-11T11:03:20.836Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"namespace":"Alexa","name":"StateReport","payloadVersion":"3","messageId":"36cb81fb-0ea8-451c-b0af-d088f5b95f2b","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553"},"payload":{}}}
[11.12.2020, 12:03:23] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"e029c5b5-e667-44ce-bb8d-a71f95c63cfb","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553","cookie":{"fuuid":"5fd0acf3-f33f-ae18-3c5c-f4b2bd5affa1e093","device":"HM_HmIP_SWDM_00155BE9908553"}},"payload":{}}}
[11.12.2020, 12:03:23] [FHEM] HM_HmIP_SWDM_00155BE9908553-state value Closed not handled in values
[11.12.2020, 12:03:23] <<<< [ssh] {"context":{"properties":[{"namespace":"Alexa.ContactSensor","name":"detectionState","value":"DETECTED","timeOfSample":"2020-12-11T11:03:23.883Z","uncertaintyInMilliseconds":500},{"namespace":"Alexa.EndpointHealth","name":"connectivity","value":{"value":"OK"},"timeOfSample":"2020-12-11T11:03:23.883Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"namespace":"Alexa","name":"StateReport","payloadVersion":"3","messageId":"59e90b4f-6fa7-48d1-8044-bee04838b9f8","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553"},"payload":{}}}
[11.12.2020, 12:03:26] >>>> [ssh] {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"e494f2d2-fead-4363-a8d5-12c36f8e0f91","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553","cookie":{"fuuid":"5fd0acf3-f33f-ae18-3c5c-f4b2bd5affa1e093","device":"HM_HmIP_SWDM_00155BE9908553"}},"payload":{}}}
[11.12.2020, 12:03:26] [FHEM] HM_HmIP_SWDM_00155BE9908553-state value Closed not handled in values
[11.12.2020, 12:03:26] <<<< [ssh] {"context":{"properties":[{"namespace":"Alexa.ContactSensor","name":"detectionState","value":"DETECTED","timeOfSample":"2020-12-11T11:03:26.892Z","uncertaintyInMilliseconds":500},{"namespace":"Alexa.EndpointHealth","name":"connectivity","value":{"value":"OK"},"timeOfSample":"2020-12-11T11:03:26.892Z","uncertaintyInMilliseconds":500}]},"event":{"header":{"namespace":"Alexa","name":"StateReport","payloadVersion":"3","messageId":"96188e02-c824-4353-92d0-0409d8bee49e","correlationToken":"-"},"endpoint":{"scope":{"type":"BearerToken","token":"589885F0-616C7731ADE24582"},"endpointId":"00155BE9908553"},"payload":{}}}

Andi35

Ok, ich gebe mir mal selbst die Antwort, manchmal sieht man den Wald von Bäumen nicht.
ich habe diese Zeile: substitute STATE!(0|false):Closed,(1|true):Open;;;;LOW_BAT!(0|false):ok,(1|true):not ok
abgeändert in: substitute STATE!(0|false):close,(1|true):open;;;;LOW_BAT!(0|false):ok,(1|true):not ok

und die Icon attribute in: devStateIcon open:fts_window_2w_tilt_l close:fts_window_2w

"Closed" und "close" waren das Problem.
Sind die Werte eigentlich auch case sensitive? oder hätte es gereicht das "Closed" in "Close" zu ändern und es wäre trotzdem als "close" erkannt worden?

Langsam, gaaaanz langsam komm ich dahinter.