kakopappa / arduino-esp8266-alexa-wemo-switch

Amazon Alexa + WeMos switch made with Arduino D1 Mini
https://sinric.pro
MIT License
281 stars 249 forks source link

Alexa app can't discover my Alexa Dot (2nd Gen) device #33

Open GaryLittlemore opened 6 years ago

GaryLittlemore commented 6 years ago

I've uploaded the .ino file to the Wemos board. I can see it connected to my WiFi, and I can connect to the IP address it's connected too but my Alexa app isn't finding the device. Below is my code, does anything look wrong?

https://pastebin.com/d2BQVjYu

kakopappa commented 6 years ago

This project does not support Alexa app. If you want to use app, try my other project https://sinric.com

GaryLittlemore commented 6 years ago

Thanks, watching this James Bruton YouTube video he seems to think it does or am I missing something?

https://youtu.be/wMpWQ4znTqQ

sabhay1996 commented 5 years ago

This project does not support Alexa app. If you want to use app, try my other project https://sinric.com

Project is working for me, but problem is every time nodemcu restarts, alexa is not able to recognise the device giving the error, unable to respond. After pushing the RST Button, device is back and recognisable.

samazw commented 5 years ago

Do you habe GPIO-9 in use? This one must not be used. Also consider a pullup resistor on reset. Just 4 + 5 work stable.

Best regards Sascha

Am 15.12.2018 um 21:32 schrieb sabhay1996 notifications@github.com<mailto:notifications@github.com>:

This project does not support Alexa app. If you want to use app, try my other project https://sinric.com

Project is working for me, but problem is every time nodemcu restarts, alexa is not able to recognise the device giving the error, unable to respond. After pushing the RST Button, device is back and recognisable.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/kakopappa/arduino-esp8266-alexa-wemo-switch/issues/33#issuecomment-447595943, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKwM-2VPdW5Gf9wGFi9ygm2QG2cqIP2tks5u5VxQgaJpZM4THhwT.

sabhay1996 commented 5 years ago

Do you habe GPIO-9 in use? This one must not be used. Also consider a pullup resistor on reset. Just 4 + 5 work stable. Best regards Sascha Am 15.12.2018 um 21:32 schrieb sabhay1996 notifications@github.com<mailto:notifications@github.com>: This project does not support Alexa app. If you want to use app, try my other project https://sinric.com Project is working for me, but problem is every time nodemcu restarts, alexa is not able to recognise the device giving the error, unable to respond. After pushing the RST Button, device is back and recognisable. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#33 (comment)>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKwM-2VPdW5Gf9wGFi9ygm2QG2cqIP2tks5u5VxQgaJpZM4THhwT.

I am still using 5 as it is pre defined in the project.

samazw commented 5 years ago

Which Module do you use (esp - sure... which concrete model?) any special circuit? Best regards Sascha

Am 16.12.2018 um 06:30 schrieb sabhay1996 notifications@github.com<mailto:notifications@github.com>:

Do you habe GPIO-9 in use? This one must not be used. Also consider a pullup resistor on reset. Just 4 + 5 work stable. Best regards Sascha Am 15.12.2018 um 21:32 schrieb sabhay1996 notifications@github.com<mailto:notifications@github.commailto:notifications@github.com>: This project does not support Alexa app. If you want to use app, try my other project https://sinric.com Project is working for me, but problem is every time nodemcu restarts, alexa is not able to recognise the device giving the error, unable to respond. After pushing the RST Button, device is back and recognisable. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#33 (comment)https://github.com/kakopappa/arduino-esp8266-alexa-wemo-switch/issues/33#issuecomment-447595943>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKwM-2VPdW5Gf9wGFi9ygm2QG2cqIP2tks5u5VxQgaJpZM4THhwT.

I am still using 5 as it is pre defined in the project.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/kakopappa/arduino-esp8266-alexa-wemo-switch/issues/33#issuecomment-447619018, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKwM-yaN6b97Q-U5P-aRKMnSwxn-u7cHks5u5dp5gaJpZM4THhwT.

sabhay1996 commented 5 years ago

Which Module do you use (esp - sure... which concrete model?) any special circuit? Best regards Sascha Am 16.12.2018 um 06:30 schrieb sabhay1996 notifications@github.com<mailto:notifications@github.com>: Do you habe GPIO-9 in use? This one must not be used. Also consider a pullup resistor on reset. Just 4 + 5 work stable. Best regards Sascha Am 15.12.2018 um 21:32 schrieb sabhay1996 notifications@github.com<mailto:notifications@github.commailto:notifications@github.com>: This project does not support Alexa app. If you want to use app, try my other project https://sinric.com Project is working for me, but problem is every time nodemcu restarts, alexa is not able to recognise the device giving the error, unable to respond. After pushing the RST Button, device is back and recognisable. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#33 (comment)<#33 (comment)>>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKwM-2VPdW5Gf9wGFi9ygm2QG2cqIP2tks5u5VxQgaJpZM4THhwT. I am still using 5 as it is pre defined in the project. — You are receiving this because you commented. Reply to this email directly, view it on GitHub<#33 (comment)>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKwM-yaN6b97Q-U5P-aRKMnSwxn-u7cHks5u5dp5gaJpZM4THhwT.

I am using nodemcu lolin v3. Flash Size: 4M (1M SPIFFS) IwIP: 2v Higher Bandwidth Upload Speed: 115200 Board: NodeMCU 1.0 VTable: Flash

samazw commented 5 years ago

Ah ok. Lolin v3 often comes up with reset issues and I was able to reproduce your issue. So GPIO0 should be pulled up to 3.3V using a 10k resistor AFTER being programmed. Keep in mind that re-programming using USB is only possible when removing this pullup resistor. So a jumper makes sense here. Best regards Sascha

Am 16.12.2018 um 12:08 schrieb sabhay1996 notifications@github.com:

lolin v3

sabhay1996 commented 5 years ago

Please correct me if did something wrong, I tried using 2 jumper and 10k between them, from gpio 0/D3 to 3.3v. I have configured the project with gpio 4/D2 and using alternative 3.3V and GND for the relay. But still I need to press the reset button.

samazw commented 5 years ago

Please Check if there is a soldered resistor on your board. If so either remove it or try an 3k3 instead of the 10k... good luck!

Am 16.12.2018 um 16:09 schrieb sabhay1996 notifications@github.com<mailto:notifications@github.com>:

Please correct me if did something wrong, I tried using 2 jumper and 10k between them, from gpio 0/D3 to 3.3v.n I have configured the project with gpio 4/D2 and using alternative 3.3V and GND for the relay. But still I need to press the reset button.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/kakopappa/arduino-esp8266-alexa-wemo-switch/issues/33#issuecomment-447650323, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKwM-w1LXzDbsfCftTYi0wui5evBEe43ks5u5mILgaJpZM4THhwT.

sabhay1996 commented 5 years ago

Thanks buddy for promptly replying to help me. Still no success, after uploading the sketch, it connects to the wifi, when I reboot, it doesn't connect I need to manually press the reset switch. I tried 3K3 resistance from GPIO0 to 3.3V I tried 10K resistance from GPIO0 to 3.3V

GPIO5 to GND as well. Tried same with another boards as well no success. Maybe I am doing something please help?