[avmfritz] Support for HAN-FUN / DECT ULE devices

With the last big firmware update (FRITZ!OS 6.90) AVM announced the support of third-party devices based on HAN-FUN standards (see https://avm.de/produkte/fritzos/fritzos-690/, German). Rumors on the internet say the support started even earlier. Theoretically any device which is certified by the ULE Alliance could be connected to a FRITZ!Box. The official ULE-Liste contains nearly three dozen of different products. Including various Telekom Magenta SmartHome / Qivicon compatible models (see https://www.qivicon.com/assets/Products/Uploads/QIVICON-Compatibility.pdf).

I have been contacted recently from different persons who asked me if the avmfritz binding already supports such devices. With a little help from those users who already own and operate some of those devices successfully I started to implement a first shot. Currently the documentation for the AVM interface and the possibilities is very moderate. That’s why I have had to do some reverse engineering to get it running. Know I want to ask for your help.

Has anyone access to some HAN-FUN / DECT ULE devices and can hand over any kind of information / data / logs to me to support the further development? That would be very much appreciated. Thanks to all of you in advance.

Supported devices (by FRITZ!Box and avmfritz binding):

Supported devices (by FRITZ!Box):

Not supported (by FRITZ!Box):

  • Outlets (Zwischenstecker innen / Zwischenstecker außen)
  • Siren (SmartHome Innensirene)

There are more which nobody has tested yet.

Here is a link to what I have got so far:

Please don’t hesitate to ask questions and feel free to contact me.

1 Like

As a requester for the extensions for

  • Door/Window Contact
  • Motion Sensor

I would like to report that Christph’s first shot is already working perfectly.

I’m running it on a FritzBox 7390 (OS: 6.83) and openhab2 snapshot on a Raspberry Pi.

Thanks a lot, Christoph!

And again AVM announced support for HAN-FUN devices of different manufacturers.

https://www.ulealliance.org/news.aspx?id=254

https://en.avm.de/fritz-lab/fritz-lab-for-fritzbox-6890-lte/fritz-lab-for-fritzbox-7490-and-7590/dect-support-for-standardized-smart-home-protocol-han-fun-based-on-dect-ule/

The mentioned sensors (e.g. SmartHome Wandtaster - a switch with two buttons -, SmartHome Tür-/Fensterkontakt - a door/window contact - or SmartHome Bewegungsmelder - a motion sensor) have been successfully tested by them using the FRITZ!Lab version (upcoming FRITZ!OS 7) for FRITZ!Box 7490/7590. The use of other Sensors should be possible, if these are compatible with DECT-ULE / HAN-FUN standards.

You can find an updated test version for the binding in my GitHub repository.

Hello, can you add the Door- / Window contakt (Magenta SmartHome Tür-/Fensterkontakt, magnetisch)
It works on my fritzbox 7490, what information do you need to add?

Thanks data

Hi @data,

Yes if course. I would love to. I will send you some instructions later via email.

Hi Christoph,

I use a FritzBox 7590 with FritzOs 7 and a TELEKOM SmartHome Rauchmelder.
Can you also add it to your binding?

Thanks
Stefan

HI @Stefan_F,

Yes, why not. Did you successfully connect it to your FRITZ!Box?

I need a DEBUG log (see https://docs.openhab.org/administration/logging.html#defining-what-to-log) of some requests from the avmfritz binding to the interface of your OH2 system. Can you create them and send them to me via PM or email? Thanks in advance.

Hello Christoph.

Thank you for the communication and integration of the device.
I am looking forward to the official release of your binding with hanfun.
Thank you for your great work.

Best regards Data

Hi @data,

Thanks for your cooperation too. It was a pleasure working with you. With your help it was possible to add another device to the initial list: Door- / Window-Contact magnetic (SmartHome Tür-/Fensterkontakt magnetisch). I have included in my initial post.

@cweitkamp thank You for Your work!

Works here fine and out of the box with Door- / Window-Contact magnetic (SmartHome Tür-/Fensterkontakt magnetisch) :slight_smile:

As far as I can see your commits have not yet been merged into the OH 2.4 snapshot.
Anithing we users can do so that it will be merged to the snapshoot or the later release?

Hi @J.Soko,

Thank you too. Unfortunately yes, the code has not been merged yet. I am afraid the only thing we can do is to wait until one of the other maintainers picks the PR up and takes care about it.

Now it’s merged. Thank You! :slight_smile:

Yes, I am happy about that too. It will be part of OH2.4 snapshot #1403. Next project is in the pipeline: Templates (“Vorlagen”). But first I have to finalize the OpenWeatherMap binding :wink:.

1 Like

Is it correct that the telekom smoke detector has only a contact thing available?

Hi Andi,

AFAIK, yes. But I cannot proof it because I do not own such a device, sry.

The motion detector is discovered by OpenHAB, but as late as 2.5.5, it always reports “closed”, while it’s state does change on the Fritz!Box and it actuates items.

Hi @Marlow,

I can have a look if you like. Need a TRACE log for both states of your sensor. To enable TRACE logging do the following steps:

You maybe want to send it via PM to me to avoid leaking sensitive data.

1 Like

I’ve send the trace to your github email, the same as the trace for the Magenta bulbs.

As I’ve currently 42 smart home devices on the AVM Fritz!Box mesh, it may be a bit overwhelming. It certainly is to me.

1 Like

FTR: I had a private conversation with @Marlow via mail and he got his motion detector running again by a restart of the binding / openHAB.

I actually removed the device from openhab entirely, rediscovered it and added it again. Apologies for not reporting back here.

But yes, it started working then.