OH3 - Fritz Box TR064 Add-on, Binding

Error in the documentation of dslStatus channel.

I am trying to monitor the status of the DSL connection by using the WAN subdevice channel dslStatus. According to the documentation it is a switch. When I create a link, with the UI, to an existing switch item such an item remains NULL.

If, instead, I create a link to a String item, the status is updated to the value Up.

1 Like

Hi all,

I’ve tried to link some channels of the Subdevice WAN but if i do so the add process freezes at the line. shown in the picture and will not continue.

I’ve seen in the documentation that

Advanced channels appear only if the corresponding parameters are set in the Thing definition.

But it’s not clear what this corresponding parameter will be.

My Thing:

UID: tr064:subdevice:0cd75ed1a9:uuid_3A75802409_2Dbccb_2D40e7_2D8e6a_2DCCCE1E61D634
label: "FritzBox WANDevice "
thingTypeUID: tr064:subdevice
configuration:
  refresh: 60
  uuid: uuid:75802409-bccb-40e7-8e6a-CCCE1E61D634
bridgeUID: tr064:fritzbox:0cd75ed1a9

The point where it breaks

Documentation is wrong. It’s a String.

1 Like

Uninstalled Binding, things & items reinstalled all
Solved the situation.
The good question is just unless when

1 Like

Hi,

I am facing a communication error on the bridge and I have no clue why. The error says
“could not get device definitions from https://XXXXX.myfritz.net

Openhab Log Viewer says: “… [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘tr064:subdeviceLan:1fe96d71d750c88e:LAN’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)”

Openhab 3.2.0 is running on a Raspberry Pi 3B+ which is using the guestnet of a Fritzbox 7590 v07.29. The guestnet is where all Smarthome Things are located. Needless to say that the setup for everything else is working fine. But because of the guestnet I have to use an external access with a dynamic IP in order to enter the Fritzbox in the main network. This is currently realized in this case through a myFritz IP because it does not throw a certificate error (thanks to a letsencrypt.org certificate).

External browser access to the fritzbox is working. As well I am successfully able to performe the tr64desc.xml test (https://XXXXXX.myfritz.net:#####/tr064/tr64desc.xml) with these credentials through a browser. So IP and credentials seem to work fine.

What I did try with the Binding/Bridge configuration so far was:

  • entering the myFritz given IP with the port used by myFritz. As well I tried without port.
  • trying as well the regular dynamic IP which I usually use. With and without port.
  • setting up the bridge by the given automatic/supported setup routine. As well I tried to define the Things manually/textually.

Nothing worked so far and at this point I really need and would appreciate some help. Does anyone have an idea what the reason could be? What am I doing wrong? And as a sidenote I have to admit that I do not have any programming skills nor deeper technical knowledge :slight_smile: So you might have to be a little patient with me when things seem to be clear to you but I am just not getting it.

I know this is an old post and probably you have already found a solution. In my transition to OH 3.4 I encountered this very same error and it turned out to be an error in the ip address of the fritzbox (some strange character in the string? I do not know). I deleted all the characters in the ip address field and re-entered it from scratch. It then worked.

This error is not only in the documentation, but also in the channel definition. I am installing from scratch in OH 3.4, using only the UI, but through the user UI I cannot link the channel to a string item (I am only offered a choice of available switch items). I still have to import from textual definitions.