{"action":"created","issue":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4095","repository_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota","labels_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4095/labels{/name}","comments_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4095/comments","events_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4095/events","html_url":"https://github.com/arendst/Sonoff-Tasmota/pull/4095","id":371119601,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNjM3MjU4","number":4095,"title":"Add support for different variants of TUYA-dimmer","user":{"login":"chaosmaster","id":1183624,"node_id":"MDQ6VXNlcjExODM2MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1183624?v=4","gravatar_id":"","url":"https://api.github.com/users/chaosmaster","html_url":"https://github.com/chaosmaster","followers_url":"https://api.github.com/users/chaosmaster/followers","following_url":"https://api.github.com/users/chaosmaster/following{/other_user}","gists_url":"https://api.github.com/users/chaosmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/chaosmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaosmaster/subscriptions","organizations_url":"https://api.github.com/users/chaosmaster/orgs","repos_url":"https://api.github.com/users/chaosmaster/repos","events_url":"https://api.github.com/users/chaosmaster/events{/privacy}","received_events_url":"https://api.github.com/users/chaosmaster/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-17T14:54:38Z","updated_at":"2018-10-18T12:03:10Z","closed_at":"2018-10-18T11:02:52Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/pulls/4095","html_url":"https://github.com/arendst/Sonoff-Tasmota/pull/4095","diff_url":"https://github.com/arendst/Sonoff-Tasmota/pull/4095.diff","patch_url":"https://github.com/arendst/Sonoff-Tasmota/pull/4095.patch"},"body":"There are many Dimmers using the TUYA serial-protocol, they use different configurations for addressing the dimmer, as well as reset-functions (Button-presses) etc.\r\n\r\nThis adds support for other Dimmers using the TUYA protocol as mentioned in #469 \r\n\r\nThis patch adds a new option to select the dimmer ID used in the serial communication.\r\nIt can either be set at compile-time via:\r\n`#define TUYA_DIMMER_ID <id>`\r\n\r\nOr at runtime via:\r\n`TuyaDimmerId <id>`\r\n\r\nThe ID defaults to **3** to not break stuff."},"comment":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/comments/430982277","html_url":"https://github.com/arendst/Sonoff-Tasmota/pull/4095#issuecomment-430982277","issue_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/4095","id":430982277,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDk4MjI3Nw==","user":{"login":"digiblur","id":3240875,"node_id":"MDQ6VXNlcjMyNDA4NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/3240875?v=4","gravatar_id":"","url":"https://api.github.com/users/digiblur","html_url":"https://github.com/digiblur","followers_url":"https://api.github.com/users/digiblur/followers","following_url":"https://api.github.com/users/digiblur/following{/other_user}","gists_url":"https://api.github.com/users/digiblur/gists{/gist_id}","starred_url":"https://api.github.com/users/digiblur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digiblur/subscriptions","organizations_url":"https://api.github.com/users/digiblur/orgs","repos_url":"https://api.github.com/users/digiblur/repos","events_url":"https://api.github.com/users/digiblur/events{/privacy}","received_events_url":"https://api.github.com/users/digiblur/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T12:03:10Z","updated_at":"2018-10-18T12:03:10Z","author_association":"CONTRIBUTOR","body":"Wow.  I had a few minutes to look over the changes. Great work!  I like the modular approach with the driver as it definitely lessens the impact of things as we move forward and only make this better.  I'll do some tests this evening (US time here).\r\n\r\n"}}
{"actor":{"display_login":"digiblur"}}