Hi together,
What a pitty.
It works in the Fritz!Box! - Open and Close are recognized there.
But it doesn’t work in openHAB.
My openHAB Test-Script renders some Debug Output:
Debug Fensterkontakt_Schlafzimmer_FRITZSmart_Control_350_HANFUN_Kontakt_TurFensterZustand (Fensterkontakt_Schlafzimmer_FRITZSmart_Control_350_HANFUN_Kontakt_TurFensterZustand (Type=ContactItem, State=NULL, Label=TĂĽr-/Fenster-Zustand, Category=Contact, Tags=[Point], Groups=[Schlafzimmer])) Wert: NaN uninitialized: true State: NULL rawState: NULL type: Contact
so it always says: Uninitialized
I tried adding a “-1” to the AIN
22:40:03.284 [DEBUG] [rnal.handler.AVMFritzBaseThingHandler] - Update thing 'avmfritz:HAN_FUN_CONTACT:192_168_178_1:f7751ccb77' with device model: [ain=15282 0274179-1,bitmask=8208,isHANFUNDevice=false,isHANFUNButton=false,isHANFUNAlarmSensor=true,isButton=false,isSwitchableOutlet=false,isTemperatureSensor=false,isHumiditySensor=false,isPowermeter=false,isDectRepeater=false,isHeatingThermostat=false,hasMicrophone=false,isHANFUNUnit=true,isHANFUNOnOff=false,isDimmableLight=false,isColorLight=false,isHANFUNBlind=false,id=2002,manufacturer=AVM,productname=FRITZ!Smart Control 350,fwversion=0.0,present=1,name=FRITZ!Smart Control 350 #21,battery=null,batterylow=null,null,null,null,null,null,null,[state=0],null,null,[],[etsideviceid=36,unittype=514,interfaces=256]]
and I tried without the “-1”
21:57:47.133 [DEBUG] [rnal.handler.AVMFritzBaseThingHandler] - Update thing 'avmfritz:HAN_FUN_CONTACT:192_168_178_1:f7751ccb77' with device model: [ain=15282 0274179,bitmask=1,isHANFUNDevice=true,isHANFUNButton=false,isHANFUNAlarmSensor=false,isButton=false,isSwitchableOutlet=false,isTemperatureSensor=false,isHumiditySensor=false,isPowermeter=false,isDectRepeater=false,isHeatingThermostat=false,hasMicrophone=false,isHANFUNUnit=false,isHANFUNOnOff=false,isDimmableLight=false,isColorLight=false,isHANFUNBlind=false,id=36,manufacturer=AVM,productname=FRITZ!Smart Control 350,fwversion=03.58,present=1,name=FRITZ!Smart Control 350 #21,battery=90,batterylow=0,null,null,null,null,null,null,null,null,null,[],null]
@Giga522 : Do you have any hints for me?