-
Notifications
You must be signed in to change notification settings - Fork 70
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 can't discover devices #166
Comments
Hey, I'm adding some fauxmo logs I've uncommented this line |
I have noticed the same thing. It was working ok until just a few days ago. It looks like the discovery process doesn't like something in the response containing the list of discoverable devices properties and IDs so doesn't proceed to the next stage of requesting information on individual devices in that list. Perhaps some update to Echo firmware now means this profile is no longer supported e.g due to Hue Hub V1 no longer supported? |
Same issue facing from last few days. Please update if any fix it. |
Facing the same issue in my Espalexa library (which FauxmoESP has borrowed some concepts from, albeit adapted for way better code quality than mine) and have not yet been able to fix it either. @kzkaram I can confirm your findings. Discovery is fine until the complete My next attempt will be to spoof every property of the JSON object for a bulb returned by an actual V2 bridge (current implementation both of Espalexa and FauxmoESP leave out quite a few properties), but I have not yet had time to test that. This is definitely a critical issue as discovery fails from Dot 3, Dot 2, Echo Plus and the app (and likely all other devices). |
@Aircoookie, can you post a log "of the JSON object for a bulb returned by an actual V2 bridge" in both ESPalexa and Fauxmoesp-discussions/issues? This could help to fix it... |
Sure thing! Adding more properties is the first thing we might want to try, although this will further limit the amount of devices that can be emulated from a single ESP due to the length of the aggregate Response to /api/key/lights/1 by Espalexa 2.5.0 (for EspalexaDeviceType::extendedcolor){
"state": {
"on": true,
"bri": 199,
"hue": 0,
"sat": 0,
"effect": "none",
"xy": [0.48, 0.42],
"ct": 500,
"alert": "none",
"colormode": "xy",
"mode": "homeautomation",
"reachable": true
},
"type": "Extended color light",
"name": "Garage",
"modelid": "LCT015",
"manufacturername": "Philips",
"productname": "E4",
"uniqueid": "fabc20bb2e01",
"swversion": "espalexa-2.5.0"
} Response to /api/key/lights/1 by V2 Hue Bridge (for genuine Hue Color & Ambiance E27 bulb V3){
"state": {
"on": false,
"bri": 42,
"hue": 5214,
"sat": 254,
"effect": "none",
"xy": [
0.5853,
0.3881
],
"ct": 153,
"alert": "none",
"colormode": "xy",
"mode": "homeautomation",
"reachable": true
},
"swupdate": {
"state": "noupdates",
"lastinstall": "2020-03-04T13:47:05"
},
"type": "Extended color light",
"name": "Dodekaeder",
"modelid": "LCT015",
"manufacturername": "Signify Netherlands B.V.",
"productname": "Hue color lamp",
"capabilities": {
"certified": true,
"control": {
"mindimlevel": 1000,
"maxlumen": 806,
"colorgamuttype": "C",
"colorgamut": [
[
0.6915,
0.3083
],
[
0.17,
0.7
],
[
0.1532,
0.0475
]
],
"ct": {
"min": 153,
"max": 500
}
},
"streaming": {
"renderer": true,
"proxy": true
}
},
"config": {
"archetype": "sultanbulb",
"function": "mixed",
"direction": "omnidirectional",
"startup": {
"mode": "safety",
"configured": true
}
},
"uniqueid": "00:17:88:01:03:7f:54:41-0b",
"swversion": "1.50.2_r30933",
"swconfigid": "772B0E5E",
"productid": "Philips-LCT015-1-A19ECLv5"
} |
@Aircoookie That is really great info - thank you! I'm just starting to dig in to this. For reference here is the {"1":{"type":"Extended color light","name":"yellow lamp","uniqueid":"2d925343b020","modelid":"LCT007","state":{"on":false,"bri":0,"xy":[0,0],"reachable": true},"capabilities":{"certified":false,"streaming":{"renderer":true,"proxy":false}},"swversion":"5.105.0.21169"}} |
@pvint Success! (at least I hope so, it is yet to be seen that this works widely, but I just had a working discovery of an Espalexa device on Dot 3) Using the following code to generate the field: uint8_t mac[6];
WiFi.macAddress(mac);
sprintf(out, "%02X:%02X:%02X:%02X:%02X:%02X:00:11-%02X", mac[0],mac[1],mac[2],mac[3],mac[4],mac[5], idx); where idx is the device number. |
Hi, thanks @Aircoookie :) I tried this and it worked very well. All my devices are working with fauxmoESP with this solution |
@Aircoookie Thanks for that info. Must admit when I saw the different unique ID structure I did wonder if that may be the culprit as it's not the first time there has been a change in acceptance based on unique ID length or in this case structure. I have tried some code with all the hex numbers generated randomly (including the xx-yy at the end) and this seemed to still work ok. Not suggesting that this is a good way to ensure a unique ID but was just wondering if something within this needs to adhere to some specific value or value sets - seems not. (tested using Dot 2 BTW) |
@Aircoookie Good stuff, many thanks!! I've made some similar changes here, and it appears to be working fine now. I've committed it to the master branch and will try to get a new release out quickly. |
Hi, glad to hear that. |
I've released version 3.3 to address this, and it should be good with that or the current master branch. Let me know, thanks! |
Bom dia. |
Bom dia. |
Boa noite ,testei a versão 3.3, sem resultado. |
fauxmo 3.3 with basic example is working fine (5 new devices detected), newest espalexa-libary 2.7.0 is also working fine!
|
Obrigado pelo comunicado. |
Boas notícias, realmente adicionado até 10 dispositivos , aceitou na minha programação. |
11 dispositivos já não consegue adicionar nada, só para ajudar as pessoas que devem estar sofrendo igual eu sofri nesses dias. |
Hi - My system stopped working a week or so ago - I have just tried updating to V3.3 and it still is not working. My Echo Dot wont find any of my devices anymore. I have even tried the example source and it woint find those coloured lamp test devices either. |
Bom dia Bg1 gmans. |
After a lot of experimentation I eventually got 3.3 to work - I had 15 devices defined, had to trim down to 10 max as suggested by cleiton2193 |
Que bom que conseguiu meu amigo B1 gmans |
So Why is there now a limit on the number of devices I can create? is it the json text length - I note there is a lot more info for each item being sent? |
Creio que não é um limite, mais o novo comprimento do texto parece que diminui a quantidade de dispositivos que podem ser descobertos. |
Novidade meu amigo. |
@pvint yes, both my phone and the ESP are on the same 2.4GHz WiFi. I've also enabled the verbosity for debugging, as I'm using a small Node.JS program that sends some SSDP requests and I can see a lot going on in the serial monitor. Still I can't have the Amazon Alexa app find the ESP on the network... |
Maybe it's time for me to get a real amazon device then... what would you recommend me? |
Tanto o echo dot 3° e 4° geração eu testei E está funcionando muito bem. |
@cleiton2193 ok, obrigado |
@rezendeneto I'd say whatever your budget tells you to get is fine. ;) |
Boa tarde. |
I've tried first time in mylife, fauxmo (latest lib on Arduino ide) and ESPalexa examples and none of them worked for me. I've tried just handle the builtin_led. all try ended up with "I couldn't find any new devices ..." refused access to: http://192.168.25.56:1901/api/lights I can access to the description.xml on both lib by browser. |
here it only works with gen4 |
then I don't know what I doing wrong... any ideas by the details or need more detail? if yes what are you need? |
Bom dia Larry. |
I'm on a 48 port Cisco gigabit router switch with cisco AP-s, all echos, phone, ESP in same VLAN. |
Os dispositivos Alexa, funciona em rede 5G, mais sabemos que as nossas placas, não funciona com redes 5G, então conecte a Alexa em rede 2.4G. |
Lembrando, só funciona na última versão da biblioteca, nas anteriores, não encontra mais dispositivos. |
so far now:
same result, no new device found. I still will go into the basement search for a soho wifi router, and will try with that as well... p.s. espalexa lib same results on this wifi with both dev (32/8266) |
I have found if I have many Alexa Dots, Echos, Shows all on the same network, I need to unplug most if not all but 1 Alexa Dot or Echo and do the discover devices. After the discovery, the devices can be plugged back in. |
Sorry guys, looks like my cisco devices was misconfigured. I'm not sure yet it's just the cisco config was bad or adding mDNS to the scketch needed as well in the setup()
Sorry again, I never thought this. Thanks |
Que bom que conseguiu meu amigo. |
Fala @cleiton2193 ! Tudo bem!? Bom ver BR`s por aqui. Sobre a biblioteca, realmente só é possível localizar os dispositivos se você tiver algum hub como o Echo Dot? Não há possibilidades de encontrar os mesmo via App da Alexa por exemplo no iOS? Estou com problemas para encontrar os mesmos via App e não tenho o hub por aqui. Estou até pensando em comprar um, mas não agora. Se souber de algo, já ajuda. Abraços a todos! |
Olá. E sobre a Alexa só encontrar os dispositivos a partir de um Echo, foi confirmado? Estou tentando somente pelo aplicativo do android e ela não encontra de jeito nenhum. |
Boa tarde.
Sim, precisa de ter algum dispositivo físico da Alexa para comunicação.
Obter o Outlook para Android<https://aka.ms/AAb9ysg>
…________________________________
From: brenocbn ***@***.***>
Sent: Wednesday, February 16, 2022 2:35:39 PM
To: vintlabs/fauxmoESP ***@***.***>
Cc: cleiton2193 ***@***.***>; Mention ***@***.***>
Subject: Re: [vintlabs/fauxmoESP] Alexa can't discover devices (#166)
Olá. E sobre a Alexa só encontrar os dispositivos a partir de um Echo, foi confirmado? Estou tentando somente pelo aplicativo do android e ela não encontra de jeito nenhum.
—
Reply to this email directly, view it on GitHub<#166 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKKH3FW74PYRUGP7HR7NOX3U3PN6XANCNFSM4ZELWH4A>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Eu tenho uma FireStick TV Lite, mas não consigo encontrar com ela também... Talvez ela não seja como os Echos |
Realmente não serve.
Obter o Outlook para Android<https://aka.ms/AAb9ysg>
…________________________________
From: brenocbn ***@***.***>
Sent: Wednesday, February 16, 2022 2:57:46 PM
To: vintlabs/fauxmoESP ***@***.***>
Cc: cleiton2193 ***@***.***>; Mention ***@***.***>
Subject: Re: [vintlabs/fauxmoESP] Alexa can't discover devices (#166)
Eu tenho uma FireStick TV Lite, mas não consigo encontrar com ela também... Talvez ela não seja como os Echos
—
Reply to this email directly, view it on GitHub<#166 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKKH3FTBHHLIRKGZC3DB66LU3PQRVANCNFSM4ZELWH4A>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
This worked for me Worked with NodeMCU V3 and V1
(1) When using gen3 devices TCP port must be 80 always. (2) Arduino Core for ESP8266 requires LwIP set to "v1.4 Higher Bandwidth". First, I tried for the NodeMCU V3 (Gen3), and set the TCP port to 80, this to my surprise (I had almost no hope left xd), it worked. |
I was using the latest version (v3.2) for a while (since February 8th, 2021) and it has been working very well so far (also, the devices continue to work with Alexa).
Today, I decided to add a new light and Alexa couldn't detect this device.
I tried using my custom code and it didn't work (it did last month). So, I tried with the example fauxmoESP_basic from the library and I had the same result: Alexa cound't find any new device.
So, I tried with the version 2.4.4 (an implementation of the Wemo Switch that I already used on the past) and it worked using the basic example: Alexa could find a "switch one" smart switch device.
So, I tried with the version 3.1.1 (from de same repository, latest before the migration for GitHub) and I had the same issue.
Apparently, Alexa can't discover devices using the Philips Hue implementation.
Also, I tried using the latest commit on master and the result was the same :(
My Echo devices:
I tried with both Echo devices and they can't find this device.
Also, I tried removing one of my working devices from the Alexa app and tried to discover this device again and Alexa couldn't detect it.
My upload configuration:
Board: Wemos D1 R1
Upload Speed: 921600
CPU Frequency: 80 MHz
Flash Size: 4MB (FS:2MB OTA:~1019KB)
Debug port: Disabled
Debug Level: None
lwIP Variant: v1.4 Higher Bandwidth
VTables: Flash
Exceptions: Legacy (new can return nullptr)
Erase Flash: Only Sketch
SSL Support: All SSL ciphers (most compatible)
OBS: Also, on the basic example, I tried to remove all devices and keep only the "yellow lamp" (as I saw in other issue #149 ) and the result was the same :/
Edit: ESP8266 Core version: 2.7.4
The text was updated successfully, but these errors were encountered: