- Platform information:
-
Hardware: Openhab 3 Docker Image [snapshot-debian] or openhab/openhab:latest-debian (548f9768ba0a) configured to use the host interface
Same on Windows 10 with zulu 11 and latest snapshot build
openHAB 3.1.0
Build #2135 -
docker run command:
docker run
–name openhab-latest-fresh
–net=host
-v /etc/localtime:/etc/localtime:ro
-v /etc/timezone:/etc/timezone:ro
-v /opt/openhab-fresh/conf:/openhab/conf
-v /opt/openhab-fresh/userdata:/openhab/userdata
-v /opt/openhab-fresh/addons:/openhab/addons
-e TZ=Europe/Berlin
-e “EXTRA_JAVA_OPTS=-Duser.timezone=Europe/Berlin”
-d
-e OPENHAB_HTTP_PORT=7070
-e OPENHAB_HTTPS_PORT=7443
-e USER_ID=9999
-e GROUP_ID=9999
openhab/openhab:snapshot-debian -
OS: Linux Mint 20 amd64
uname -a
Linux labor 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux -
Java Runtime Environment: Docker
-
openHAB version: 3.0.0 or openHAB 3.1.0 Build #2135
-
- Issue of the topic: I configured a Fritzbox thing for my Fritzbox 7490 (OS V7.21) with the GUI and the V3 TR-064 Binding.
The thing is going online as expected and communicating with the fritzbox, as you can see in the trace log below. But I’m not be able to get the subdevice UIDs forsubdevice
orsubdeviceLan
.
The documention does not describes how to determine those value. Autodiscovery does not find anything (subdevices). Or if I look at a wrong place. Where I have to look for it?
Is there a tutorial on how to handle these new tr064 subdevices in detail?
I want to use the macOnline feature which works in Openhab2. The user tr064user is the same as I use in my Openhab 2 environment, in openhab2 (with the V1 tr064 binding) all runs as expected.
- Please post configurations (if applicable):
openhab> openhab:things show tr064:fritzbox:77942222a0
UID: tr064:fritzbox:77942222a0
Type: tr064:fritzbox
Label: FritzBox
Status: ONLINE
Properties:
deviceType : urn:dslforum-org:device:InternetGatewayDevice:1
SoftwareVersion : 113.07.21
ModelName : FRITZ!Box 7490
SerialNumber : 38xxxxxxD9
Configuration parameters:
host : 192.168.178.1
phonebookInterval : 600
refresh : 60
password : SecurePW
user : tr064user
Channels:
ID: securityPort
Label: null
Type: tr064:securityPort
’
ID: uptime
Label: null
Type: tr064:uptime
’
ID: deviceLog
Label: null
Type: tr064:deviceLog
’
ID: reboot
Label: null
Type: tr064:reboot
Begin of the trace log
2021-01-12 14:08:44.061 [TRACE] [hab.binding.tr064.internal.util.Util] - Refreshing cache for ‘http://192.168.178.1:49000/tr64desc.xml’
<root xmlns=“urn:dslforum-org:device-1-0”>
<specVersion>
<major>1
<minor>0
</specVersion>
<HW>185
<Major>113
<Minor>7
<Patch>21
<Buildnumber>81779
<Display>113.07.21
</systemVersion>
<device>
<deviceType>urn:dslforum-org:device:InternetGatewayDevice:1
…
2021-01-12 14:08:44.191 [TRACE] [hab.binding.tr064.internal.util.Util] - Storing in cache org.openhab.binding.tr064.internal.dto.scpd.root.SCPDRootType@51ba6428
2021-01-12 14:08:44.192 [TRACE] [hab.binding.tr064.internal.util.Util] - Returning from cache: org.openhab.binding.tr064.internal.dto.scpd.root.SCPDRootType@51ba6428
2021-01-12 14:08:44.197 [TRACE] [hab.binding.tr064.internal.util.Util] - Refreshing cache for ‘http://192.168.178.1:49000/deviceinfoSCPD.xml’
2021-01-12 14:08:44.211 [TRACE] [hab.binding.tr064.internal.util.Util] - XML = <?xml version="1.0"?>