{"action":"created","issue":{"url":"https://api.github.com/repos/pilight/pilight/issues/164","labels_url":"https://api.github.com/repos/pilight/pilight/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/pilight/pilight/issues/164/comments","events_url":"https://api.github.com/repos/pilight/pilight/issues/164/events","html_url":"https://github.com/pilight/pilight/issues/164","id":65107786,"number":164,"title":"pilight-send dont control dimlevel limits","user":{"login":"fscoelho","id":11687241,"avatar_url":"https://avatars.githubusercontent.com/u/11687241?v=3","gravatar_id":"","url":"https://api.github.com/users/fscoelho","html_url":"https://github.com/fscoelho","followers_url":"https://api.github.com/users/fscoelho/followers","following_url":"https://api.github.com/users/fscoelho/following{/other_user}","gists_url":"https://api.github.com/users/fscoelho/gists{/gist_id}","starred_url":"https://api.github.com/users/fscoelho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fscoelho/subscriptions","organizations_url":"https://api.github.com/users/fscoelho/orgs","repos_url":"https://api.github.com/users/fscoelho/repos","events_url":"https://api.github.com/users/fscoelho/events{/privacy}","received_events_url":"https://api.github.com/users/fscoelho/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-29T23:38:00Z","updated_at":"2015-03-30T04:59:42Z","closed_at":"2015-03-30T04:59:42Z","body":"pilight-send dont control generic_dimmer with limits between 1 and 8.\r\nGives error only in 11 , but if we define a value over 10 will be not accepted. It seems 10 it a built in limit and dont care about device definitions\r\n\"dimlevel-minimum\": 1,\r\n\"dimlevel-maximum\": 8\r\n\r\npi@raspberrypi:~$ pilight-send -p generic_dimmer -i 203 -d 7 -t\r\npi@raspberrypi:~$ pilight-send -p generic_dimmer -i 203 -d 8 -t\r\npi@raspberrypi:~$ pilight-send -p generic_dimmer -i 203 -d 9 -t\r\npi@raspberrypi:~$ pilight-send -p generic_dimmer -i 203 -d 10 -t\r\npi@raspberrypi:~$ pilight-send -p generic_dimmer -i 203 -d 11 -t\r\n[Mar 23 00:25:00:472669] pilight-send: ERROR: generic_dimmer: invalid dimlevel range\r\n\r\nconfiguration device:\r\n\r\n        \"dimmer\": {\r\n            \"protocol\": [ \"generic_dimmer\" ],\r\n            \"id\": [{\r\n                \"id\": 203\r\n            }],\r\n            \"state\": \"on\",\r\n            \"dimlevel\": 5,\r\n            \"dimlevel-minimum\": 1,\r\n            \"dimlevel-maximum\": 8\r\n        }\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pilight/pilight/issues/comments/87547313","html_url":"https://github.com/pilight/pilight/issues/164#issuecomment-87547313","issue_url":"https://api.github.com/repos/pilight/pilight/issues/164","id":87547313,"user":{"login":"CurlyMoo","id":2429105,"avatar_url":"https://avatars.githubusercontent.com/u/2429105?v=3","gravatar_id":"","url":"https://api.github.com/users/CurlyMoo","html_url":"https://github.com/CurlyMoo","followers_url":"https://api.github.com/users/CurlyMoo/followers","following_url":"https://api.github.com/users/CurlyMoo/following{/other_user}","gists_url":"https://api.github.com/users/CurlyMoo/gists{/gist_id}","starred_url":"https://api.github.com/users/CurlyMoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CurlyMoo/subscriptions","organizations_url":"https://api.github.com/users/CurlyMoo/orgs","repos_url":"https://api.github.com/users/CurlyMoo/repos","events_url":"https://api.github.com/users/CurlyMoo/events{/privacy}","received_events_url":"https://api.github.com/users/CurlyMoo/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T04:59:42Z","updated_at":"2015-03-30T04:59:42Z","body":"Issue not opened according to the rules so closing."}}