{"action":"created","issue":{"url":"https://api.github.com/repos/ioBroker/ioBroker.mihome/issues/32","repository_url":"https://api.github.com/repos/ioBroker/ioBroker.mihome","labels_url":"https://api.github.com/repos/ioBroker/ioBroker.mihome/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/ioBroker/ioBroker.mihome/issues/32/comments","events_url":"https://api.github.com/repos/ioBroker/ioBroker.mihome/issues/32/events","html_url":"https://github.com/ioBroker/ioBroker.mihome/issues/32","id":358756955,"node_id":"MDU6SXNzdWUzNTg3NTY5NTU=","number":32,"title":"Не работает настенная розетка Aqara QBCZ11LM","user":{"login":"mafof","id":16632504,"node_id":"MDQ6VXNlcjE2NjMyNTA0","avatar_url":"https://avatars0.githubusercontent.com/u/16632504?v=4","gravatar_id":"","url":"https://api.github.com/users/mafof","html_url":"https://github.com/mafof","followers_url":"https://api.github.com/users/mafof/followers","following_url":"https://api.github.com/users/mafof/following{/other_user}","gists_url":"https://api.github.com/users/mafof/gists{/gist_id}","starred_url":"https://api.github.com/users/mafof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafof/subscriptions","organizations_url":"https://api.github.com/users/mafof/orgs","repos_url":"https://api.github.com/users/mafof/repos","events_url":"https://api.github.com/users/mafof/events{/privacy}","received_events_url":"https://api.github.com/users/mafof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-10T19:16:12Z","updated_at":"2018-09-13T08:09:49Z","closed_at":null,"author_association":"NONE","body":"Пытался добавить его в ручную добавив в файле lib/mihome/Hub.js к переменной sensorTypes следующую строку:\r\n`ctrl_86plug_aq1:'çtrl_86plug.aq1',`\r\nПотом в функции sensorFactory в конструкцию switch добавил переменную\r\n`this.sensorTypes.ctrl_86plug_aq1`\r\nВ итоге получилось так:\r\n`\r\n            case this.sensorTypes.plug:\r\n            case this.sensorTypes.plug86:\r\n            case this.sensorTypes.ctrl_86plug_aq1:\r\n                sensor = new Plug(sid, ip, this);\r\n                break;\r\n`\r\nТак же потом в файле main.js к константе `names` прибавил следующее:\r\n`'çtrl_86plug.aq1':   'Xiaomi new Super Plug'`\r\nИ в этом же файле добавил к конструкции switch в функции `createDevice` переменную `çtrl_86plug.aq1` к розеткам.\r\nЛог который приходит:\r\n![2018-09-10 13 30 25](https://user-images.githubusercontent.com/16632504/45318930-0ff7be80-b547-11e8-9521-69744b883279.png)\r\nВ объектах розетка не появляется"},"comment":{"url":"https://api.github.com/repos/ioBroker/ioBroker.mihome/issues/comments/420921363","html_url":"https://github.com/ioBroker/ioBroker.mihome/issues/32#issuecomment-420921363","issue_url":"https://api.github.com/repos/ioBroker/ioBroker.mihome/issues/32","id":420921363,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDkyMTM2Mw==","user":{"login":"GermanBluefox","id":4582016,"node_id":"MDQ6VXNlcjQ1ODIwMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/4582016?v=4","gravatar_id":"","url":"https://api.github.com/users/GermanBluefox","html_url":"https://github.com/GermanBluefox","followers_url":"https://api.github.com/users/GermanBluefox/followers","following_url":"https://api.github.com/users/GermanBluefox/following{/other_user}","gists_url":"https://api.github.com/users/GermanBluefox/gists{/gist_id}","starred_url":"https://api.github.com/users/GermanBluefox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GermanBluefox/subscriptions","organizations_url":"https://api.github.com/users/GermanBluefox/orgs","repos_url":"https://api.github.com/users/GermanBluefox/repos","events_url":"https://api.github.com/users/GermanBluefox/events{/privacy}","received_events_url":"https://api.github.com/users/GermanBluefox/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T08:09:49Z","updated_at":"2018-09-13T08:09:49Z","author_association":"CONTRIBUTOR","body":"I must to take the changes into code.\r\nOr.. @mafof can you create PR?"}}
{"actor":{"display_login":"GermanBluefox"}}