I tried to get Callmonitor working wirh openhab 2.5.0 Snapshots.
I tried a lot and need help now:
Basics to Configuration:
Structure of Network: www <> Fritzbox 7490 FW 7.01 <> Server Ubuntu 18.04 LTS with openhab, internal and external Firewall <> Internal Network
What I tried:
binding-fritzboxtr064 installed, configured. Result:
Wifi Switches, Informations, most items work.
Problems:
- fritzboxtr064=“dslUpstreamCurrRate” allways same to fritzboxtr064=“dslUpstreamMaxRate”
- fritzboxtr064=“dslDownstreamCurrRate” allways same to fritzboxtr064=“dslDownstreamMaxRate”
- While activate Items for Callmonitor (activated at FB, checked with wget https://fritz.box:49443/tr64desc.xml) openhab.log throws errors, Call-Monitor not working:
2019-03-08 22:30:12.504 [WARN ] [g.fritzboxtr064.internal.CallMonitor] - Error attempting to connect to FritzBox. Retrying in 120 seconds java.net.ConnectException: Verbindungsaufbau abgelehnt (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:?] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:?] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:?] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:?] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?] at java.net.Socket.connect(Socket.java:589) ~[?:?] at java.net.Socket.connect(Socket.java:538) ~[?:?] at java.net.Socket.<init>(Socket.java:434) ~[?:?] at java.net.Socket.<init>(Socket.java:211) ~[?:?] at org.openhab.binding.fritzboxtr064.internal.CallMonitor$CallMonitorThread.run(CallMonitor.java:224) [226:org.openhab.binding.fritzboxtr064:1.14.0.201903020308]
Callmonitor don’t work. Same when configuring with http: on Port 49000. All Fritzbox settings configured like in actual tutorials, Firefall only shows accepted Traffic.
With iPhone and App Fritz Fon I can call from internal WLAN and also get Calls on internal WLAN, so I’m sure all settings are right.
Fritzbox Log shows succesful login of configured User:
08.03.19 22:29:12 Anmeldung einer App des Benutzers von IP-Adresse 192.168.10.200.
Because most things work (only Down and Upstream and Call Monitor don’t fit) I tried 2.5.0 binding avm-fritz too.
- Installed Binding.
- A few seconds later Inbox PaperUI showed new Thing: Fritzbox.
- Added Thing
- Configured Protocoll, Port, User, Password
- Thing was shown as unititializied
- No log entrys found in openhab.log
- Protocol event.log shows errors:
2019-03-08 22:50:53.896 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) to INITIALIZING
2019-03-08 22:50:54.299 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from INITIALIZING to OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond
2019-03-08 22:50:56.848 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond to OFFLINE (COMMUNICATION_ERROR): Request is invalid
2019-03-08 22:50:57.563 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): Request is invalid to OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond
2019-03-08 22:50:58.273 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond to OFFLINE (COMMUNICATION_ERROR): Request is invalid
2019-03-08 22:50:58.629 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): Request is invalid to OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond
2019-03-08 22:50:59.701 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond to OFFLINE (COMMUNICATION_ERROR): Request is invalid
2019-03-08 22:51:00.083 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): Request is invalid to OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond
2019-03-08 22:51:00.791 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond to OFFLINE (COMMUNICATION_ERROR): Request is invalid
2019-03-08 22:51:01.152 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): Request is invalid to OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond
2019-03-08 22:51:14.775 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond to OFFLINE (COMMUNICATION_ERROR): Request is invalid
2019-03-08 22:51:15.125 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): Request is invalid to OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond
2019-03-08 22:51:15.481 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond to OFFLINE (COMMUNICATION_ERROR): Request is invalid
2019-03-08 22:51:15.843 [hingStatusInfoChangedEvent] - ‘avmfritz:fritzbox:192_168_10_8’ changed from OFFLINE (COMMUNICATION_ERROR): Request is invalid to OFFLINE (COMMUNICATION_ERROR): FRITZ!Box does not respond
So: This binding didn’t work, in Log of Fritzbox, no connect is shown
Could it be that A System with two network-Cards and different subnets isn’t supported by avm-fritz-binding?
Would be nice if someone has got an idea for fritz064 or avm-fritz binding.