-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Discovery of new devices does not work #53
Comments
Maybe a few more details: I have the same setup at my own place and switched from Alexa Local to Alexa Home today. Up until now discovery works fine over here. Even though I have lots more of devices (166 vs. 20). The number 20 caught my interest as I read somewhere that new hub spawn dynamically each 20 devices. Could that be a problem? And of course I did the obvious things like restarting Node Red and eventually rebooting the Raspberry. |
same proble. Also with other Alexa nodes. |
A workaround seems to be to delete the alexa home node that don't get discovered and add them again. This sometimes does not work on first try. |
I tried the 'alexa home node' . Some (realy devices) was found, but the most are not be able to control. The rst of the devices was not found. |
Hi, I have a similar problem. I have 25 devices on my node-red instance but when I request a discovery it only finds the same 3. I also have a few of these messages in node-red debugging window: ""unknown alexa node of type lights was requested: 9d49c8da649938"" |
Even with the workaround of deleting and re-adding nodes it still is unstable: Already discovered devices suddenly stop working and new devices cannot be discovered. |
I'm noticing the same issue. Things were working great until around Saturday morning. I'm guessing Amazon pushed an update overnight that broke this integration. Happy to provide any logs that could help as well. |
This might be part of the problem: Alexa Home seems to advertise on different ports (60000 - 60002 in this case).
Not sure if this is related to spawning a new hub for every 20 devices. |
Ok, here's the proof:
I guess this does not go well together with Alexa expecting Hue bridge to be available on port 80. I cannot forwand port 80 to many ports. |
When old devices do net get recognized: is there anything in the logs that there is already something listening on port xy? alexa-home starts per 25 nodes a seperate http-Hub because alexa devices ( at least till gen2 ) were not able to fetch larger responses. I gonna retest this with gen3 devices and also once again gen2 devices if that is the problem. I still do not know how other fix those problems - i just found that some other nodes are fighting the same fight :-( |
I sure hope that this isn't the issue but I just read this in Philips Hue page: "Compatible devices include: Amazon Echo Dot 3 rd Generation, Amazon Echo Plus, Amazon Echo Show 2nd generation." And I'm using gen 2 echo dot :( |
Now i am also using gen2 echo dots ... But i just noticed that the alexa web interface declares my nodes as different items now. Donot know i just the interfaces and texts changed only :( |
I'm using a gen 1, 2, and 3 Echo dot and seeing the same issue. |
Things are getting worse: Now most devices don't work and new devices do not get discovered. Here's some network traces:
Here Alexa asks for devices that don't seem to exist anymore:
This is the query to enumerate lights, the answer (not shown) seems legit, all lights seem to be included:
Here's an example of switching one of the few working lights on and off:
|
Here are today's findings:
This is really annoying... Thank you, Amazon. NOT. |
I have updated nodejs and node-red to the latest versions, and updated alexa-home to version 1.1.3 and my Echo Dot Gen 2 will not discover any new devices. I guess I'm seeing the same problem as everyone else. Is this something that will be fixed - or have Amazon stuffed it up ? |
I was quite busy the last days... IMO is that amazon deployed a change and this affects the current implementation and the node must be adapted to this change... |
@mabunixda Could assigning the Alexa devices randomly to the spawned hubs work as a workaround to overcome the device limit and hubs not running on port 80 problem? Not the best thing but eventually all devices would be discoverable:
This can of course be optimized by not assigning randomly.. The rotation could also be triggered by sending an event to the controller node. |
So Here is my Workaround/ Fix for me My System runs on IoBroker with a Node Red instance. But i could not assign Port 80 to the "Amazon Echo Hub" from the new Module. Here´s an Manual for IP Table Routing: After this I created a "Amazon Echo Hub" ,set the Hub to the Routed Port and replaced my Nodes with the new ones. That´s it . After that I started the Discover and all Devices were found again. Hope it helps some people. |
@Jibbonator How many Alexa nodes do you have in use? |
I have 12 nodes. If you want i could create more nodes and Test it tomorrow. Just say how much. |
That would be great! mabunixda stated that at least the older Echos have had problem with more than 25 devices. If it is not too much to ask it would be awesome to have something like 40 devices :-) |
@guardiande I´ve tried a few commands an all worked flawlessly. Hope it solved your question. |
@Jibbonator I don't understand your attempt. You are using a node from another developer. node-red-contrib-echo and node-red-contrib-home have nothing to do with each other? Or am I wrong? |
I hate that comments automated close issue with fixxed keywords 👎 Please retry your setups with version 1.2.0, a limitation on setting colors is still present! |
With 1.2.0 same issue - only 4 out of 15 devices are discovered. :-( |
@Tranquility76 are you using iptables setup or changed the controller port? With 1.2.0 you can setup the controller port with its controller configuration |
I never used iptables, always used the default controller port 80…
If I do the discovery I can see requests to the controller but it seems not all devices are requested when it comes to the details per device request.
From: Martin Buchleitner <[email protected]>
Sent: Wednesday, October 2, 2019 7:51 AM
To: mabunixda/node-red-contrib-alexa-home <[email protected]>
Cc: Sebastian Probst <[email protected]>; Mention <[email protected]>
Subject: Re: [mabunixda/node-red-contrib-alexa-home] Discovery of new devices does not work (#53)
@Tranquility76<https://github.com/Tranquility76> are you using iptables setup or changed the controller port?
With 1.2.0 you can setup the controller port with its controller configuration
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#53?email_source=notifications&email_token=AAYDOETMXUPO2UFQ3JIHW5TQMQZCTA5CNFSM4IUQ2OWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEADUDEI#issuecomment-537346449>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAYDOEVL43I2A3SA2RB4ZLLQMQZCTANCNFSM4IUQ2OWA>.
|
@Tranquility76 are you using gen2 or gen3 device? can you verify which device is doing the discovery? an IP should be listed in the logs ( and yes, at the moment there are massive logs :( ) |
I gave the „discover new devices“ command to a Echo Dot Gen3 and in the log I could see requests from the Echo Dot Gen3 AND two Echo Gen2 AND from my Echo Dot Gen2.
So all of my devices (Gen2 and Gen3) started the discovery.
Tried then the discvovery from my Alexa app – same result. App started discovery and all 4 Echo devices could be seen in the logs…
Von: Martin Buchleitner <[email protected]>
Gesendet: Donnerstag, 3. Oktober 2019 07:40
An: mabunixda/node-red-contrib-alexa-home <[email protected]>
Cc: Sebastian Probst <[email protected]>; Mention <[email protected]>
Betreff: Re: [mabunixda/node-red-contrib-alexa-home] Discovery of new devices does not work (#53)
@Tranquility76<https://github.com/Tranquility76> are you using gen2 or gen3 device? can you verify which device is doing the discovery? an IP should be listed in the logs ( and yes, at the moment there are massive logs :( )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#53?email_source=notifications&email_token=AAYDOEWAIKXSVXO2F5CGUCLQMWAUHA5CNFSM4IUQ2OWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHB2IQ#issuecomment-537795874>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAYDOEQTFYKWJ3WTHUNTVETQMWAUHANCNFSM4IUQ2OWA>.
|
Did another test – turned off the Gen3 Echo Dot and started discovery from the app:
All three Gen2 devices showed up in the log doing the discovery… (and did not find any new device – only the 4 already discovered)
Von: Martin Buchleitner <[email protected]>
Gesendet: Donnerstag, 3. Oktober 2019 07:40
An: mabunixda/node-red-contrib-alexa-home <[email protected]>
Cc: Sebastian Probst <[email protected]>; Mention <[email protected]>
Betreff: Re: [mabunixda/node-red-contrib-alexa-home] Discovery of new devices does not work (#53)
@Tranquility76<https://github.com/Tranquility76> are you using gen2 or gen3 device? can you verify which device is doing the discovery? an IP should be listed in the logs ( and yes, at the moment there are massive logs :( )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#53?email_source=notifications&email_token=AAYDOEWAIKXSVXO2F5CGUCLQMWAUHA5CNFSM4IUQ2OWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHB2IQ#issuecomment-537795874>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAYDOEQTFYKWJ3WTHUNTVETQMWAUHANCNFSM4IUQ2OWA>.
|
Hi
Which log file are you referring to and how to access it ?? |
Hi all,
[english translation]
|
Could someone please simplify the issue? |
Nodered runs Default in Port 1880, Alexa works with the current Firmware best, when the Port 80 ist used for Alexa. You can configure this in the nodered node.
But when using docker you must map the correct Ports of course
Am 10. Nov. 2019, 08:00, um 08:00, jaburges <[email protected]> schrieb:
…Could someone please simplify the issue?
I'm using a node-red docker, so can have docker forward the ports, but
cant figure out from the thread if Alexa is looking at 80, or is
node-red needing 80?
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#53 (comment)
|
Thanks - although 80 doesn’t work either. 1880 is the Node-red UI |
I am using this to run a local Dev Version
https://github.com/mabunixda/node-red-contrib-alexa-home/blob/709a6c0012e94287062c380ddc20aa614a850258/scripts/run.sh#L3
Because of the Udp ssdp used in Alexa you must use Host Mode for Network.
Otherwise this also does Not require a Port mapping
BlueMail for Android herunterladen
Am 10. Nov. 2019, 09:32, um 09:32, jaburges <[email protected]> schrieb:
…Thanks - although 80 doesn’t work either.
1880 is the Node-red UI
80 internal port : 80 external port?
(Or something different? No luck with any)
And in host network_mode, same issue?
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#53 (comment)
|
Even with Port 80 configured right it might still not work.
There is still this open issue that since a few month Alexa is not able to detect (all) devices with this node.
In my case only 4 out of 15 devices are discovered – all the fixes provided in the last 2 months did not solve this issue… ☹
So maybe you configuration is already right but your are hitting this discovery issue too…
Von: jaburges <[email protected]>
Gesendet: Sonntag, 10. November 2019 09:32
An: mabunixda/node-red-contrib-alexa-home <[email protected]>
Cc: Sebastian Probst <[email protected]>; Mention <[email protected]>
Betreff: Re: [mabunixda/node-red-contrib-alexa-home] Discovery of new devices does not work (#53)
Thanks - although 80 doesn’t work either.
1880 is the Node-red UI
80 internal port : 80 external port?
(Or something different? No luck with any)
And in host network_mode, same issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#53?email_source=notifications&email_token=AAYDOEWKF23P2XFJKMQFFWTQS7BIBA5CNFSM4IUQ2OWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUYFEQ#issuecomment-552174226>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAYDOES4DLJWJ5QDNY55AZTQS7BIBANCNFSM4IUQ2OWA>.
|
any definitive way to test? is this likely something that can be fixed? |
@jaburges can you post your docker run commandline and flow? alexa and node-red are in the same lan ? @Tranquility76 yeah it is hard to follow this issues if i am not able to reproduce the issue and there is no other dev available which is able to shed more light into that issue :-( I know that this is frustrating situation - also on my end as developer of this module |
Hi Martin,
I really appreciate your work and I guess it is not easy to hold the speed Amazon is changing things.
I am curious – what is https://github.com/datech/node-red-contrib-amazon-echo doing different? Because this node works…
|
@mabunixda
flow is just alexa controller tried with |
i've just tried this node and it has the same issue.
Same problem :( |
I am running https://github.com/datech/node-red-contrib-amazon-echo on a Raspi and it just works.
All(!) devices are discovered and react on commands as expected. (Although the node output is slightly different so I had to modify my flows a little bit.)
|
are your devices new (port 80) or older, and are you running node-red in a docker? |
Gen2 and Gen3 devices and as written running on a Raspi and not in docker.
Am 17.11.2019 um 10:46 schrieb jaburges <[email protected]>:
are your devices new (port 80) or older, and are you running node-red in a docker?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#53?email_source=notifications&email_token=AAYDOERG7N6S7CFH6NPSMNTQUEHHZA5CNFSM4IUQ2OWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEIH7CI#issuecomment-554729353>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAYDOEVEMQ33MBP3SJNM7EDQUEHHZANCNFSM4IUQ2OWA>.
|
switched to https://github.com/datech/node-red-contrib-amazon-echo |
closing this one - either you moved to another node or nobody posted problem updates since long time |
Describe the bug
I used to have the Alexa Local Node Red flow until it stopped working yesterday.
After some time I found this flow and understood that it seems to have to do with firmware changes on the Alexa side.
Here's my setup:
History:
Today:
I tried to follow all advices from issue 16.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Alexa should find the newly created Alexa Home node.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: