{"action":"created","issue":{"url":"https://api.github.com/repos/falk0069/hue-upnp/issues/8","labels_url":"https://api.github.com/repos/falk0069/hue-upnp/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/falk0069/hue-upnp/issues/8/comments","events_url":"https://api.github.com/repos/falk0069/hue-upnp/issues/8/events","html_url":"https://github.com/falk0069/hue-upnp/issues/8","id":124716090,"number":8,"title":"hue-upnp issuing multiple DON commands when dimming","user":{"login":"ggiesen","id":5194146,"avatar_url":"https://avatars.githubusercontent.com/u/5194146?v=3","gravatar_id":"","url":"https://api.github.com/users/ggiesen","html_url":"https://github.com/ggiesen","followers_url":"https://api.github.com/users/ggiesen/followers","following_url":"https://api.github.com/users/ggiesen/following{/other_user}","gists_url":"https://api.github.com/users/ggiesen/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiesen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiesen/subscriptions","organizations_url":"https://api.github.com/users/ggiesen/orgs","repos_url":"https://api.github.com/users/ggiesen/repos","events_url":"https://api.github.com/users/ggiesen/events{/privacy}","received_events_url":"https://api.github.com/users/ggiesen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-04T08:36:41Z","updated_at":"2016-01-05T15:46:51Z","closed_at":null,"body":"When my brightening/dimming my lights with my Harmony Elite, hue-upnp issues two DON commands for each brighten/dim command. First a DON with no brightness parameter, then a DON with the brightness parameter. This causes the light to bounce between 100% (the on level) and the requested brightness level when brightening/dimming.\r\n\r\nSee log (this is the result of pressing the brighten key once):\r\n\r\n    2016-01-04 03:28:08,234 [DEBUG] device number:0\r\n    2016-01-04 03:28:08,234 [DEBUG] In set method. Data={u'on': True, u'bri': 254}\r\n    2016-01-04 03:28:08,235 [INFO ] ISY REST: http://192.168.2.148/rest/nodes/38 26 38 1/cmd/DON\r\n    2016-01-04 03:28:08,243 [INFO ] Starting new HTTP connection (1): 192.168.2.148\r\n    2016-01-04 03:28:08,259 [DEBUG] \"GET /rest/nodes/38%2026%2038%201/cmd/DON HTTP/1.1\" 200 104\r\n    2016-01-04 03:28:08,265 [INFO ] ISY REST: http://192.168.2.148/rest/nodes/38 26 38 1/cmd/DON/254\r\n    2016-01-04 03:28:08,274 [INFO ] Starting new HTTP connection (1): 192.168.2.148\r\n    2016-01-04 03:28:09,040 [DEBUG] \"GET /rest/nodes/38%2026%2038%201/cmd/DON/254 HTTP/1.1\" 200 104\r\n    2016-01-04 03:28:09,046 [DEBUG] hueUpnp: 192.168.1.61 Sent HTTP Put Response:\r\n    HTTP/1.1 200 OK\r\n    CONTENT-LENGTH: 43\r\n    CONTENT-TYPE: text/xml charset=\"utf-8\"\r\n    DATE: Mon, 04 Jan 2016 08:28:09 GMT\r\n    EXT:\r\n    SERVER: Unspecified, UPnP/1.0, Unspecified\r\n    CONNECTION: close"},"comment":{"url":"https://api.github.com/repos/falk0069/hue-upnp/issues/comments/169040068","html_url":"https://github.com/falk0069/hue-upnp/issues/8#issuecomment-169040068","issue_url":"https://api.github.com/repos/falk0069/hue-upnp/issues/8","id":169040068,"user":{"login":"ggiesen","id":5194146,"avatar_url":"https://avatars.githubusercontent.com/u/5194146?v=3","gravatar_id":"","url":"https://api.github.com/users/ggiesen","html_url":"https://github.com/ggiesen","followers_url":"https://api.github.com/users/ggiesen/followers","following_url":"https://api.github.com/users/ggiesen/following{/other_user}","gists_url":"https://api.github.com/users/ggiesen/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiesen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiesen/subscriptions","organizations_url":"https://api.github.com/users/ggiesen/orgs","repos_url":"https://api.github.com/users/ggiesen/repos","events_url":"https://api.github.com/users/ggiesen/events{/privacy}","received_events_url":"https://api.github.com/users/ggiesen/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T15:46:51Z","updated_at":"2016-01-05T15:46:51Z","body":"Just for clarity, \"GET /rest/nodes/38%2026%2038%201/cmd/DON/254\" implies turning the device on. There's no need for a second DON command without the brightness parameter."}}