Aircoookie / Espalexa

Alexa voice control for ESP8266/ESP32 (including brightness and color!)
MIT License
548 stars 137 forks source link

A little unreliable #133

Open DrJaymz opened 4 years ago

DrJaymz commented 4 years ago

I have made an aquarium light using this and I have set up routines to control it but it fails about 1/4 of the time. If I ask alexa to turn fish on, she says its not responding I ask again and she turns it on. It suggests too much going on in my main loop, but there isn't really anything except handle.

I thought maybe the wireless may be sleeping but its all pretty basic I am not trying to do anything clever.

DrJaymz commented 4 years ago

I should add that my code is 80% same as the colour demo. I have seen a few threads and mention of a fix but all the threads just stop without a real conclusion.

kensn commented 4 years ago

Not a solution, but maybe a work around for now. Could you create 2 routines that could trigger the turning on and off of the lights twice just to see if that gets them on? I know how important aquarium lights are.

Ken

DrJaymz commented 4 years ago

I wondered if maybe its because the echo dot is on another wifi access point, i.e. 5ghz. They are all same network.

On Sat, 10 Oct 2020, 15:34 kensn, notifications@github.com wrote:

Not a solution, but maybe a work around for now. Could you create 2 routines that could trigger the turning on and off of the lights twice just to see if that gets them on? I know how important aquarium lights are.

Ken

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Aircoookie/Espalexa/issues/133#issuecomment-706558819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDQBPEPFQG4GQMTS36ZBTLSKBWGHANCNFSM4R2XYKPQ .

kensn commented 4 years ago

I would not think so. My Echo is on 5ghz also, and my ESP's respond. The lights I have on DIYHUE are usually always on, so I have not experienced your issue.

Ken

DrJaymz commented 4 years ago

An update to Alexa has made this even less reliable. Pretty much doesn't work now. Now if it doesn't seem to respond for a bit she now doesn't respond to the name 'fish' at all. So the command turn fish on now responds with sorry i couldn't find a device or group named fish. It stays dead until you use the app. Then most of the time it says its unresponsive. I think people not detecting the device is the same issue. I expect it's not responding to udp packets either correctly or quick enough.