TR064 Binding throws error on PhoneBook, albeit it is not requested

Hi openhab community,

recently I added TR064 Binding to my openhabian. With the new Fritz!OS8 my 7590 AX runs every 4-6 weeks into trouble, obviously running out of memory, starting to priortize processes and also killing processes. E.g. is no controlled reboot from GUI possible in that state. Vendor is not able (or willing) to find the issue, rather asked me so send the Box for RMA.

###############################################################################
###############  openhabian  ##################################################
###############################################################################
##        Ip = 192.168.178.38
##   Release = Raspbian GNU/Linux 11 (bullseye)
##    Kernel = Linux 6.1.21-v8+
##  Platform = Raspberry Pi 4 Model B Rev 1.4
##   Updates = 0 apt updates available.
##  Sessions = 1 session(s)
## Processes = 124 running processes of 32768 maximum processes
###############################################################################

                          _   _     _     ____   _
  ___   ___   ___   ___  | | | |   / \   | __ ) (_)  ____   ___
 / _ \ / _ \ / _ \ / _ \ | |_| |  / _ \  |  _ \ | | / _  \ / _ \
| (_) | (_) |  __/| | | ||  _  | / ___ \ | |_) )| || (_) || | | |
 \___/|  __/ \___/|_| |_||_| |_|/_/   \_\|____/ |_| \__|_||_| | |
      |_|                  openHAB 4.3.3 - Release Build

But there was no such issue with/until Fritz!OS7 … so, I decided to use my home automation to achieve monthly/weekly reboot at night of the Fritz!Box using TR064 Binding. For that I just defined the bridge thing and two channels:

Bridge tr064:fritzbox:192_168_178_1 "FB 7590 AX tr064" @ "Floor"
[
   host="192.168.178.1",
   user="TR064_USER",
   password="SECRET_PASSWORD"
]
Number:Time fb7590ax_uptime "FB 7590 AX Uptime" <time> (gFloor) {channel="tr064:fritzbox:192_168_178_1:uptime"}
Switch fb7590ax_reboot "FB 7590 AX Reboot" <switch> {channel="tr064:fritzbox:192_168_178_1:reboot"}

That does work so far, but I get such entries into the logs:

...
/var/log/openhab/openhab.log:2025-03-12 06:38:56.364 [WARN ] [ding.tr064.internal.Tr064RootHandler] - Failed to get phonebook with index 0:
/var/log/openhab/openhab.log:2025-03-12 17:33:05.726 [WARN ] [nternal.phonebook.Tr064PhonebookImpl] - Failed to get phonebook with URL 'https://192.168.178.1:49443/phonebook.lua?sid=0c8afd2dabbb0568&pbid=0'
/var/log/openhab/openhab.log:2025-03-13 02:23:50.651 [WARN ] [nternal.phonebook.Tr064PhonebookImpl] - Failed to get phonebook with URL 'https://192.168.178.1:49443/phonebook.lua?sid=85dab24be82d2f7c&pbid=0'
/var/log/openhab/openhab.log:2025-03-13 08:54:23.822 [WARN ] [ding.tr064.internal.Tr064RootHandler] - Failed to get phonebook with index 0:
/var/log/openhab/openhab.log:2025-03-13 09:14:25.393 [WARN ] [nternal.phonebook.Tr064PhonebookImpl] - Failed to get phonebook with URL 'https://192.168.178.1:49443/phonebook.lua?sid=042da8a5e77d3768&pbid=0'
/var/log/openhab/openhab.log:2025-03-13 09:24:26.385 [WARN ] [nternal.phonebook.Tr064PhonebookImpl] - Failed to get phonebook with URL 'https://192.168.178.1:49443/phonebook.lua?sid=52df35a5008a3abd&pbid=0'
...

As you can see above, I do not ask for the FB phonebook at all, I am not interested to do so.

But why do I get those warnings in the logs?

Cheers

Cause the Binding always requests this.
It is just a warning, no error. You can change the loglevel for the Binding to ERROR to get rid of the warnings.

1 Like

Hi, thanks for your reply :slightly_smiling_face:

But ignoring and hiding messages doesn’t sound that right to an old IT dude like me, if a solution (or workaround) might be possible.

Went back again to TR064 binding documentation and found a small section talking about “PHONEBOOK” profile, I’ve not realized before:

If the PHONEBOOK profile shall be used, it is necessary to retrieve the phonebooks from the FritzBox. The phonebookInterval is used to set the refresh cycle for phonebooks. It defaults to 600 seconds, and it can be set to 0 if phonebooks are not used.

Therefore changed the bridge thing accordingly, as I don’t want to use FB’s phonebook(s):

Bridge tr064:fritzbox:192_168_178_1 "FB 7590 AX tr064" @ "Floor"
[
   host="192.168.178.1",
   user="TR064_USER",
   password="SECRET_PASSWORD",
   phonebookInterval="0"
]

Assuming that does solve my issue described above.

Ok, I stand corrected, did not know you can disable phonebook requests.