Closed UberSlackr closed 6 years ago
Confirmed. I noticed this too in 0.3.3 and in version 0.3.5 Alexa will not discover the new device (node)
Alexa can't interact with version 0.3.5. I put back version 0.3.2 - and normal work is restored.
This has been fixed in version 0.3.6. It was a typo mistake.
Still not working in 0.3.6 I even deleted the nodes and reinstalled them. Alexa does not discover them.
Can you update to 0.3.7 and check whether you'd see a yellow discovery status when you ask Alexa to do so?
Getting
Even after Alexa discovered the device.
Also note, that if command "Alexa turn on Ceiling Light" is give, it will shows "on" but about 30-60 seconds later it goes back to "discovery."
Nor does it switch back to the previous used "online" status after discovery is complete.
That is fine; expected behavior. Alexa actually perform multiple discovery requests now and then on her own. That was the reason I didn't want to show 'discovery' status in the previous versions. It's just confusing.
Rather it didn't show "discovery" -- as it screws up a lot of my dashboard flow that check for the current status output of the Alexa-Local node.
On version 0.3.7 I installed 2 nodes at the same time and hit Deploy. Both said Connected afterwards. I then asked Alexa to discover devices and one of the nodes did turn yellow displaying Discovery, the other node remained green and said Connected. Alexa did not discover any new nodes. I also tried to install just one node which did not get discovered either. Thus we are back to square one.
More clues... I uninstalled 0.3.7 and deleted the nodes, went back to 0.3.2 and restarted node-red. Amazing but now 0.3.2 nodes are also not discovered by Alexa. So I went to 0.3.1 and verified in Manage Palette that 0.3.1 is truly installed. Still Alexa will not discover the node. Everything worked fine until 0.3.6 Here are the versions of things running if that helps: 29 Nov 14:20:51 - [info] Node-RED version: v0.17.5 29 Nov 14:20:51 - [info] Node.js version: v8.9.1 29 Nov 14:20:51 - [info] Windows_NT 10.0.16299 x64 LE 29 Nov 14:20:52 - [info] Loading palette nodes 29 Nov 14:20:53 - [info] Dashboard version 2.6.2 started at /ui
I just installed for the first time and Alexa does not discover any devices created. I don't even know how to go about beginning to troubleshoot this issue.
@swilson86 it looks like some other problem with your device. I can't tell what's wrong either. @idumzaes can you take a look at the log from NodeRED? Please google for instructions.
Thanks. I am suspecting something is not right in Node.js or npm as I upgraded them in the middle of testing. Too many variables now. I am also suspicious of the correct location for the folder named node-modules, and something about "global" mode. This has always been a mystery in Windows 10. Will investigate further on a raspberry pi and other Windows computer. Anxious to see what happens with idumzaes too.
I added multiple alexa-local nodes and named them. Alexa is still unable to find them. I ran the node-red-log command and saw nothing to do with Alexa-Local. I even attached the nodes to a debug node and it doesn't display anything. I am unable to find any other logs for node-red. All my other nodes and flows start up normally without any issues.
what is the status shown under alexa node?
Normally shows as online. Just checked now and shows Discovery. Alexa is still not discovering devices. Image attached.
That looks normal. I've updated to version 0.3.8 with tons of debug logging. Can you try that and dump your logs here.
Updated to latest version, deleted previous Alexa nodes and created new ones. Same issue. Unable to discover devices, not much about it in Node-Red logs and nothing in debug tab. Bummer. :/
I'm still trying to get it to work and nothing. I've attached the complete message from debug tab output for both nodes I created.
please give me the log from nodered console itself, not debug log shown in the editor
On Dec 2, 2017 10:44 AM, "idumzaes" notifications@github.com wrote:
I'm still trying to get it to work and nothing. I've attached the complete message from debug tab output for both nodes I created. [image: screen shot 2017-12-01 at 10 41 48 pm] https://user-images.githubusercontent.com/25732005/33511452-1a46fafa-d6e9-11e7-9c97-bd95c35aac23.png [image: screen shot 2017-12-01 at 10 41 38 pm] https://user-images.githubusercontent.com/25732005/33511454-1ed07952-d6e9-11e7-855c-571bf826bdea.png
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/originallyus/node-red-contrib-alexa-local/issues/33#issuecomment-348665402, or mute the thread https://github.com/notifications/unsubscribe-auth/AAu1WJ92CKJsKa7S-oeXoi61OwEpNoKdks5s8MeCgaJpZM4QtvvV .
pi@bpi-iot-ros-ai:~$ node-red-start
Start Node-RED
Once Node-RED has started, point a browser at http://10.0.1.46:1880 On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED Use node-red-start to start Node-RED again Use node-red-log to view the recent log output Use sudo systemctl enable nodered.service to autostart Node-RED at every boot Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as a systemd service. Started Node-RED graphical event wiring tool.. 1 Dec 22:01:45 - [info] Welcome to Node-RED
1 Dec 22:01:45 - [info] Node-RED version: v0.17.5 1 Dec 22:01:45 - [info] Node.js version: v6.12.0 1 Dec 22:01:45 - [info] Linux 3.10.101-pine64 arm LE 1 Dec 22:01:46 - [info] Loading palette nodes WARNING The program 'node' uses the Apple Bonjour compatibility layer of Avahi. WARNING The program 'node' uses the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node WARNING The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node WARNING The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister 1 Dec 22:01:50 - [info] Dashboard version 2.6.2 started at /ui 1 Dec 22:01:50 - [info] Settings file : /home/pi/.node-red/settings.js 1 Dec 22:01:50 - [info] User directory : /home/pi/.node-red 1 Dec 22:01:50 - [info] Flows file : /home/pi/.node-red/flows_bpi-iot-ros-ai.json 1 Dec 22:01:50 - [info] Server now running at http://127.0.0.1:1881/ 1 Dec 22:01:50 - [info] Starting flows 1 Dec 22:01:51 - [info] Started flows 1 Dec 22:01:51 - [info] [mqtt-broker:5e587bfc.d6cc74] Connected to broker: mqtt://localhost:1883 1 Dec 22:01:51 - [info] [mqtt-broker:d3606e5.fa40a9] Connected to broker: mqtt://localhost:1883 1 Dec 22:02:56 - [info] Stopping modified nodes AlexaLocalNode closing done... 1 Dec 22:02:56 - [info] Stopped modified nodes 1 Dec 22:02:56 - [info] Starting modified nodes 1 Dec 22:02:56 - [info] Started modified nodes 1 Dec 22:03:33 - [info] Stopping modified nodes 1 Dec 22:03:33 - [info] Stopped modified nodes 1 Dec 22:03:33 - [info] Starting modified nodes 1 Dec 22:03:33 - [info] Started modified nodes 1 Dec 22:05:52 - [info] Stopping modified nodes 1 Dec 22:05:52 - [info] Stopped modified nodes 1 Dec 22:05:52 - [info] Starting modified nodes 1 Dec 22:05:52 - [info] Started modified nodes 1 Dec 22:06:31 - [info] Stopping modified nodes 1 Dec 22:06:31 - [info] Stopped modified nodes 1 Dec 22:06:31 - [info] Starting modified nodes 1 Dec 22:06:31 - [info] Started modified nodes 1 Dec 22:07:21 - [info] Stopping modified nodes 1 Dec 22:07:21 - [info] Stopped modified nodes 1 Dec 22:07:21 - [info] Starting modified nodes 1 Dec 22:07:21 - [info] Started modified nodes 1 Dec 22:08:22 - [info] Stopping modified nodes 1 Dec 22:08:22 - [info] Stopped modified nodes 1 Dec 22:08:22 - [info] Starting modified nodes 1 Dec 22:08:22 - [info] Started modified nodes 1 Dec 22:22:47 - [info] Stopping modified nodes 1 Dec 22:22:47 - [info] Stopped modified nodes 1 Dec 22:22:47 - [info] Starting modified nodes 1 Dec 22:22:47 - [info] Started modified nodes 1 Dec 22:40:44 - [info] Stopping modified nodes 1 Dec 22:40:44 - [info] Stopped modified nodes 1 Dec 22:40:44 - [info] Starting modified nodes 1 Dec 22:40:44 - [info] Started modified nodes 1 Dec 22:40:58 - [info] Stopping modified nodes 1 Dec 22:40:58 - [info] Stopped modified nodes 1 Dec 22:40:58 - [info] Starting modified nodes 1 Dec 22:40:58 - [info] Started modified nodes
I installed 0.3.8 on a second clean Windows 10 computer after installing the latest stable NodeJS, npm, git, node-red, and beta node-red-dashboard. I then setup two nodes and both were detected by Alexa and fully functional. I will investigate my main computer running identical software which does not detect them.
Here is the output from the main computer:
C:\Users\Scott.node-red>npm outdated Package Current Wanted Latest Location node-red-dashboard 2.6.3-beta git git node-red-project
C:\Users\Scott.node-red>node-red 2 Dec 00:59:38 - [info]
2 Dec 00:59:38 - [info] Node-RED version: v0.17.5 2 Dec 00:59:38 - [info] Node.js version: v8.9.1 2 Dec 00:59:38 - [info] Windows_NT 10.0.16299 x64 LE 2 Dec 00:59:39 - [info] Loading palette nodes 2 Dec 00:59:40 - [info] Dashboard version 2.6.3-beta started at /ui 2 Dec 00:59:40 - [warn] ------------------------------------------------------ 2 Dec 00:59:40 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node 2 Dec 00:59:40 - [warn] [tail] Not currently supported on Windows. 2 Dec 00:59:40 - [warn] ------------------------------------------------------ 2 Dec 00:59:40 - [info] Settings file : \Users\Scott.node-red\settings.js 2 Dec 00:59:40 - [info] User directory : \Users\Scott.node-red 2 Dec 00:59:40 - [info] Flows file : \Users\Scott.node-red\flows_Asus2016.json 2 Dec 00:59:40 - [info] Server now running at http://127.0.0.1:1880/ 2 Dec 00:59:40 - [info] Starting flows 2 Dec 00:59:40 - [info] Started flows 2 Dec 00:59:40 - [info] [mqtt-broker:8e9ad944.c14328] Connected to broker: NodeRed@mqtt://192.168.0.40:1883 2 Dec 01:05:29 - [info] Stopping modified flows AlexaLocalNode closing done... 2 Dec 01:05:29 - [info] Stopped modified flows 2 Dec 01:05:29 - [info] Starting modified flows 2 Dec 01:05:29 - [info] Started modified flows 2 Dec 01:06:24 - [info] Stopping modified flows 2 Dec 01:06:24 - [info] Stopped modified flows 2 Dec 01:06:24 - [info] Starting modified flows 2 Dec 01:06:24 - [info] Started modified flows 8b8d625483bd4 Floor fan GET /upnp/amazon-ha-bridge/setup.xml ::ffff:192.168.0.41 Sending setup.xml to ::ffff:192.168.0.41 8b8d625483bd4 Floor fan GET /upnp/amazon-ha-bridge/setup.xml ::ffff:192.168.0.41 Sending setup.xml to ::ffff:192.168.0.41 8b8d625483bd4 Floor fan GET /upnp/amazon-ha-bridge/setup.xml ::ffff:192.168.0.41 Sending setup.xml to ::ffff:192.168.0.41 8b8d625483bd4 Floor fan GET /upnp/amazon-ha-bridge/setup.xml ::ffff:192.168.0.41 Sending setup.xml to ::ffff:192.168.0.41 8b8d625483bd4 Floor fan GET /upnp/amazon-ha-bridge/setup.xml ::ffff:192.168.0.41 Sending setup.xml to ::ffff:192.168.0.41 8b8d625483bd4 Floor fan GET /upnp/amazon-ha-bridge/setup.xml ::ffff:192.168.0.41 Sending setup.xml to ::ffff:192.168.0.41 8b8d625483bd4 Floor fan GET /upnp/amazon-ha-bridge/setup.xml ::ffff:192.168.0.41 Sending setup.xml to ::ffff:192.168.0.41 8b8d625483bd4 Floor fan GET /upnp/amazon-ha-bridge/setup.xml ::ffff:192.168.0.41 Sending setup.xml to ::ffff:192.168.0.41
The main computer as shown above does not detect the node. I now have 2 stable platforms to help you resolve the problem. The clean Windows computer works okay, and the main computer with a lot of node red nodes does not.
If it helps, I’m running BananaPi Raspbian on a Pine64 board. I believe I’m having this issue because of the install directory location as I was having issues with two other packages I installed and I ended up purging altogether. I’m going to remove all Node-Red-Contrib-Alexa-Local packages and add them back later today to see if that fixes the issue. I’ll post the results when I get a change later tonight.
I deleted all related packages and directories and reinstalled it through the Pallete Settings. Added the nodes again and tried discovering devices again without success. I'm not currently home and am working on it through my VPN, which is why I think I'm not having much success right now. However, I did get more information from Node-Red logs after reinstalling... please find it below... I'll try again tonight when I get home and I'll post a new log.
2 Dec 16:05:25 - [info] Server now running at http://127.0.0.1:1881/ 2 Dec 16:05:25 - [info] Starting flows 2 Dec 16:05:26 - [info] Started flows 2 Dec 16:05:26 - [info] [mqtt-broker:5e587bfc.d6cc74] Connected to broker: mqtt://localhost:1883 2 Dec 16:05:26 - [info] [mqtt-broker:d3606e5.fa40a9] Connected to broker: mqtt://localhost:1883 2 Dec 16:06:02 - [info] Installing module: node-red-contrib-alexa-local, version: 0.3.8 2 Dec 16:06:14 - [info] Installed module: node-red-contrib-alexa-local 2 Dec 16:06:14 - [info] Added node types: 2 Dec 16:06:14 - [info] - node-red-contrib-alexa-local:alexa-local 2 Dec 16:08:57 - [info] Stopping modified nodes 2 Dec 16:08:57 - [info] Stopped modified nodes 2 Dec 16:08:57 - [info] Starting modified nodes 2 Dec 16:08:57 - [info] Started modified nodes 8c90bc3f6708e8 Ceiling Light GET /upnp/amazon-ha-bridge/setup.xml ::ffff:10.8.0.2 Sending setup.xml to ::ffff:10.8.0.2 8c90bc3f6708e8 Ceiling Light GET /upnp/amazon-ha-bridge/setup.xml ::ffff:10.8.0.2 Sending setup.xml to ::ffff:10.8.0.2 8c90bc3f6708e8 Ceiling Light GET /upnp/amazon-ha-bridge/setup.xml ::ffff:10.8.0.2 Sending setup.xml to ::ffff:10.8.0.2 8c90bc3f6708e8 Ceiling Light GET /upnp/amazon-ha-bridge/setup.xml ::ffff:10.8.0.2 Sending setup.xml to ::ffff:10.8.0.2 8c90bc3f6708e8 Ceiling Light GET /upnp/amazon-ha-bridge/setup.xml ::ffff:10.8.0.2 Sending setup.xml to ::ffff:10.8.0.2 8c90bc3f6708e8 Ceiling Light GET /upnp/amazon-ha-bridge/setup.xml ::ffff:10.8.0.2 Sending setup.xml to ::ffff:10.8.0.2 8c90bc3f6708e8 Ceiling Light GET /upnp/amazon-ha-bridge/setup.xml ::ffff:10.8.0.2 Sending setup.xml to ::ffff:10.8.0.2 8c90bc3f6708e8 Ceiling Light GET /upnp/amazon-ha-bridge/setup.xml ::ffff:10.8.0.2 Sending setup.xml to ::ffff:10.8.0.2
I've been having the same problem, where it looks like setup.xml
is being sent but the Echo does not discover anything. My logs look similar to those directly above this message.
In searching around for other projects with similar problems, I see that Sonoff-Tasmota
had a similar problem and (I've not tested) may have fixed it by with a case-sensitivity issue in the upnp response. Sonoff-Tasmota Issue #854. Perhaps this is a lead to solve the problem for this project.
[EDIT: Scratch that idea, looks like already using lowercase basic
]
@stephenhouser noted on 'basic'. @stephenhouser @idumzaes which version of Echo are you having problem with? I heard people are having issues with Echo Plus or Echo Pro. I don't have those models to verify this myself.
It does look like Echo is not happy with something inside /setup.xml response. There is no way to troubleshoot this, it's a guess game. Anyway, I have made a small change in the latest version, please try again.
I’m using the latest fire stick with Alexa. I updated to 0.3.10, deleted and recreate the nodes and still cannot be discovered. . However, I’m no longer getting information about it in the logs.
I don't know whether Alexa on FireStick has discovery capability. Does it actually work with other smart home hardware?
Yeah it does.
like?
On Dec 5, 2017 11:06 AM, "idumzaes" notifications@github.com wrote:
Yeah it does.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/originallyus/node-red-contrib-alexa-local/issues/33#issuecomment-349189167, or mute the thread https://github.com/notifications/unsubscribe-auth/AAu1WDZQs3dv3VPQUDc2blX61VyUF1muks5s9MEwgaJpZM4QtvvV .
Nest and wink hub
I'm getting information from google that FireStick does not support discovery (locally). It can only work with cloud-based devices or works with Wemo/Hue via another Echo.
So please, first thing first, make sure Fire Stick has the capability to discovery a Philips Hue bridge LOCALLY before using this node. Otherwise, get a real Echo.
Ok, as I can see in my case - discovery is ok, it just puts some local ip address instead of correct one.
Correct request/responce: HTTP/1.1 200 OK NT: urn:schemas-upnp-org:device:basic:1 SERVER: node.js/0.10.28 UPnP/1.1 ST: urn:schemas-upnp-org:device:basic:1 USN: uuid:Socket-1_0-221438K0100073::urn:Belkin:device: LOCATION: http://172.16.0.2:40003/upnp/amazon-ha-bridge/setup.xml HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=1800 EXT: DATE: Tue, 05 Dec 2017 05:22:01 GMT**
Incorrect (192.168.251.1 is one of the local addresses) HTTP/1.1 200 OK NT: urn:schemas-upnp-org:device:basic:1 SERVER: node.js/0.10.28 UPnP/1.1 ST: urn:schemas-upnp-org:device:basic:1 USN: uuid:Socket-1_0-221438K0100073::urn:Belkin:device: LOCATION: http://192.168.251.1:39095/upnp/amazon-ha-bridge/setup.xml HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=1800 EXT: DATE: Tue, 05 Dec 2017 05:22:01 GMT**
I have had a similar issue to that described in this thread. For me, alexa-local functionality stopped working a week ago, and I have been following this thread since. I have since realised that functionality stopped working for me after I replaced my (only) Echo Dot (latest gen), with an Echo (latest gen, not plus). I have plugged back in my echo dot, and functionality is working again. I am not sure if this is due to a conflict with the Echo, or if that pairing is somehow tied to the original device. As soon as I switch off the echo dot, functionality immediately stops from my other echo devices.
that is the behavior Echo is designed to work. when you perform a device discovery, the Echo that discovers that device will remember its configurations. when you switch to a new Echo, it wont know how to control those devices, you are supposed to perform a device discovery again.
This is how Echo works with any local devices. Cloud devices do not use this behavior.
On Dec 6, 2017 7:26 PM, "starknetwork" notifications@github.com wrote:
I have had a similar issue to that described in this thread. For me, alexa-local functionality stopped working a week ago, and I have been following this thread since. I have since realised that functionality stopped working for me after I replaced my (only) Echo Dot (latest gen), with an Echo (latest gen, not plus). I have plugged back in my echo dot, and functionality is working again. I am not sure if this is due to a conflict with the Echo, or if that pairing is somehow tied to the original device. As soon as I switch off the echo dot, functionality immediately stops from my other echo devices.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/originallyus/node-red-contrib-alexa-local/issues/33#issuecomment-349624643, or mute the thread https://github.com/notifications/unsubscribe-auth/AAu1WOxhu7F6VE8bBW54B4cSrmVfmhoYks5s9of9gaJpZM4QtvvV .
Just to clarify, I did attempt (multiple times) to re-discover the devices but it did not find them without the echo dot connected. I also created new flows from scratch in Node-red and it also did not discover them. Finally today i reconnected the echo dot, and it discovered all the new devices, as well as the originals, albeit, the originals were discovered as duplicates so I had to disable the original non working ones.
Further to this, I have just de-registered the echo dot, which has removed all the alexa-local devices. I have just done a discovery, and it does not find any of the alexa-local devices.
I will test the latest version this evening. Did you intend to close this issue? It appears to still be open and in testing.
My Echo is 2nd-gen Computer is Raspberry Pi 3, though I have tested from an Ubuntu Linux box as well.
[EDIT]: Tested, still not discovering devices. In the log it seems to be reporting IPv6 address now. Trying to get wireshark working to capture, but on WPA2 that's not "easy".
This issue is not resolved for my 2nd-gen Echo.
I have given up on this software. It is not stable at this point.
This issue is present in several other open source projects. Amazon appears to have changed something with their interaction with old hue bridges that has broken a lot of folks' systems. There appears to be no solution yet, anywhere I could find, for anyone.
Thus, it's not really the "stability" question for me, but the issue-closing without comment when it still exists. I'm grateful for the code and openness of the development and really do hope to re-adopt when it works for my devices.
In the meantime I have changed to node-red-alexa-home-skill. I don't really like it though, as I have to create an account on their site and they (he) do not really have much documentation on what he might do with your information or how "secure" things there are.
Hi, I had the same issue. My solution was to buy a dot. Together with the dot my echo found the devices. Good solution for amazon.
I've tried the latest version (I believe it is 0.3.15) and it runs smoothly on Windows, Mac, Rpi. I only wasn't able to get it running in Docker container.
After recent update of alexa-local node, Alexa is no longer able to discover new device. Also any existing discovered device no longer work.
Alexa says they are "offline"Amazon Alexa app shows them as "offline."I have mqtt broker running on same machine, no issues publishing to it from external device on the same network. `