{"action":"opened","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/4801","repository_url":"https://api.github.com/repos/openhab/openhab","labels_url":"https://api.github.com/repos/openhab/openhab/issues/4801/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/4801/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/4801/events","html_url":"https://github.com/openhab/openhab/issues/4801","id":190575803,"number":4801,"title":"[dmx] Allow multiline DMX configurations","user":{"login":"J-N-K","id":5159123,"avatar_url":"https://avatars.githubusercontent.com/u/5159123?v=3","gravatar_id":"","url":"https://api.github.com/users/J-N-K","html_url":"https://github.com/J-N-K","followers_url":"https://api.github.com/users/J-N-K/followers","following_url":"https://api.github.com/users/J-N-K/following{/other_user}","gists_url":"https://api.github.com/users/J-N-K/gists{/gist_id}","starred_url":"https://api.github.com/users/J-N-K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-N-K/subscriptions","organizations_url":"https://api.github.com/users/J-N-K/orgs","repos_url":"https://api.github.com/users/J-N-K/repos","events_url":"https://api.github.com/users/J-N-K/events{/privacy}","received_events_url":"https://api.github.com/users/J-N-K/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-20T18:55:23Z","updated_at":"2016-11-20T18:55:23Z","closed_at":null,"body":"The DMX binding allows complex configurations like\r\n\r\n```\r\nSwitch Bad_Licht_RGB_Changer3 \"Durcheinander\" (gBad,gLight) { dmx=\"CHANNEL[148/21], ON[FADE|\r\n\t1000:255,000,255, 255,255,000, 000,255,255, 000,255,000, 255,000,000, 000,000,255, 255,255,255:1000|\r\n\t1000:255,255,000, 000,255,255, 000,255,000, 255,000,000, 000,000,255, 255,255,255, 255,000,255:1000|\r\n\t1000:000,255,255, 000,255,000, 255,000,000, 000,000,255, 255,255,255, 255,000,255, 255,255,000:1000|\r\n\t1000:000,255,000, 255,000,000, 000,000,255, 255,255,255, 255,000,255, 255,255,000, 000,255,255:1000|\r\n\t1000:255,000,000, 000,000,255, 255,255,255, 255,000,255, 255,255,000, 000,255,255, 000,255,000:1000|\r\n\t1000:000,000,255, 255,255,255, 255,000,255, 255,255,000, 000,255,255, 000,255,000, 255,000,000:1000|\r\n\t1000:255,255,255, 255,000,255, 255,255,000, 000,255,255, 000,255,000, 255,000,000, 000,000,255:1000]\"}  \r\n```\r\n\r\nHowever all of this has to be in one line. To improve readability of the configuration it would be nice to use the above format.\r\n\r\nThis can easily be obtained by stripping \\r, \\n, \\t and whitespace instead of only whitespace from the configuration string. This is fully backward compatible.\r\n \r\n(PR for this feature will be available soon).\r\n"}}
{"actor":{"display_login":"J-N-K"}}