{"action":"created","issue":{"url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/166","repository_url":"https://api.github.com/repos/marvinroger/homie-esp8266","labels_url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/166/comments","events_url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/166/events","html_url":"https://github.com/marvinroger/homie-esp8266/issues/166","id":181630939,"number":166,"title":"My activity LED on GPIO0 doesnt want to work","user":{"login":"claybar","id":6745912,"avatar_url":"https://avatars.githubusercontent.com/u/6745912?v=3","gravatar_id":"","url":"https://api.github.com/users/claybar","html_url":"https://github.com/claybar","followers_url":"https://api.github.com/users/claybar/followers","following_url":"https://api.github.com/users/claybar/following{/other_user}","gists_url":"https://api.github.com/users/claybar/gists{/gist_id}","starred_url":"https://api.github.com/users/claybar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claybar/subscriptions","organizations_url":"https://api.github.com/users/claybar/orgs","repos_url":"https://api.github.com/users/claybar/repos","events_url":"https://api.github.com/users/claybar/events{/privacy}","received_events_url":"https://api.github.com/users/claybar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marvinroger/homie-esp8266/labels/docs","name":"docs","color":"0052cc"},{"url":"https://api.github.com/repos/marvinroger/homie-esp8266/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-07T10:06:50Z","updated_at":"2016-10-08T11:05:45Z","closed_at":null,"body":"I am using the head of 2.0 branch with a 'LoLin' NodeMCU clone.  I have attached an LED+resistor between to GPIO0 and 3V3.  Everything else is working (MQTT messages firing nicely), but the LED only emits a couple of short pulses after boot, then nothing.\r\n\r\n```\r\nHomie_setFirmware(FW_NAME, FW_VERSION);\r\nHomie.disableResetTrigger();\r\nHomie.setLedPin(D3, LOW);\r\nHomie.setSetupFunction(homieSetupHandler);\r\nHomie.setLoopFunction(homieLoopHandler);\r\nHomie.onEvent(onHomieEvent);\r\nHomie.setup();\r\n```\r\n\r\nThe D3 define maps to GPIO0, and I have made it active low so the boot pull-up resistor is not defeated by the LED.\r\n\r\nShould this work?"},"comment":{"url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/comments/252418672","html_url":"https://github.com/marvinroger/homie-esp8266/issues/166#issuecomment-252418672","issue_url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/166","id":252418672,"user":{"login":"marvinroger","id":990773,"avatar_url":"https://avatars.githubusercontent.com/u/990773?v=3","gravatar_id":"","url":"https://api.github.com/users/marvinroger","html_url":"https://github.com/marvinroger","followers_url":"https://api.github.com/users/marvinroger/followers","following_url":"https://api.github.com/users/marvinroger/following{/other_user}","gists_url":"https://api.github.com/users/marvinroger/gists{/gist_id}","starred_url":"https://api.github.com/users/marvinroger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvinroger/subscriptions","organizations_url":"https://api.github.com/users/marvinroger/orgs","repos_url":"https://api.github.com/users/marvinroger/repos","events_url":"https://api.github.com/users/marvinroger/events{/privacy}","received_events_url":"https://api.github.com/users/marvinroger/received_events","type":"User","site_admin":false},"created_at":"2016-10-08T11:05:45Z","updated_at":"2016-10-08T11:05:45Z","body":"@claybar you can drive the LED directly from your sketch. As long as you drive the LED from the setup handler, the loop handler and/or inside an `isConfigured()`/`isConnected()` if block, there won't be any conflict as these part of the code won't be called when Homie will take control of the LED.\r\n\r\n[I updated the docs](https://homie-esp8266.readme.io/docs/built-in-led). Is it okay?"}}
{"actor":{"display_login":"marvinroger"}}