Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alexa not finding device #596

Closed
simo26246 opened this issue Jul 10, 2017 · 17 comments
Closed

Alexa not finding device #596

simo26246 opened this issue Jul 10, 2017 · 17 comments

Comments

@simo26246
Copy link

simo26246 commented Jul 10, 2017

Hi all,

I'mtotally new to this whole home automation thing, so please bear with me. I've scanned the forum and done all the suggested things to try and get it to work, but it still isn't...

I've purchased some of the sonoff basic models, and flashed them with the Tasmota firmware without issue, but now that I've done that, Alexa doesn't seem to want to discover them (and stupid me didn't check whether or not ewelink actually found them before flashing tasmota (I'm using an alexapi and don't have a genuine hue bridge - I don't know if this makes a difference?)

I wasn't able to work out how to enable the emulation when I flashed the firmware so I did this using the web interface after the fact

This is my HTTP config in the user_config.h file as flashed (which doesn't actually activate the emulation - anyone know what I should do differently to enable emulation?
// -- HTTP ----------------------------------------
#define USE_WEBSERVER // Enable web server and wifi manager (+62k code, +8k mem) - Disable by //
#define WEB_SERVER 2 // [WebServer] Web server (0 = Off, 1 = Start as User, 2 = Start as Admin)
#define WEB_PORT 80 // Web server Port for User and Admin mode
#define WEB_USERNAME "USERNAME" // Web server Admin mode user name
#define WEB_PASSWORD "PASSWORD" // [WebPassword] Web server Admin mode Password for WEB_USERNAME (empty string = Disable)
#define FRIENDLY_NAME "Sonoff" // [FriendlyName] Friendlyname up to 32 characters used by webpages and Alexa
#define USE_EMULATION // Enable Belkin WeMo and Hue Bridge emulation for Alexa (+11k code, +2k mem)
#define EMULATION EMUL_HUE // [Emulation] Select Belkin WeMo (single relay/light) or Hue Bridge emulation (multi relay/light) (EMUL_NONE, EMUL_WEMO or EMUL_HUE)

I've setup my HA instance and it finds it and it appears as a switch controllable by mqtt, but yea, I kinda want Alexa to be able to control them (cos you know, voice is so much easier than pressing a switch...).

If anyone has any idea how to do this, the help would be much appreciated.

EDIT: I suppose I should add that I'm trying to do this natively, rather than setting up a custom skill

@Courty40
Copy link

Courty40 commented Jul 10, 2017

Try setting the emulation to 'Belkin WeMo', leave the Sonoff on for 20 mins (make sure its on the same network as the Alexa) and then go to the Alexa app, 'smart home' devices and hit discover, try a few times and the device will appear. once you have the device, set it up as a group (even if its only one), Groups appear a little more robust and you can add other devices later as well
I have three devices in two groups and it world great
BTW, Alexa finds the Friendly Name from the Emulation page so make sure its unique per device

@CommodoreWhite
Copy link

On a related issue, I have electro dragon devices with two switches each. Can I give a friendly name to each so I can control each with Alexa?

@smadds
Copy link

smadds commented Jul 28, 2017

I'm also having a problem detecting. I'm using the latest 3.4 firmware and set emulation to "Hue Bridge multi devices", but Alexa doesn't see it.
Do you need to have a Dot or Echo on the network? (my Alexa is on a Fire TV box)
I also notice that the Wemo skills are not available on amazon.co.uk (which my account is linked to). Would this affect it?

@davidelang
Copy link
Collaborator

davidelang commented Jul 29, 2017 via email

@smadds
Copy link

smadds commented Aug 1, 2017

Sorry, no idea why I typed 3.4! It's 5.5, but not being detected

@simo26246
Copy link
Author

simo26246 commented Aug 1, 2017

I fixed my issue by adding a genuine Dot to my setup and saying "alexa, discover my devices" (clicking discover in the app didn't work for me). I also changed my emulation to WeMo at the suggestion of someone else. Unless you need Hue control then this might work for you.

Also, once Alexa sees them as WeMo devices, then emulated hue can expose them as Hue devices too.

@buserror
Copy link

buserror commented Oct 1, 2017

I have the same problem. a Touch with wemo emulation isn't picked up by my Echo Dot. I have other emulated wemo switches via node-red (9 of them) that work fine... I tried stopping node-red and re-trying the discovery, no luck.
Is there a way to 'debug' wemo discovery? is that mdns?

@zerog2k
Copy link

zerog2k commented Nov 13, 2017

+1 - hue emulation works for me (alexa discovers), but wemo does not. Unsure how to debug further...

@CODeRUS
Copy link

CODeRUS commented Jan 14, 2018

wemo emulation works for me only when changing WEB_PORT to some port from wemo: (49153, 49152, 49154, 49151, 49155)

@stale
Copy link

stale bot commented May 14, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Action - Issue left behind - Used by the BOT to call for attention label May 14, 2018
@buserror
Copy link

Well I tried fairly recently and it still didn't work -- I'm going to have another pop at it with a recent git later on. I also tried @CODeRUS trick and that didn't seem to work either...

@stale stale bot removed the stale Action - Issue left behind - Used by the BOT to call for attention label May 15, 2018
@buserror
Copy link

I tried again -- updated to 5.14, tried both Wemo and Hue Bridge, restarted, erased all devices in Echo page, rescan, and it doesn't find it.

Does anyone manage to get this to work? I mean, I installed Tasmota just for that feature really, and it never worked here.

@stale
Copy link

stale bot commented Jul 5, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Action - Issue left behind - Used by the BOT to call for attention label Jul 5, 2018
@buserror
Copy link

buserror commented Jul 5, 2018

Well given the level of interest in this bug, I've switched to another firmware for my devices anyway, so so do close away unfixed bugs, bot...

@stale stale bot removed the stale Action - Issue left behind - Used by the BOT to call for attention label Jul 5, 2018
@luisfpinto
Copy link

Hello,
I hope I'm not too late and this is an useful information.
You can control your tasmota devices with Alexa using the Yeti mobile app.

https://getyeti.co/posts/controlling-your-sonoff-tasmota-with-yeti

Once you installed the app and you set up all your tasmota devices with Yeti, you only need to create charms and then install the Yeti Skill. In that guide in the "What's next section" you will see how to do that.

Let me know if you have any question or issue

@ascillato
Copy link
Contributor

@buserror

The problem you are facing is explained in the wiki at: https://github.com/arendst/Sonoff-Tasmota/wiki/Theo's-Tasmota-Tips#20180523---relation-tasmota-and-esp8266arduino-core-version

the solution is at: #1639 (comment)

Sorry that all that was missed in your search.

@slayrj
Copy link

slayrj commented Dec 28, 2020

I had the same problem and found that my Access Point had a broadcast filter, so as soon as I disabled it it found the tasmotas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests