I am trying to set up the TR064 binding on my 1.8.2 Openhab installation. Everything else works - including other bindings (MQTT etc).
I have installed the .jar file in the addon folder - and added the configurations in the openhab.cfg file - as well as added items, rules and sitemap entries - according to instructions.
But I dont get any data - and it seems that the binding is simply not working.
In my logfile I get:
2016-05-23 06:34:35.834 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - FritzBox TR064 Binding activated!
2016-05-23 06:34:35.837 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - Custom refresh interval set to 60000
2016-05-23 06:34:35.838 [WARN ] [o.o.b.f.i.FritzboxTr064Binding] - Fritzbox User was not provided in config. Using default username.
2016-05-23 06:34:37.258 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - Releasing connection
2016-05-23 06:34:38.226 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - Found 2,4 Ghz, 5Ghz and Guest Wifi
2016-05-23 06:34:38.236 [INFO ] [.service.AbstractActiveService] - FritzboxTr064 Refresh Service has been started
2016-05-23 06:34:38.241 [TRACE] [o.o.b.f.i.FritzboxTr064Binding] - FritzboxTr064 executing…
so it seems that the binding as such is active - but I dont get any data in Openhab - and just lines like this for all the FritzboxTr064 elements:
What I find so strange is, that I am not getting any data at all. I tried with a python script (https://bitbucket.org/kbr/fritzconnection) to readout TR064 data and that works - so the problem does not lie in my setup, but rather in the Openhab binding.
Has anyone gotten the OpenHab TR064 binding to work on newer version Fritz’es ? - or on FritzBoxes at all ?
For me the readout of TR064 data works regarding the maconline feature. This is on a 7490 with FritzOS 6.51. Do you see a connection on your openhab box to your fritz box like this:
tcp6 0 0 192.168.254.12:39391 192.168.254.1:49443 ESTABLISHED
I dont know ?? - where would I look for it ? What would be the Linux command to check that ?
Ah - sorry, I didn’t know the NETSTAT command Learning all the time
YES - I do have the connection similar to what you commented:
tcp6 0 0 GARAGE.fritz.box:57133 fritz.box:49000 ESTABLISHED
The “GARAGE” is the name of my RASPI2 which is located in - my Garage
Now what ? It seems that connections exist - and that I can see TR064 data on my FritzBox through other clients. Why wont it work in the OpenHab binding ?
No, I already had it on TRACE and changing to DEBUG doesnt provide further insight.
I noticed that the NETSTAT occacionally gives
tcp6 1 0 GARAGE.fritz.box:40544 fritz.box:49000 CLOSE_WAIT
is that normal ?
Any other suggestions to why the Binding doesnt bring any data ?