{"action":"opened","issue":{"url":"https://api.github.com/repos/mholling/one_wire/issues/1","labels_url":"https://api.github.com/repos/mholling/one_wire/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mholling/one_wire/issues/1/comments","events_url":"https://api.github.com/repos/mholling/one_wire/issues/1/events","html_url":"https://github.com/mholling/one_wire/issues/1","id":113778286,"number":1,"title":"Device host and port options passed in Device constructor not working ","user":{"login":"colinl","id":38307,"avatar_url":"https://avatars.githubusercontent.com/u/38307?v=3","gravatar_id":"","url":"https://api.github.com/users/colinl","html_url":"https://github.com/colinl","followers_url":"https://api.github.com/users/colinl/followers","following_url":"https://api.github.com/users/colinl/following{/other_user}","gists_url":"https://api.github.com/users/colinl/gists{/gist_id}","starred_url":"https://api.github.com/users/colinl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinl/subscriptions","organizations_url":"https://api.github.com/users/colinl/orgs","repos_url":"https://api.github.com/users/colinl/repos","events_url":"https://api.github.com/users/colinl/events{/privacy}","received_events_url":"https://api.github.com/users/colinl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-28T09:37:50Z","updated_at":"2015-10-28T09:37:50Z","closed_at":null,"body":"To replicate create a device specifying host and port, for example\r\nd = OneWire::Device.new \"28.601DE1020000\", host: \"192.168.1.89\", port: \"1234\"\r\nthen try to use it for read, write or directory eg\r\nv = d.read \"temperature\"\r\nThis fails with a message such as\r\nErrno::ECONNREFUSED: Connection refused - connect(2) for 127.0.0.1:4304\r\nas the host and port are ignored.\r\nPull request fixing it is in preparation\r\n"}}