OH3 - Fritz Box TR064 Add-on, Binding

is there a way to get SoftwareVersion, Modelname and SerialNumber as string too ?

Found a small typo

I created a fix for that.

And no, software version is a property only.

may be this other thread will help you

EDIT: I just discovered that this has already been fixed in [TR-064]. Move along! :sweat_smile:

Hi, I’m using Pi-hole in my network for DHCP and DNS. Thus, my FritzBox is not reachable via the default name “fritz.box”. If I define its bridge thing using its new name or IP address, it appears as if this is ignored by the binding. The UnknownHostException for “fritz.box” is logged and also shown in the UI.

I hacked around a little bit and implemented support for the

Thing subdeviceLan LANDevices  [ uuid="uuid:<id>"]  {
  Channels:
    Type macOnline : PC1  [ mac="01:23:45:67:89:AB" ]
    Type macOnline : PC2  [ mac="01:23:45:67:89:AC" ]
  }

source code can be found here and prebuild binary here. May be it’s of interest for somebody.

Kind regards,

Alexander

Hi,
I just updated to the milestone release to get the Channels for Curr. Down- & Upstream of my Fritzbox in OpenHAB 3.
Unfortunately, those two show the same numbers as Max Upstream / Max Downstream show and not the actual current transfer rate.
Am I missing something or do I have a misunderstanding? :slight_smile:

kind regards
Markus

They are not available in openHAB.

With 3.1.0 they should be as of [tr064] Adds new channels for DSL Max & Current Down-/Upstream Rate by sgiehl · Pull Request #9519 · openhab/openhab-addons · GitHub from my understanding.
Thats why I upgraded to the M2 release.

AVM’s documentation is not very verbose regarding the values provided. My understanding is:

dslUpstreamMaxRate = maximum upstream rate possible
dslUpstreamCurrRate = current upstream rate for this connection

So “maximum” is the maximum provided and “current” is the value that has been negotiated for this connection, e.g. you could have a line that can handle let’s say 16 MBit/s maximum but for some reason the connection showed less capability and only 12 Mbit/s were negotiated between your modem and the endpoint. In this case there would be different values. If you have no errors, the numbers will be the same.

What you are after is the current data transfer rate. That is not available within openHAB, since these values are only provided by the online monitor.

1 Like

If you want something like the online counter you need to read this.

1 Like

Ah, now I see, thank you for the clarification :slight_smile:

I got a 7590 with new 7.25 OS changed IP-address and TCP-port for https

With the OH3 AVM binding I can specify the ip & port, but not with this TR064 binding

With only IP I get:

COMMUNICATION_ERROR
java.util.concurrent.TimeoutException: Total timeout 2000 ms elapsed

With ip:port I get
Status: UNKNOWN

Just for sure have you activated tr064 on the box?

Just try http://fritz.box:49000/tr64desc.xml to see if tr-064 is enabled.

if not goto

Heimnetz -> Netzwerk -> Netzwerkeinstellungen -> Zugriff für Anwendungen zulassen

1 Like

The fritzbox is in a different ip network address
so this fritz.box is no longer working.

When using the above with the ip Address instead nothing happens.

Why is the avm binding able to connect but tr064 binding doesn’t.

Because you didn’t enable tr 064 support. Or you configured a wrong port. If the browser can‘t get the description, the FB config is wrong.

Hi,

Is it possible to also create Things for the Fritz Repeaters?
My Goal is to individually en-/disable 2,4 and 5ghz WiFi on each Item.

When they are Part of a Mesh they follow the Mesh master. But there is also a possibility to configure Them Not to follow the Mesh master and for that it would be cool to have that capability.

OK With 3.10 Milstone the TR 64 is connecting.

I‘m running OH3.1 stable and installed the binding.
I was able to retrieve the DSL speed from my 7590 AX, however they seems not to be updated anymore.
The value in OH3 didn‘t change since yesterday, even DSL values changing in FritzBox UI frequently.

Any idea?

Many thank
Stefan

Hi,

cannot get OH3.1.0 TR064 binding run with my 2x FB7590 (FOS 7.28), 1 local, 1 remote. If I try to add either one as “thing” (Bridge) using OH3 WebUI, I get an COMM error, 404 or 606.

TR064 is enabled on both boxes, proofed using:

  • https://“IP Address”:“https port”/tr064/tr64desc.xml

Box is then asking for credentials and the user I defined on the FB for openHAB connections has proper rights.

Possible that the TR046 still tries to access the FB using “http”? Or does expect standard port “443”?

Any ideas?

Cheers
fnu