{"action":"created","issue":{"url":"https://api.github.com/repos/arendst/Sonoff-MQTT-OTA-Arduino/issues/122","repository_url":"https://api.github.com/repos/arendst/Sonoff-MQTT-OTA-Arduino","labels_url":"https://api.github.com/repos/arendst/Sonoff-MQTT-OTA-Arduino/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/arendst/Sonoff-MQTT-OTA-Arduino/issues/122/comments","events_url":"https://api.github.com/repos/arendst/Sonoff-MQTT-OTA-Arduino/issues/122/events","html_url":"https://github.com/arendst/Sonoff-MQTT-OTA-Arduino/issues/122","id":194059720,"number":122,"title":"Thoughts on using GPIO14 as a duplicate for the standard button","user":{"login":"Malarcy","id":16179914,"avatar_url":"https://avatars.githubusercontent.com/u/16179914?v=3","gravatar_id":"","url":"https://api.github.com/users/Malarcy","html_url":"https://github.com/Malarcy","followers_url":"https://api.github.com/users/Malarcy/followers","following_url":"https://api.github.com/users/Malarcy/following{/other_user}","gists_url":"https://api.github.com/users/Malarcy/gists{/gist_id}","starred_url":"https://api.github.com/users/Malarcy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malarcy/subscriptions","organizations_url":"https://api.github.com/users/Malarcy/orgs","repos_url":"https://api.github.com/users/Malarcy/repos","events_url":"https://api.github.com/users/Malarcy/events{/privacy}","received_events_url":"https://api.github.com/users/Malarcy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-07T14:13:24Z","updated_at":"2016-12-07T14:55:57Z","closed_at":null,"body":"Hi - this is a question - have just received a couple of sonoff devices, appear to the newer 5 pin/no hold for the led in the cover ones. From reading I think they are the TH versions.\r\n\r\nI see in the code options around temp sensors and the like, but what I would like to do is to hook up this pin (GPIO14) to an external switch (in my case a floor switch - but I can see other use cases) - and have it do the same as the standard switch (GPIO0) - I want local control of the relay ( for the family) but they won't be accessing the core module (that's going to be inside/behind a unit). I also want to retain the multi-press options \r\n\r\nSo - rather than attempting to wire in parallel to the existing switch, my thoughts were to duplicate the function of KEY_PIN (or even just swap KEY_PIN to 14) to provide remote only\r\n\r\nInterested in thoughts about this, or any other approach to achieving a local control button that can be made \"family friendly\"- perhaps a wall switch, perhaps a foot switch."},"comment":{"url":"https://api.github.com/repos/arendst/Sonoff-MQTT-OTA-Arduino/issues/comments/265468040","html_url":"https://github.com/arendst/Sonoff-MQTT-OTA-Arduino/issues/122#issuecomment-265468040","issue_url":"https://api.github.com/repos/arendst/Sonoff-MQTT-OTA-Arduino/issues/122","id":265468040,"user":{"login":"alphalove","id":6965996,"avatar_url":"https://avatars.githubusercontent.com/u/6965996?v=3","gravatar_id":"","url":"https://api.github.com/users/alphalove","html_url":"https://github.com/alphalove","followers_url":"https://api.github.com/users/alphalove/followers","following_url":"https://api.github.com/users/alphalove/following{/other_user}","gists_url":"https://api.github.com/users/alphalove/gists{/gist_id}","starred_url":"https://api.github.com/users/alphalove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphalove/subscriptions","organizations_url":"https://api.github.com/users/alphalove/orgs","repos_url":"https://api.github.com/users/alphalove/repos","events_url":"https://api.github.com/users/alphalove/events{/privacy}","received_events_url":"https://api.github.com/users/alphalove/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T14:55:57Z","updated_at":"2016-12-07T14:55:57Z","body":"Hello Malarcy,\r\nThis functionality was in release 2.0.18.  You can have a read of the details here.\r\n\r\nhttps://github.com/arendst/Sonoff-MQTT-OTA-Arduino/issues/101\r\n\r\nCheers,\r\n\r\nalex"}}
{"actor":{"display_login":"alphalove"}}