{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/2494","labels_url":"https://api.github.com/repos/openhab/openhab/issues/2494/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/2494/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/2494/events","html_url":"https://github.com/openhab/openhab/pull/2494","id":69910793,"number":2494,"title":"FritzBoxTR064 Binding","user":{"login":"gitbock","id":12010962,"avatar_url":"https://avatars.githubusercontent.com/u/12010962?v=3","gravatar_id":"","url":"https://api.github.com/users/gitbock","html_url":"https://github.com/gitbock","followers_url":"https://api.github.com/users/gitbock/followers","following_url":"https://api.github.com/users/gitbock/following{/other_user}","gists_url":"https://api.github.com/users/gitbock/gists{/gist_id}","starred_url":"https://api.github.com/users/gitbock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitbock/subscriptions","organizations_url":"https://api.github.com/users/gitbock/orgs","repos_url":"https://api.github.com/users/gitbock/repos","events_url":"https://api.github.com/users/gitbock/events{/privacy}","received_events_url":"https://api.github.com/users/gitbock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openhab/openhab/labels/new-binding-action-service","name":"new-binding-action-service","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-04-21T17:51:35Z","updated_at":"2015-10-03T06:46:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openhab/openhab/pulls/2494","html_url":"https://github.com/openhab/openhab/pull/2494","diff_url":"https://github.com/openhab/openhab/pull/2494.diff","patch_url":"https://github.com/openhab/openhab/pull/2494.patch"},"body":"Hi,\r\nI created a binding for communication with fritzbox using SOAP requests (TR064 protocol). I tested it on 7270, 7360SL and 7390.\r\nFeatures:\r\n* detect if MAC is online in network (presence detection)\r\n* switching on/off 2,4Hz Wifi, 5GHz Wifi and Guest Wifi (if any)\r\n* getting external IP address of fbox\r\n* getting fbox model name\r\n\r\nThis is my first pull request and I am not familar with git, so I guess I \"cross merged\" some code :( Perhaps somebody can give me some hints how I can have a \"clean\" commit log of my code.\r\nAlso I do not know where I can document my binding for public.\r\n\r\nBest regards\r\n"},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/145210343","html_url":"https://github.com/openhab/openhab/pull/2494#issuecomment-145210343","issue_url":"https://api.github.com/repos/openhab/openhab/issues/2494","id":145210343,"user":{"login":"gitbock","id":12010962,"avatar_url":"https://avatars.githubusercontent.com/u/12010962?v=3","gravatar_id":"","url":"https://api.github.com/users/gitbock","html_url":"https://github.com/gitbock","followers_url":"https://api.github.com/users/gitbock/followers","following_url":"https://api.github.com/users/gitbock/following{/other_user}","gists_url":"https://api.github.com/users/gitbock/gists{/gist_id}","starred_url":"https://api.github.com/users/gitbock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitbock/subscriptions","organizations_url":"https://api.github.com/users/gitbock/orgs","repos_url":"https://api.github.com/users/gitbock/repos","events_url":"https://api.github.com/users/gitbock/events{/privacy}","received_events_url":"https://api.github.com/users/gitbock/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T06:46:27Z","updated_at":"2015-10-03T06:46:27Z","body":"@thaake \r\nThat's strange. I tested it on a fresh openhab 1.7 installation with only the mac online item and it's running fine.\r\n```\r\n2015-10-03 08:33:04.909 [DEBUG] [boxTr064GenericBindingProvider] - Adding item cFboxMacOnline with config maconline:11-55-43-71-1C-44\r\n2015-10-03 08:33:04.915 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - FritzBox TR064 Binding activated!\r\n2015-10-03 08:33:04.918 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - Custom refresh interval set to 60000\r\n2015-10-03 08:33:04.920 [INFO ] [.service.AbstractActiveService] - FritzboxTr064 Refresh Service has been started\r\n2015-10-03 08:33:04.921 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - FritzboxTr064 executing...\r\n2015-10-03 08:33:06.221 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - Found 2,4 Ghz, 5Ghz and Guest Wifi\r\n2015-10-03 08:33:06.301 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - Raw SOAP Request to be sent to fbox: <SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetSpecificHostEntry xmlns:u=\"urn:dslforum-org:service:Hosts:1\"><NewMACAddress>11:55:43:71:1C:44</NewMACAddress></u:GetSpecificHostEntry></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n2015-10-03 08:33:06.585 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - Raw SOAP Response from fbox: <?xml version=\"1.0\"?>\r\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n<s:Body>\r\n<u:GetSpecificHostEntryResponse xmlns:u=\"urn:dslforum-org:service:Hosts:1\">\r\n<NewIPAddress>192.168.178.125</NewIPAddress>\r\n<NewAddressSource>DHCP</NewAddressSource>\r\n<NewLeaseTimeRemaining>0</NewLeaseTimeRemaining>\r\n<NewInterfaceType>802.11</NewInterfaceType>\r\n<NewActive>1</NewActive>\r\n<NewHostName>Nex</NewHostName>\r\n</u:GetSpecificHostEntryResponse>\r\n</s:Body>\r\n</s:Envelope>\r\n2015-10-03 08:33:06.594 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - Parsing response using SOAP value parser in Item map\r\n2015-10-03 08:33:06.598 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - Parsing fbox response for maconline\r\n2015-10-03 08:33:06.620 [DEBUG] [o.o.b.f.i.FritzboxTr064Binding] - parsed as 1\r\n2015-10-03 08:33:06.628 [INFO ] [runtime.busevents             ] - cFboxMacOnline state updated to OPEN\r\n```\r\nDid you include the debug line in your logback.xml already? If yes, try to delete/comment it from the logback.xml and restart. Like this the binding will not log debug information. Perhaps something goes wrong with the debug output in your installation. Did you pass the debug line into the proper xml tags in the file? You must not only add it on the end but inside the configuration tag.\r\n\r\n```\r\n<configuration scan=\"true\">\r\n\r\n\t<appender name=\"STDOUT\" class=\"ch.qos.logback.core.ConsoleAppender\">\r\n\t\t<encoder>\r\n\t\t\t<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] [%-30.30logger{36}] - %msg%n</pattern>\r\n\t\t</encoder>\r\n\t</appender>\r\n\r\n\t[...]\r\n\t<!-- temporary workaround to circumvent error messages with any obvious effect -->\r\n\t<logger name=\"org.atmosphere.cpr.AtmosphereFramework\" level=\"OFF\" />\r\n\t<logger name=\"org.atmosphere.cpr.DefaultAnnotationProcessor\" level=\"OFF\" />\r\n\t\r\n\t<!-- FritzBox TR064 binding -->\r\n\t<logger name=\"org.openhab.binding.fritzboxtr064\" level=\"DEBUG\" />\r\n\t\r\n\t[...]\r\n\r\n</configuration>\r\n```\r\nJust a guess :)\r\n\r\nIf the other version is working the issue is not related to network connectivity problems I ran into before; if the connection cannot be built to fbox the openhab/binding seems unresponsive until timeout."}}