vintlabs / fauxmoESP

Add voice control of your ESP32 and ESP8266 devices using Amazon Alexa
MIT License
383 stars 69 forks source link

ESP32 and ESP8266 no longer working with my Dot v2 #111

Open pvint opened 4 years ago

pvint commented 4 years ago

Original report by James Arnott (Bitbucket: [James Arnott](https://bitbucket.org/James Arnott), ).


My previously working ESP8266 strip light controller which uses the fauxmoESP library no longer works, I have since tried using my ESP32 with the demo that previously worked and that also no longer works. I assume this would most likely be an update that my dot has had which made it no longer detect my boards as devices, I’m not sure if everyone is having this issue or just me but I think if it is an update to alexa, this library urgently needs an update to be functional again, thanks for reading this and please reply if you are having the same problem.

pvint commented 4 years ago

Original comment by Carlos Yz (Bitbucket: [Carlos Yamazaki](https://bitbucket.org/Carlos Yamazaki), ).


My Dot 1 device stop being detected until including the new lines (compiled in v 3.1.1):

// This has to be done before the call to enable()
fauxmo.createServer(true); // not needed, this is the default value
fauxmo.setPort(80); // This is required for gen3 devices

And remember to set IwIP variant to v1.4 Higher Bandwidth too (mine always resets)

pvint commented 4 years ago

Original comment by James Arnott (Bitbucket: [James Arnott](https://bitbucket.org/James Arnott), ).


thanks for the reply, I’ve got those lines of code already in there, where can I change the IwIP variant?

pvint commented 4 years ago

Original comment by Carlos Yz (Bitbucket: [Carlos Yamazaki](https://bitbucket.org/Carlos Yamazaki), ).


In Arduino IDE, under tools

pvint commented 4 years ago

Original comment by Cole Rabe (Bitbucket: [Cole Rabe](https://bitbucket.org/Cole Rabe), ).


I was having a huge problem getting my device to work. For me it was the amount of devices that are allowed to connect from the same ip at a time. Even the example stech would not work. I believe you are capped at 3 devices. Let me know if this helps!

pvint commented 4 years ago

Original comment by Charlie Steenhagen (Bitbucket: [Charlie Steenhagen](https://bitbucket.org/Charlie Steenhagen), ).


I have been using this library for several months, and a few weeks ago Alexa started saying “… device is not responding”. I’m assuming this was started by an update that rolled out to Alexa because my device had been running without me changing anything.

I am using an ESP32 Dev Module so I don’t have the option to set the LwIP variant within the Tools dropdown. I have ensured I’m using the newest FauxmoESP library version, and I have tried example sketches on various ESP32 modules to no avail, Alexa does not discover any devices.

I’m interested to hear if anyone has any other troubleshooting tips or library updates for me to try.

I hope this information helps!

pvint commented 4 years ago

Original comment by Chris McKeever (Bitbucket: [Chris McKeever](https://bitbucket.org/Chris McKeever), ).


This thread is old – but can anyone confirm that fauxmoESP does in fact still work? I have an device that does work, but it has been connected for over a year.

When I try to set up a new device using

I can not get Alexa to see anything. I have tried rolling down to fauxmoESP 3.1.0 (as that was what I was running) - no luck. As well as changing esp8266 down several versions.

Read many threads of similar issues but always seems to be someone that can get it to work.

pvint commented 3 years ago

I can confirm that it is working fine on ESP32 with both Gen2 and Gen3 devices. I don't have an ESP8266 close at hand to test with at the moment.

GAndrews98 commented 3 years ago

I have an ESP8266 and a Gen2 Dot and cannot get Alexa to discover the device. It was working for several months and then stopped working somewhat recently (about a month ago). I have tried multiple ESP8266 boards and none of them get discovered via Alexa.

GAndrews98 commented 3 years ago

Update: I got it working after several hours of debugging. It turns out if you use capital letters in the device name Alexa will NOT discover the device.

Maybe a check can be added to the library that can detect capital letters and automatically convert them to lowercase so this issue does not happen to anyone else.

pvint commented 3 years ago

I routinely use capital letters in my device names (Example: LED Strip). Can you duplicate this issue?

GAndrews98 commented 3 years ago

Yes I can duplicate it easily.

Any time I use the word "Blinds" for example, the device is not discovered by Alexa either through the app or with an Echo Dot, no matter how many times I try re-discovering, or resetting the ESP8266. If I change the name to "blinds" Alexa discovers the device on the first try without any issues. I have also tested other variants of capitals/lowercase with the same result.

ashishverma2614 commented 3 years ago

I routinely use capital letters in my device names (Example: LED Strip). Can you duplicate this issue?

I tried example "fauxmoEsp_Basic" from your git repository with latest library files , given device name in lower cases still not working for me.

here is all hardware and software configuration i am using

ESP32 DevkitV1 ESP32 core version 1.0.4

Arduino IDE version 1.8.13 Arduino IDE Tool Setting Board: ESP32 Dev Module Upload Speed: 921600 CPU Frequency : 80Mhz Flash Mode : QIO Flash Size: 4MB(32Mb) Partition Scheme : Default 4MB with SPIFFS(1.2MB APP/1.5MB SPIFFS) Core Debug Level : None PSRAM : Disable

using App on android as Alexa . in app unable to discover devices tried everything from many forum ,old version library, changed name of device in lower case , lwIP versions but none seems to work.