OH3 - Fritz Box TR064 Add-on, Binding

Sometimes I also get an 606 error. Is there any way to debug this?

I also have an issue with OH3 version of the binding. In version 1 it was possible to switch ON/OFF Guest WIFI. The documentation of version3 of the binding also says, that there are channels available (with advanced options):

I turned on advanced options, but I’m not able to add guest wifi channel:

Any idea or hints?

Same issue. But 606 is when trying to set a value while 401 usually is sent while reading a value. How often is “sometimes”?

wrong device. use discovery to detect the subdevices.

After Openhab restart I see the 606 and after a while it shows the 500/401

I guess this happens when a REFRESH command is sent to the channel before the thing is fully initialized. I have already submitted an improvement for that: https://github.com/openhab/openhab-addons/pull/9454

How can I get more logs about this issue? Actually I don’t really understand where the issue is, because it worked fine with openhab 2

You can set org.openhab.binding.tr064 to a higher log-level like DEBUG or TRACE but I doubt that there is any useful additional information.

Stupid question:
How do I use discovery?
I only see the option to add manually…

When you choose the “Add” option, you will see a “Scan” button.

I don’t see the scan option:

After you created the fritzbox thing, go to the things configuration page, press “+”, select tr064 binding, press “Scan”. You’ll find a LANDevice. The wifi channels are on that device.

@J-N-K can you please share some details on how to use the phonebook? I don’t get it by myself when reading the documentation.

1 Like

Should be as easy as linking the channel that provides the phonenumber to the string item that shall receive the resolved number and selecting Phonebook as profile. Please don’t ask me how to do that in textual configuration.

So a recreation of the Fritz!Box user solved the issue…

Another question: how can I create a maconline thing via text configuration?

@J-N-K maybe its caused by my network setup. Its splitt up in 192.168.178.x for smarthome wifi stuff and 192.168.50.x for normal devices incl. the OH3 server.
But both networks can route for communication (ping works for exapmle)

how do i increase log level for the binding ?

Found it. If somebody else needs it:

Bridge tr064:fritzbox:fritzbox "FritzBox" [ host="ip", user="user", password="pass" ] {
    Thing subdeviceLan fritzboxLAN "FritzBox LAN" [ uuid="uuid", macOnline="...", "...", "...", "..." ]
}
2 Likes

Yeah, it works. I tried many options by myself, but not this syntax :slight_smile: BTW:

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

adds the channels, but fails to interpret the parameter. According to code, macOnline parameter from subdeviceLan thing has effect only.

1 Like

That’s the one that‘ll be fixed with the PR I
linked above: OH3 - Fritz Box TR064 Add-on, Binding

2 Likes

so i have to wait for a new release ? or can i install this by my self?