{"action":"created","issue":{"url":"https://api.github.com/repos/hplato/homebridge-httpmulti/issues/16","repository_url":"https://api.github.com/repos/hplato/homebridge-httpmulti","labels_url":"https://api.github.com/repos/hplato/homebridge-httpmulti/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/hplato/homebridge-httpmulti/issues/16/comments","events_url":"https://api.github.com/repos/hplato/homebridge-httpmulti/issues/16/events","html_url":"https://github.com/hplato/homebridge-httpmulti/issues/16","id":350896087,"node_id":"MDU6SXNzdWUzNTA4OTYwODc=","number":16,"title":"Fan device configuration","user":{"login":"Aaimek","id":21154939,"node_id":"MDQ6VXNlcjIxMTU0OTM5","avatar_url":"https://avatars0.githubusercontent.com/u/21154939?v=4","gravatar_id":"","url":"https://api.github.com/users/Aaimek","html_url":"https://github.com/Aaimek","followers_url":"https://api.github.com/users/Aaimek/followers","following_url":"https://api.github.com/users/Aaimek/following{/other_user}","gists_url":"https://api.github.com/users/Aaimek/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaimek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaimek/subscriptions","organizations_url":"https://api.github.com/users/Aaimek/orgs","repos_url":"https://api.github.com/users/Aaimek/repos","events_url":"https://api.github.com/users/Aaimek/events{/privacy}","received_events_url":"https://api.github.com/users/Aaimek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-15T17:29:04Z","updated_at":"2018-08-21T15:29:31Z","closed_at":"2018-08-21T15:29:31Z","author_association":"NONE","body":"Hi!\r\nSo I was trying to add my fan to Homebridge using your plugin, the problem is, I didn't find any clear description of how to configure it. So I tried multiple things like this:\r\n\r\n`   {\r\n        \"accessory\": \"HttpMulti\",\r\n        \"name\": \"Fan\",\r\n        \"deviceType\": \"fan\",\r\n        \"model\": \"myFan\",\r\n        \"on_url\": \"http://myFanIp/on\",\r\n        \"off_url\": \"http://myFanIp/off\",\r\n        \"status_url\": \"http://myFanIp/powerPercent\",\r\n        \"speed_url\": \"http://myFanIp/set/%VALUE%\"\r\n   }`\r\n\r\nI tried it without the `\"speed_url\"`, without the `\"status_url\"` too, but nothing worked and Homebridge kept bugging. Note that `/powerPercent` return  a value between 0 and 100. And that `/set/%VALUE%` must be a value between 0 and 100. Please help me!"},"comment":{"url":"https://api.github.com/repos/hplato/homebridge-httpmulti/issues/comments/414716428","html_url":"https://github.com/hplato/homebridge-httpmulti/issues/16#issuecomment-414716428","issue_url":"https://api.github.com/repos/hplato/homebridge-httpmulti/issues/16","id":414716428,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDcxNjQyOA==","user":{"login":"hplato","id":5004104,"node_id":"MDQ6VXNlcjUwMDQxMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5004104?v=4","gravatar_id":"","url":"https://api.github.com/users/hplato","html_url":"https://github.com/hplato","followers_url":"https://api.github.com/users/hplato/followers","following_url":"https://api.github.com/users/hplato/following{/other_user}","gists_url":"https://api.github.com/users/hplato/gists{/gist_id}","starred_url":"https://api.github.com/users/hplato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hplato/subscriptions","organizations_url":"https://api.github.com/users/hplato/orgs","repos_url":"https://api.github.com/users/hplato/repos","events_url":"https://api.github.com/users/hplato/events{/privacy}","received_events_url":"https://api.github.com/users/hplato/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T15:29:31Z","updated_at":"2018-08-21T15:29:31Z","author_association":"OWNER","body":"Thanks for the follow-up. Weird, since the order of the elements shouldn't really matter, but glad that it's working for you."}}
{"actor":{"display_login":"hplato"}}