[Solved] AVM Fritz DECT210 not detected

  • Platform information:
    • Hardware: RPI3
    • openHAB version: 2.2.0-1 (Official Release Version)
    • AVM Fritz Binding
      252 │ Active │ 80 │ 2.2.0 │ AVM FRITZ! Binding
  • FritzBox 7360 (OS 6.33)
  • Dect 210 FW 3.67

Hi.
I have some Fritz Dect 200 plug properly running in my Openhab environment since quite some time. Yesterday I tried to include a Fritz Dect 210. Unfortunately this device is not found in the PaperUI. Both devices (200+210) are detected and working fine under the Fritzbox GUI itself.
I rebooted the Fritzbox and restarted Openhab several times.
I also tried to remove the DECT210 from the Fritzbox and included it again.
When I add the 210 manually it stays in INITIALIZING state.

I enabled DEBUG logs for the AVM Fritz binding.
Here it seems that the device is “unsupported” (from traces below)
There was a similar issue quiet some time back. But this was fixed back in (Jan 2017) when I understand correctly and I guess should be included in this OH2.2 version .

But I was not sure how to check?
So is that issue a new/different one?

Any hint is very much appreciated.

Markus

2018-05-26 12:02:37.238 [DEBUG] [l.discovery.AVMFritzDiscoveryService] - start background scan on bridge avmfritz:fritzbox:192_168_178_1
2018-05-26 12:02:37.512 [DEBUG] [nal.hardware.FritzahaContentExchange] - response complete: 1Waschmaschine1manuell0557044932290<device identifier=“11657 0126595” id=“17” functionbitmask=“640” fwversion=“03.67” manufacturer=“AVM” productname="">1Trockner1manuell000
2018-05-26 12:02:37.531 [DEBUG] [l.discovery.AVMFritzDiscoveryService] - discovered unsupported device with id 116570126595
2018-05-26 12:02:37.858 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - polling FRITZ!Box avmfritz:fritzbox:192_168_178_1
2018-05-26 12:02:38.142 [DEBUG] [nal.hardware.FritzahaContentExchange] - response complete: 1Waschmaschine1manuell05570449322901Trockner1manuell000
2018-05-26 12:02:38.161 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - set device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@1d0cf04[ain=087610471943,bitmask=896,isDectRepeater=false,isPowermeter=true,isTempSensor=true,isSwitchableOutlet=true,isHeatingThermostat=false,id=16,manufacturer=AVM,productname=FRITZ!DECT 200,fwversion=03.37,present=1,name=Waschmaschine,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@55d245[state=1,mode=MANUAL,lock=0,devicelock=],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@1f3e255[power=5.570,energy=4.493],org.openhab.binding.avmfritz.internal.ahamodel.TemperatureModel@da2898[celsius=22.9,offset=0.0],]
2018-05-26 12:02:38.168 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - update thing avmfritz:FRITZ_DECT_200:192_168_178_1:087610471943 with device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@1d0cf04[ain=087610471943,bitmask=896,isDectRepeater=false,isPowermeter=true,isTempSensor=true,isSwitchableOutlet=true,isHeatingThermostat=false,id=16,manufacturer=AVM,productname=FRITZ!DECT 200,fwversion=03.37,present=1,name=Waschmaschine,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@55d245[state=1,mode=MANUAL,lock=0,devicelock=],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@1f3e255[power=5.570,energy=4.493],org.openhab.binding.avmfritz.internal.ahamodel.TemperatureModel@da2898[celsius=22.9,offset=0.0],]
2018-05-26 12:02:38.247 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - set device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@1c77ca8[ain=116570126595,bitmask=640,isDectRepeater=false,isPowermeter=true,isTempSensor=false,isSwitchableOutlet=true,isHeatingThermostat=false,id=17,manufacturer=AVM,productname=,fwversion=03.67,present=1,name=Trockner,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@1c8446f[state=1,mode=MANUAL,lock=0,devicelock=],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@119f309[power=0.000,energy=0.000],,]
2018-05-26 12:02:52.866 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - polling FRITZ!Box avmfritz:fritzbox:192_168_178_1
2018-05-26 12:02:53.149 [DEBUG] [nal.hardware.FritzahaContentExchange] - response complete: 1Waschmaschine1manuell05570449322901Trockner1manuell000
2018-05-26 12:02:53.164 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - set device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@1dec892[ain=087610471943,bitmask=896,isDectRepeater=false,isPowermeter=true,isTempSensor=true,isSwitchableOutlet=true,isHeatingThermostat=false,id=16,manufacturer=AVM,productname=FRITZ!DECT 200,fwversion=03.37,present=1,name=Waschmaschine,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@498331[state=1,mode=MANUAL,lock=0,devicelock=],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@19c71e6[power=5.570,energy=4.493],org.openhab.binding.avmfritz.internal.ahamodel.TemperatureModel@a41c0a[celsius=22.9,offset=0.0],]
2018-05-26 12:02:53.170 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - update thing avmfritz:FRITZ_DECT_200:192_168_178_1:087610471943 with device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@1dec892[ain=087610471943,bitmask=896,isDectRepeater=false,isPowermeter=true,isTempSensor=true,isSwitchableOutlet=true,isHeatingThermostat=false,id=16,manufacturer=AVM,productname=FRITZ!DECT 200,fwversion=03.37,present=1,name=Waschmaschine,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@498331[state=1,mode=MANUAL,lock=0,devicelock=],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@19c71e6[power=5.570,energy=4.493],org.openhab.binding.avmfritz.internal.ahamodel.TemperatureModel@a41c0a[celsius=22.9,offset=0.0],]
2018-05-26 12:02:53.218 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - set device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@127d994[ain=116570126595,bitmask=640,isDectRepeater=false,isPowermeter=true,isTempSensor=false,isSwitchableOutlet=true,isHeatingThermostat=false,id=17,manufacturer=AVM,productname=,fwversion=03.67,present=1,name=Trockner,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@12586ca[state=1,mode=MANUAL,lock=0,devicelock=],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@1fcda49[power=0.000,energy=0.000],,]
2018-05-26 12:03:07.876

Hi Markus,

I will try to help you and solve your issue.

May I kindly ask you to use code fences for the logs? Thank you very much.

The linked issue is not applicable for your situation. The first thing which came to my mind while reading your post is that your FRITZ!OS version does not support the DECT 210 device properly. Not the GUI itself - you mentioned it works fine - but moreover the interface which is used by the avmfritz binding. You highlighted the productname property in the xml response of your FRITZ!Box. This is very important for detecting a valid discovery result. Since it is empty the DECT 210 device could not be identified.

If I remember correctly FRITZ!OS 6.83 is the latest firmware for the FRITZ!Box 7390. Do you think it is possible to upgrade your firmware?

Hi Christoph.

Thanks for your feedback.
I also did some more searching on the FW/OS versions on the FritzBox and the DECT210.

Actually, I have a Fritz Box 7360 provided by M-Net. It seems this is a kind of “7360 V1” Version
where the FW/OS Support stopped at FRITZOS 6.33.
https://avm.de/service/fritzbox/fritzbox-7360/wissensdatenbank/publication/show/3235_Warum-gibt-es-das-aktuelle-FRITZ-OS-nicht-fuer-die-FRITZ-Box-7360-v1/

I also dont get any possibility from the Fritz menu to upgrade the OS of the box.
So without any hacks/workarounds it seems not to be possible to get a newer OS Version on my Fritz box.

I additionally checked that the FW Version on the DECT210 device is not be the latest as well. Due to the older Version of the Fritz box it seems that it also does not get automatically updated (what I guess woould happen normally).
I guess it would be possible to connect the DECT210 to a different newer Fritz Box to get the update for the DECT210 in this way. However not sure if this will help for my current issue? (any Suggestion/proposal?)

In addition I looked a bit further on the FritzMenu and compared the entries between the DECT200 and the DECT210 I have. Actually for the DECT200 the “Modell” Name provided is “Fritz!DECT 200” while for the 210 it simply states “Fritz!DECT”. Moreover I realized that also no temperature value is provided for the DECT210 in this menu as well, while its provided for the DECT200.

Hi Markus,

Sry, I misread your FRITZ!Box version. I guess there will be no way to upgrade it. Let’s skip it. But this will make the solution a little bit more challenging. I am pretty sure we have no chance to get the discovery to work. But that is a minor fact if we get the device itself to work.

Please tell me a little bit more about your try to add it manually. How did you do that exactly? PaperUI? HABPanel? Text based?

I will think about a solution. But please repost your DEBUG log inside code fences. The community forum filtered XML tags but I will need them to reproduce your situation. Thanks for your help.

Here you are:

Please tell me a little bit more about your try to add it manually. How did you do that exactly? PaperUI? HABPanel? Text based?

I only tried via PaperUI. When nothing was found for the AVM Fritz Binding, i.e. no Thing was appearing in the Inbox which I could add, I followed the link “Things not listed? Add manually.” I did choose the DECT210 from the list. I Configured the “Brigdge” with my Fritz Box and configured the AIN with the AIN which I took from the Fritz box menu. However, the manually added Thing was always staying in state “INITIALIZING” in the Things menu.

Below once more a new log within Code fences. Hope I used the Code fences correctly (Please note I tried to add a second DECT210 I have as well in the meantime. (Assuming it might have a different FW on. However same FW and same behaviour here) Therefore you will see “discovered unsupported device” for 2 separate DECT210 devices now in this log.)

I saw that you did some change/solution in a commit. Maybe you could give me some short bullets how to uset the new binding?

New Log:

2018-05-27 22:41:43.792 [DEBUG] [l.discovery.AVMFritzDiscoveryService] - start background scan on bridge avmfritz:fritzbox:192_168_178_1
2018-05-27 22:41:43.795 [DEBUG] [ternal.hardware.FritzahaWebInterface] - GETting URL http://192.168.178.1/webservices/homeautoswitch.lua?switchcmd=getdevicelistinfos&sid=8c99dc28853d257d
2018-05-27 22:41:44.171 [DEBUG] [nal.hardware.FritzahaContentExchange] - HTTP response 200
2018-05-27 22:41:44.173 [DEBUG] [nal.hardware.FritzahaContentExchange] - HTTP response 200
2018-05-27 22:41:44.176 [DEBUG] [nal.hardware.FritzahaContentExchange] - response complete: <devicelist version="1"><device identifier="08761 0471943" id="16" functionbitmask="896" fwversion="03.37" manufacturer="AVM" productname="FRITZ!DECT 200"><present>1</present><name>Waschmaschine</name><switch><state>1</state><mode>manuell</mode><lock>0</lock></switch><powermeter><power>0</power><energy>6437</energy></powermeter><temperature><celsius>212</celsius><offset>0</offset></temperature></device><device identifier="11657 0126595" id="17" functionbitmask="640" fwversion="03.67" manufacturer="AVM" productname=""><present>1</present><name>Trockner</name><switch><state>1</state><mode>manuell</mode><lock>0</lock></switch><powermeter><power>0</power><energy>2</energy></powermeter></device><device identifier="11657 0078657" id="18" functionbitmask="896" fwversion="03.67" manufacturer="AVM" productname=""><present>1</present><name>Smart Home #3</name><switch><state>0</state><mode>manuell</mode><lock>0</lock></switch><powermeter><power>0</power><energy>0</energy></powermeter><temperature><celsius>233</celsius><offset>0</offset></temperature></device></devicelist>
2018-05-27 22:41:44.186 [DEBUG] [l.discovery.AVMFritzDiscoveryService] - discovered unsupported device with id 116570126595
2018-05-27 22:41:44.190 [DEBUG] [l.discovery.AVMFritzDiscoveryService] - discovered unsupported device with id 116570078657
2018-05-27 22:41:45.404 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - polling FRITZ!Box avmfritz:fritzbox:192_168_178_1
2018-05-27 22:41:45.407 [DEBUG] [ternal.hardware.FritzahaWebInterface] - GETting URL http://192.168.178.1/webservices/homeautoswitch.lua?switchcmd=getdevicelistinfos&sid=8c99dc28853d257d
2018-05-27 22:41:45.674 [DEBUG] [nal.hardware.FritzahaContentExchange] - HTTP response 200
2018-05-27 22:41:45.677 [DEBUG] [nal.hardware.FritzahaContentExchange] - HTTP response 200
2018-05-27 22:41:45.680 [DEBUG] [nal.hardware.FritzahaContentExchange] - response complete: <devicelist version="1"><device identifier="08761 0471943" id="16" functionbitmask="896" fwversion="03.37" manufacturer="AVM" productname="FRITZ!DECT 200"><present>1</present><name>Waschmaschine</name><switch><state>1</state><mode>manuell</mode><lock>0</lock></switch><powermeter><power>0</power><energy>6437</energy></powermeter><temperature><celsius>212</celsius><offset>0</offset></temperature></device><device identifier="11657 0126595" id="17" functionbitmask="640" fwversion="03.67" manufacturer="AVM" productname=""><present>1</present><name>Trockner</name><switch><state>1</state><mode>manuell</mode><lock>0</lock></switch><powermeter><power>0</power><energy>2</energy></powermeter></device><device identifier="11657 0078657" id="18" functionbitmask="896" fwversion="03.67" manufacturer="AVM" productname=""><present>1</present><name>Smart Home #3</name><switch><state>0</state><mode>manuell</mode><lock>0</lock></switch><powermeter><power>0</power><energy>0</energy></powermeter><temperature><celsius>233</celsius><offset>0</offset></temperature></device></devicelist>
2018-05-27 22:41:45.690 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - set device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@8d7328[ain=087610471943,bitmask=896,isDectRepeater=false,isPowermeter=true,isTempSensor=true,isSwitchableOutlet=true,isHeatingThermostat=false,id=16,manufacturer=AVM,productname=FRITZ!DECT 200,fwversion=03.37,present=1,name=Waschmaschine,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@1137eb1[state=1,mode=MANUAL,lock=0,devicelock=<null>],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@1447985[power=0.000,energy=6.437],org.openhab.binding.avmfritz.internal.ahamodel.TemperatureModel@a4925a[celsius=21.2,offset=0.0],<null>]
2018-05-27 22:41:45.694 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - update thing avmfritz:FRITZ_DECT_200:192_168_178_1:087610471943 with device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@8d7328[ain=087610471943,bitmask=896,isDectRepeater=false,isPowermeter=true,isTempSensor=true,isSwitchableOutlet=true,isHeatingThermostat=false,id=16,manufacturer=AVM,productname=FRITZ!DECT 200,fwversion=03.37,present=1,name=Waschmaschine,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@1137eb1[state=1,mode=MANUAL,lock=0,devicelock=<null>],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@1447985[power=0.000,energy=6.437],org.openhab.binding.avmfritz.internal.ahamodel.TemperatureModel@a4925a[celsius=21.2,offset=0.0],<null>]
2018-05-27 22:41:45.722 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - set device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@1e1bd15[ain=116570126595,bitmask=640,isDectRepeater=false,isPowermeter=true,isTempSensor=false,isSwitchableOutlet=true,isHeatingThermostat=false,id=17,manufacturer=AVM,productname=,fwversion=03.67,present=1,name=Trockner,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@1bfaf2e[state=1,mode=MANUAL,lock=0,devicelock=<null>],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@163638d[power=0.000,energy=0.002],<null>,<null>]
2018-05-27 22:41:45.727 [DEBUG] [.binding.avmfritz.handler.BoxHandler] - set device model: org.openhab.binding.avmfritz.internal.ahamodel.DeviceModel@1330879[ain=116570078657,bitmask=896,isDectRepeater=false,isPowermeter=true,isTempSensor=true,isSwitchableOutlet=true,isHeatingThermostat=false,id=18,manufacturer=AVM,productname=,fwversion=03.67,present=1,name=Smart Home #3,org.openhab.binding.avmfritz.internal.ahamodel.SwitchModel@124075f[state=0,mode=MANUAL,lock=0,devicelock=<null>],org.openhab.binding.avmfritz.internal.ahamodel.PowerMeterModel@1b40e4a[power=0.000,energy=0.000],org.openhab.binding.avmfritz.internal.ahamodel.TemperatureModel@12f60fa[celsius=23.3,offset=0.0],<null>]

The log looks much nicer now. Thank you.

Funny thing is that your second DECT 210 device seems to support temperature measurements whereas your first one does not.

First of all I suggest you to upgrade to the latest release. The binding requires some features which are now available in the stable version. After that uninstall the AVM FRITZ! binding, download the *.jar file I have linked in my PR and put it into you addons/ folder (see https://www.openhab.org/docs/installation/linux.html#file-locations).

If that works you should add the DECT 210 devices manually in Paper UI. In the same way you did before. I will cross my fingers that it will work.

Hi Christoph.

Here some update.

Based on your comment “your second DECT 210 device seems to support temperature measurements” I spend some more time to look in the Fritz Box handling of the DECT210 itself and figured out more problems there as well. Both devices are exactly same as I bought them together. Moreover they sometimes showed strange handling in the Power Consumptions estimates, etc. So I guess the OS version is simply too old and does not properly support those devices (though basic functionality does work).

I had a chat with M-Net and got an exchange of my old 7360 FritzBox free of charge (Now I have a 7430 with FRITZ!OS: 06.83).
In addition I upgraded to OH2.3 which went quite smooth :slight_smile: .
With this new FritzOS version the DECT210 devices are immediatly automatically detected via PaperUI and working fine now.
(Actually both devices are supporting Temperature measurements now as well)
Unfortunately I was not able to test your prepared binding due to the chaged setup.

Anyway thanks a lot for your help & support.

Cool. Glad to hear. Have fun with your new FRITZ!Box and the two devices.

Nevermind about my code changes. They are an improvement for the binding and I removed an open item from my TODO list. You reminded me to speed up that process.