{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/4859","repository_url":"https://api.github.com/repos/openhab/openhab","labels_url":"https://api.github.com/repos/openhab/openhab/issues/4859/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/4859/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/4859/events","html_url":"https://github.com/openhab/openhab/issues/4859","id":193332021,"number":4859,"title":"[onewire] - Only tries initial owserver connection once?","user":{"login":"bracklanna","id":16140600,"avatar_url":"https://avatars.githubusercontent.com/u/16140600?v=3","gravatar_id":"","url":"https://api.github.com/users/bracklanna","html_url":"https://github.com/bracklanna","followers_url":"https://api.github.com/users/bracklanna/followers","following_url":"https://api.github.com/users/bracklanna/following{/other_user}","gists_url":"https://api.github.com/users/bracklanna/gists{/gist_id}","starred_url":"https://api.github.com/users/bracklanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bracklanna/subscriptions","organizations_url":"https://api.github.com/users/bracklanna/orgs","repos_url":"https://api.github.com/users/bracklanna/repos","events_url":"https://api.github.com/users/bracklanna/events{/privacy}","received_events_url":"https://api.github.com/users/bracklanna/received_events","type":"User","site_admin":false},"labels":[{"id":57324899,"url":"https://api.github.com/repos/openhab/openhab/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":289631812,"url":"https://api.github.com/repos/openhab/openhab/labels/pr-submitted","name":"pr-submitted","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-12-04T05:01:56Z","updated_at":"2016-12-10T23:08:20Z","closed_at":"2016-12-10T12:23:19Z","body":"OpenHAB 1.8.3 with onewire binding active appears to only attempt a connection to the designated owserver server (in this case at 127.0.0.1) ONCE, when OpenHAB initially starts up.\r\n\r\nIf the owserver daemon either isn't ready & listening when OpenHAB starts, the OH onewire binding --> owserver TCP connection fails, and is never retried. \r\n\r\nSimilarly, if the owserver daemon needs to be restarted at some later time, perhaps because it quit of its own accord or as part of other system maintenance, OpenHAB & onewire binding never again look for the owserver.\r\n\r\n## Expected Behavior\r\nSuggested behavior:  Make available in the onewire section of openhab.cfg a configuration option defining how frequently the onewire binding should re-attempt to retry and/or reset a broken or non-existent initial owserver TCP connection.\r\n\r\n## Current Behavior\r\nWhen openhab.sh is first started, when the onewire binding loads it attempt to connect to the defined owserver IP / port. (In my case, 127.0.0.1:4304).  If the owserver is not responding or is not started, openhab.sh & onewire binding never again try to locate the owserver. It is necessary to kill & restart openhab.sh to re-establish the connection.\r\n\r\n## Your Environment\r\n* Version used: OH 1.8.3\r\n* Environment name and version: Java(TM) SE Runtime Environment (build 1.8.0_91-b14)\r\n* Operating System and version: Ubuntu 16.04 LTS / i386\r\n"},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/266246676","html_url":"https://github.com/openhab/openhab/issues/4859#issuecomment-266246676","issue_url":"https://api.github.com/repos/openhab/openhab/issues/4859","id":266246676,"user":{"login":"bracklanna","id":16140600,"avatar_url":"https://avatars.githubusercontent.com/u/16140600?v=3","gravatar_id":"","url":"https://api.github.com/users/bracklanna","html_url":"https://github.com/bracklanna","followers_url":"https://api.github.com/users/bracklanna/followers","following_url":"https://api.github.com/users/bracklanna/following{/other_user}","gists_url":"https://api.github.com/users/bracklanna/gists{/gist_id}","starred_url":"https://api.github.com/users/bracklanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bracklanna/subscriptions","organizations_url":"https://api.github.com/users/bracklanna/orgs","repos_url":"https://api.github.com/users/bracklanna/repos","events_url":"https://api.github.com/users/bracklanna/events{/privacy}","received_events_url":"https://api.github.com/users/bracklanna/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T23:08:20Z","updated_at":"2016-12-10T23:08:20Z","body":"I understand your reasoning & explanations, & thanks for the correction on .UNDEF vs. .NULL. If it is difficult (>15 minutes of coding?) to restore the previous behavior to keep compatibility with 1.8.3, I will try working around using additional methods. But if it's relatively easy to keep I'd sure prefer not to lose that (as I see it) functionality.   I did not anticipate that my original request (server-retry functionality) would cause loss of this other behavior."}}
{"actor":{"display_login":"bracklanna"}}