Hello Rene,
sorry for my broken english.
I had the same problems. I could solve them with the following changes.
the important thing first :
NEVER try to edit the files with another Editor as openhab designer (OH1). or eclipse smarthome designer (OH2)
I have always copied the code from the posts and then paste to the files with with notepad ++ and edited. The mistakes became more and more. When I opened the files, it the openhab designer saw this as strange as the behavior of OH2 .
first, i try openhab 2_10, never works, more and more mistakes.
Then I downloaded the Version oh1.8.3. latest stable Version of OH1. (not my favourite, old Version, for test only)
I configured only with the files openhab.cfg, fbtr064.items file and sitemap test.sitemap. then i started the openhab with start.bat (windows10) and choose in
internetbrowser http://localhost:8080/start/index: the BASIC UI ,other UI i´ve not tried.
The filecontents are as follows:
openhab.cfg: (in the section fritzbox binding)
fritzboxtr064:url=https://192.168.2.1:49443
fritzboxtr064:refresh=60000
fritzboxtr064:user=openhab
fritzboxtr064:pass=PW_of_user=openhab
test.sitemap (only test for functionality, double entries etc… without sense)
------Begins here (dont copy this line)
sitemap demo label=“Main Menu”
{
Frame label=fritzbox {
Text item=fboxName
Text item=fboxWanIP
Switch item=fboxGuestWifi
Switch item=fboxWifi24
// Text item=fboxIncomingCall
Text item=fboxMissedCalls label=“verpasste Anrufe [%s]” icon="network"
Text item=fboxIncomingCall label="Anruf von: [%1$s]"
Text item=fboxIncomingCall label=“Anruf an: [%2$s]”
// Text item=fboxIncomingCallResolved label=“Incoming call: [%1$s to %2$s]” icon=“network”
}
Frame label=“Telefon/Internet” {
Group item=Phone label=“Telefon/Internet”
}
}
// vim: syntax=Xtend
Ends here (dont copy this line)
fritzbox.items _as follows (or another free Name of .items file, e.g. fb.items or fbtr64.items…) in openhab_dir/conf/items (OH2)
begin *.items -------------- (not copy this line !!)
Group Phone
String fboxName “FBox Model [%s]” (Phone) {fritzboxtr064=“modelName”}
String fboxWanIP “FBox WAN IP [%s]” (Phone) {fritzboxtr064=“wanip”}
Switch fboxWifi24 “2,4GHz Wifi” (Phone) {fritzboxtr064=“wifi24Switch”}
// Switch fboxWifi50 “5,0GHz Wifi” (Phone) {fritzboxtr064=“wifi50Switch”}
Switch fboxGuestWifi “Guest Wifi” (Phone) {fritzboxtr064=“wifiGuestSwitch”}
Contact cFboxMacOnline “Presence (WiFi) [%s]” (Phone) {fritzboxtr064=“maconline:11-11-11-11-11-11” }
// only when using call monitor
Switch fboxRinging “Es ruft jemand an [%s]” (Phone) {fritzboxtr064=“callmonitor_ringing” }
Switch fboxRinging_Out “Anruf wird getätigt [%s]” (Phone) {fritzboxtr064=“callmonitor_outgoing” }
Call fboxIncomingCall “Incoming call: [%1$s to %2$s]” (Phone) {fritzboxtr064=“callmonitor_ringing” }
Call fboxOutgoingCall “Outgoing call: [%1$s to %2$s]” (Phone) {fritzboxtr064=“callmonitor_outgoing” }
// resolve numbers to names according phonebook
Call fboxIncomingCallResolved “Incoming call: [%1$s to %2$s]” (Phone) {fritzboxtr064=“callmonitor_ringing:resolveName” }
// Telephone answering machine (TAM) items
// Number after tamSwitch is ID of configured TAM, start with 0
Switch fboxTAM0Switch “Answering machine ID 0” (Phone) {fritzboxtr064=“tamSwitch:0”}
Number fboxTAM0NewMsg “New Messages TAM 0 [%s]” (Phone) {fritzboxtr064=“tamNewMessages:0”}
// Missed calls: specify the number of last days which should be searched for missed calls
Number fboxMissedCalls “Missed Calls [%s]” (Phone) {fritzboxtr064=“missedCallsInDays:5”}
end *.items------------------- (not copy this line !!)
i put the file
org.openhab.binding.fritzboxtr064-1.9.0.jar
from the offline all-addon-zip file into the subdir openhab_install_dir\addons
(i.e. C:\Users\myName\Documents\openhab-2.1.0-SNAPSHOT\addons
also the newest file
org.openhab.binding.fritzboxtr064_1.9.0.201609212013.jar
from github works fine.
i dont understand what the Funktion “Call” in the *.items file does. I know only the functions number, string etc… like here: http://docs.openhab.org/concepts/items.html
but it works…
Now, calls and other function (presence over MAC not yet tested) works fine on OH2_10 (newest)
Now i can try output the caller-id or Name (i test now the rules for Name Response) with voicerss oder MaryTTS (works manuell very well, but i wait for the text-to-speech binding of alexa, great stuff
The voiceinput versus echo always works very well, MY NICE SMARTHOME
I wish you success
JanL