"Did you enable the "smart home skill from the Alexa app" like Alexa is saying when you do the discover, is it the Wemo skill that needs enabling, its asking for a mac address and WIFI network name. SERVER: Fauxmo, UPnP/1.0, Unspecified ST: urn:Belkin:device:** ritchierich (Michael) December 22, 2017, 12:38pm #2. It should answer as shown in the figure below. time.sleep(60) 2017-12-01 10:58:46 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000): Then clear out your WireShark log, reset your WeMo switch to factory settings, start capturing, then set up the WeMo device from scratch while capturing. Back to wemo app. Alexa Not Discovering Hue Alexa is a virtual voice assistant made by Amazon to help make people’s lives a lot easier. A first try to discover showed at least some fauxmo action again, so it responded to the echo requests. No hub or subscription required; Compact size. Specifically: It is successfully requesting the setup.xml, parsing the device, and requesting the state for the device (which looks like get_state isn't yet configured, but is getting a 200 status code). for switch code 1 it is 851983 is on and 851982 is off When I have something, I'll post here. It looks like it is appropriately responding with the same ST it is getting, and it found devices when it requested (and got a response) with ST: ssdp:all but not with ST: upnp:rootdevice. 2017-12-01 10:58:45 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' 2017-12-01 10:58:48 asyncio:1379 INFO poll took 1000.121 ms: 1 events I deleted my WEMO switch from Alexa throu the app and tried to discover it again, but Echo did not find the WEMO anymore, also the raspi was not discovered during this test. "Fauxmo response to setup request" stand in the log or? My understanding is that Zigbee is a radio waves type of communication. python3 -m venv venv logging.basicConfig(filename='/tmp/night_time.log',level=logging.DEBUG), ast = Astral() Amazon has more detailed instructions on their website if you need them. sun = ('%02d%02d' % (sunset.hour - 1, sunset.minute)), a = 1 I deleted my WEMO switch from Alexa throu the app and tried to discover it again, but Echo did not find the WEMO anymore, also the raspi was not discovered during this test. When the original echo dot is online, any of the newer echo's will control the fauxmo devices as normal (on, off), but as soon as I take the original off-line the newer gen2 ones can not find the devices anymore. I tried the discovery with my Amazon Firestick (fw 587601020) and I was able to discover and operate the devices via its Alexa interface. Try to make the names as unique as possible. ST: urn:Belkin:device:** 2017-12-01 10:58:42 fauxmo:24 DEBUG Attempting to get IP address automatically ", I think the key to takle this issue is to get fauxmo to work on echo2 with the wemo-app and asking users to activate the wemo-skill. Looks like you're using new Reddit on an old browser. 2017-12-01 10:58:46 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): But having said that, I had asked the app to forget all devices before I ran the test. CACHE-CONTROL: max-age=86400 Also, feel free to start a new issue for unrelated questions but please try not to clutter this one, which is too long already. After changeing my configuration to work with the new fauxmo, i started fauxmo successfully. print "it is still daytime" If Alexa doesn't discover your smart home device, here are some solutions to try. She's always on—just ask for information, music, news, weather, and more. Not sure if I need to do this ? It was not discovered. 2017-12-01 10:58:45 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/62.0.3202.94 Windows\r\n\r\n' My Echo Firmware Version is 595530420. It will be easier for Alexa to recognize. This will be a little tough for me to debug, as I don't have an Echo 2, and none of my echo devices are running that firmware. fauxmo -vvv 2> log-issue38-discover01.txt, (Nothing changed, run immediately after Test 1), fauxmo -vvv 2> log-issue38-discover02.txt, (Nothing changed, run immediately after Test 2). Looks like that firmware is probably an issue. I was running fauxmo 0.3.2 which was working fine so far on my raspbian. print('now %s sunset %s' % (now, sun)) @n8henrie Thanks. It worked fine earlier today, but now any time I try, the blue Echo light spins for a few seconds, and I get whatever light/group “isn’t responding”. sunset = sun['sunset'], now = ('%02d%02d' % (nowtime.hour, nowtime.minute)) Oddly enough, speaking to Alexa to turn them on or off still worked. I had two WeMo switches installed and working just fine so I purchased two more. USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:46 asyncio:1379 DEBUG poll took 10.622 ms: 1 events 2017-12-01 10:58:46 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/62.0.3202.94 Windows\r\n\r\n' Not sure whats the issue with this, but in the Serial Monitor I can see the logs which is showing that I am getting ping from Alexa to my ESP8266. 01-NLS: 58af155a-0a0b-438a-8f0a-2a6090be6b0a The Wemo and Hue devices were discovered immediately and have worked perfectly since. EXT: sudo pip install git+https://github.com/n8henrie/fauxmo.git@issue_38. I've started reading about the UPnP protocol so I can be a little more self sufficient with the diagnosis. b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' Select Hue Bridge V1 as the device type. source venv/bin/activate It seems to be important to restart the Echo from time to time, otherwise it seems to be in a very unknown state, as of not working correctly. Plug in the WeMo device. The solution is simple: 1) Disconnect power from your Philips Hue Bridge; 2) Tell Alexa to discover devices (fauxmo will be found, with the name you have given it; 3) Plug in your Philips Hue bridge. 01-NLS: d888ce95-e23d-432c-bd21-abebe7c022f1 I don't have an Echo but I own an Android phone with Alexa installed. Please tell me if I can, and how I can support here with further debug logs etc. Login to Alexa.amazon.com and click forget all devices in the settings section. [GCC 5.4.0 20160609] Alexa might seem to be unresponsive because your Echo is too far away from the router. now = ('%02d%02d' % (nowtime.hour, nowtime.minute)) I know this issue is closed, but will this version of fauxmo still work on the Echo Dot v1, or does the v1 only support polling? So, update: 2017-12-01 10:58:42 fauxmo:121 DEBUG Started fauxmo device: {'name': 'output', 'plugin': } EXT: LOCATION: http://192.168.178.2:49915/setup.xml Next, using the Alexa app platform, tap on “Discover Devices” in order that Alexa will discover all compatible Wemo devices within range. 2017-12-01 10:58:46 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' import os, os.system("/home/pi/433Utils/RPi_utils/codesend 851982") logging.info('%s WAITING time is %s and sunset -1hr is %s' % (nowtime,now,sun)) SERVER: Fauxmo, UPnP/1.0, Unspecified If someone can get me a pcap of the Echo 2 interacting with a Belkin WeMo, that would be a good start. My echo is at 10.0.4.49 and the machine running fauxmo is at 10.0.4.45 - I did a power recycle on the Echo before doing the discovery. Locking this discussion, which has gotten unwieldy. Fairly simple this will first send the off codes, then the on codes 2017-12-01 10:58:46 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000): When I looked in the device list - they were still present but indicated that they were "offline". I also tried to configure the WeMo app on IOS to find my fauxmo, but it did not like the MAC address (because of course it's not in the Belkin MAC address range). time.sleep(0.1) OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 This Node-RED node is only a slim wrapper around the marvellous wemore Wemo library written by Daniel Leong. I also have exactly the same problem with echo 2nd generation and firmware version: 592452720. Slightly quirky discovery but nothing I can’t live with. EXT: Next Install Astral - https://github.com/sffjunkie/astral. 2017-12-01 10:58:44 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): (This is only required if you like to be able to calculate Sunset and Sunrise times - which is handy for getting the Pi to schedule on/off but move automatically every day as the Sunrise/Sunset move) - I set some lights on 1 hour before sunset as it's already getting darker) - I then schedule this daily with cron, it writes to a /tmp file so I can check it. Make sure the Alexa-enabled device is in Wi-Fi range. Consider logging (see the nighttime.py example later) to the /tmp so it's easy to check that your automation is running properly) Open Alexa. I know this is about cracking it with Pi, but I mention it, because My Mum has Energenie sockets already but I am not setting a Pi up at her house, because let's face it - Mums break tech all the time, she is getting an Echo and a MiHome Hum with 3 extra sockets for Christmas (And I am already anticipating my regret!!). But I have reports form other 2nd gen echo users that fauxmoesp does not work as well. 3. 2017-12-01 10:58:46 asyncio:1379 DEBUG poll took 154.827 ms: 1 events sun = l.sun(), nowtime = datetime.now() OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 I can still control them through the WeMo app and through Alexa but if I tell Alexa to forget one, it can't rediscover it without jumping through bizarre hoops as shown above. 2017-12-01 10:58:44 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000): OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 DEBUG:root:Listening for UPnP broadcasts CACHE-CONTROL: max-age=86400 @SuoaJ -- no, it doesn't, as I've (indirectly) mentioned in the FAQ. On my Echo 1, discovery, state detection, and on / off are all working great. However , if you can solve it (Find how Alexa is scanning and respond to it) maybe it is still workable, because Alexa has to run the scan locally it can't rely on the Belkin servers to scan the local network. However recent Black Friday deals, I got the new Echo gen2, and hey guess what, the problems started as described by other users. the new Gen2 Echo's are using a different search/control for WeMo devices and so no longer compatible with fauxmo. Taking an output pin is compulsory? Press question mark to learn the rest of the keyboard shortcuts. 2017-12-01 10:58:42 fauxmo:37 DEBUG Using IP address: 192.168.178.2 I have an Echo Plus and would be willing to purchase a Belkin WeMo device to capture a pcap if somebody wants to help me through it. Hope someone has some ideas, I'd love to get this working. To confirm my theory that it was the firmware upgrade, I had the Echo forget one of the old previously working switches and re-ran discover devices. I followed the instructions on the docs ( http://fauxmo.readthedocs.io/en/latest/md/protocol_notes.html ). I've attached the log from a successful discovery, I don't know if you can spot where the change has made a difference. 2017-12-01 10:58:45 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): It's pretty cool to be able to say 'Alexa, turn my garden watering system on' and my Pi turns on the outdoor watering system. here is the output: So far they have not moved the older Echo devices forwards so they are still communicating natively instead of going via Belkin Servers. I have two Echo's and 4 switches and I essentially reset all of them (started from scratch) and now they are working - hopefully someone can figure out what the problem is to save some that hassle. import os With a new update, Amazon Echo users can tell Alexa to turn WeMo Switches and Philips Hue lights on and off. DATE: Fri, 01 Dec 2017 09:58:46 GMT EXT: MAC address. USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:45 asyncio:1379 DEBUG poll took 11.092 ms: 1 events logging.info('%s LIGHTS-ON time is %s and sunset -1hr is %s' % (nowtime,now,sun)) Then make sure the right device list is set in your ST Alexa … 2017-12-01 10:58:46 fauxmo:224 DEBUG Received data below from ('192.168.178.1', 41766): I was going to gift the old dot to my Mum, but now I'm going to keep it. All devices respond to requests from Alexa. I have an older WEMO switch (by fortune), the Echo found this already before I started with the raspi. LOCATION: http://192.168.178.2:49915/setup.xml Alexa Not Able To Discover WeMo Switch After Firmware Upgrade : amazonecho. - and then send a bespoke message back, listing a number of misdemeanours, leaving them wondering how Alexa knows all this stuff). They are now all grayed out in the list of connected devices and show "(Offline)" and forgetting one and discovering results in them being not found. 'POST /upnp/control/basicevent1 HTTP/1.1', 'BinaryState'. Every time it takes at least an hour to set up. Everything in the house is a breeze to get working. WeMo Mini features a sleek new form factor that allows you to stack two Mini Smart Plugs in the same outlet. At first i thought it might be just a small issue like fauxmo service crashed or such, so i didn't care to much, until after the holidays i started to look at. Alexa not working with your smart home camera? I tried it without them and it doesn't work. SERVER: Fauxmo, UPnP/1.0, Unspecified 2017-12-01 10:58:42 fauxmo:100 DEBUG plugin_vars: {} OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 I'm back at work tomorrow (UK public holiday today) but I'll try and find a little time to test the latest issue_38 with my echo plus (FW 595530420). Enabling the Wemo Skill in the Amazon Alexa app The first part of linking your Amazon Alexa app with Wemo is to enable the Wemo Skill in the Amazon Alexa app. ST: urn:Belkin:device:** ST: urn:Belkin:device:** from my printer), there's none from the IP of the Echo Show. Thanks a lot for all your votes! I'm using an Echo Show with FW: 597464020. Unfortunately, I saw these comments after I installed and got fauxmo running. Also, please update to the latest fauxmo version (though I don't think it will fix this issue, since I don't see Belkin in any of your Echo requests). Please make sure you've taken these steps before submitting a new issue: The text was updated successfully, but these errors were encountered: What is your Echo firmware version and what type of device is it? DATE: Fri, 01 Dec 2017 09:58:46 GMT Yes i tried the discovery multiple times and with other git repositories using the fauxmo script. 01-NLS: d6b26f06-b7e8-4713-a0ce-26fcd2e55668 CACHE-CONTROL: max-age=86400 01-NLS: 91996ff0-71a8-42a4-aae4-38c8115207f1 Really looking forward to get fauxmo running... @BetMadZac73 Hi. Can you clarify what you're seeing / what "isn't working"? plus (some patience with me, because I work these things out, but I'm not an expert this was my first python coding). 2017-12-01 10:58:46 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): 2017-12-01 10:58:48 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/62.0.3202.94 Windows\r\n\r\n' I had two WeMo switches installed and working just fine so I purchased two more. @n8henrie -- No, I intended the two colons to be at the start of the string. USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:45 asyncio:1379 DEBUG poll took 31.662 ms: 1 events An example would be using “Two” instead of 2. 2017-12-01 10:58:42 asyncio:1067 INFO ]> is serving SERVER: Fauxmo, UPnP/1.0, Unspecified So the fauxmo Raspi didn't know how to reach the Echo (both within the same network). EXT: I had to change "urn:Belkin:device:**" to "upnp:rootdevice" in the answer for the search query and now it works :). It is written in C# but should be quite readable. I'll try and do a test with the Echo Plus offline as soon as I can. Will any WeMo device do? EXT: 2017-12-01 10:58:45 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' 2017-12-01 10:58:45 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' Try to use unique names with your Wemo devices. DATE: Fri, 01 Dec 2017 09:58:46 GMT The 1st time it found 12 of my 13 devices but I could do nothing to get the 13th to appear. LOCATION: http://192.168.178.2:49915/setup.xml In the meantime, users may consider HomeAssistant and its emulated_hue. Devices now discovered and working with the code change I mentioned previously. SERVER: Fauxmo, UPnP/1.0, Unspecified Successfully merging a pull request may close this issue. The Echo has Wemo support built in so I thought I'd give it a try. That fixed them right up. I have the latest fauxmo v0.4.5 version. Alternatively, you can also discover devices using the Amazon Alexa app, by following the steps shown in the figure below. HTTP/1.1 200 OK With the commit from @n8henrie it works a "bit" better but still not perfect. Good news - It works. https://github.com/Monarch73/org.huesken.hueemu I currently have several devices including real hardware that all work fine. Relays and lights with friendly names beginning with a dollar sign ( $) will cause Tasmota to not "announce" them (i.e., be hidden) to Alexa. WEMO is a growing family of innovative, easy-to-use products that use mobile internet to control your home electronics, power, water, and WiFi right from your smartphone or tablet. Assuming nothing is broken for previous versions looks like a result. After this I was able to control my test fauxmo. If it's getting power, the small … @Perforex -- those logs make it look like it is working. WiFfi indicator is set to green and blinking: The Wemo Light Switch is starting up, connecting or undergoing firmware update. @clach04 - That's a very good point, I did have the Echo Plus still online. They are now all grayed out in the list of connected devices and show "(Offline)" and forgetting one and discovering results in them being not found. http://www.belkin.com/us/F7C063-Belkin/p/P-F7C063/. WEMO also works with IFTTT, connecting your home electronics to a whole world of online apps. My discovery is working as it should now with an Echo Dot V2 with the latest firmware. first of all let me say you are doing a great job here! 2017-12-01 10:58:45 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000): Development Fund Meaning,
Nancy Moore Strom Thurmond Wife,
Caroma Smartflush Manual,
South Dekalb Ymca Schedule,
Leadership Mission Statement,
Forfeit Kiana Chords,
Lagoa De Obidos Tempo,
200 Riyal In Pakistani Rupees,
Rain, Reign And Rein In A Sentence,
" />
Forbidden
You don't have permission to access this resource.
Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.
Belmarel: Manufacturer of Promotional Bags and Custom Bags Always free shipping and no tax on orders within the European Union+40 744 680 878info@belmarel.eu
I suppose that will resolve the issue for the wemo-skill auto-magically :-). Say: “Alexa, discover devices”. I got it working with only an echo 2nd gen dot. I'm curious to find out but I'm busier for the next couple of days. LOCATION: http://192.168.178.2:49915/setup.xml I suspect this is what is happening when you speak to Alexa as well - the newer version is contacting Belkin. Before changeing to much on the old code, i checked back and noticed that there was a lot ongoing changes in the last 6 month, so i decided to give a full update a try. USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:46 asyncio:1379 DEBUG poll took 31.564 ms: 1 events If i run the fauxmo script with -vvv i can see that the messages are received but there is no answer. Then I started with fauxmo, but did not get it discovered, even with the issue '38 fix it did not work. ST: urn:Belkin:device:** Meanwhile, it's working well enough for Alexa to turn lights on and off at my command. if now < sun: Alexa is not able to detect my device. But the list of devices stayed empty. ST: urn:Belkin:device:** Hiya, I have been using fauxmo for about 2 years with an Ecoo Dot and a Pi. I have tried that too although but no output found. Yes, they changed something in the detection protocol. print "it is now night" > "Did you enable the "smart home skill from the Alexa app" like Alexa is saying when you do the discover, is it the Wemo skill that needs enabling, its asking for a mac address and WIFI network name. SERVER: Fauxmo, UPnP/1.0, Unspecified ST: urn:Belkin:device:** ritchierich (Michael) December 22, 2017, 12:38pm #2. It should answer as shown in the figure below. time.sleep(60) 2017-12-01 10:58:46 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000): Then clear out your WireShark log, reset your WeMo switch to factory settings, start capturing, then set up the WeMo device from scratch while capturing. Back to wemo app. Alexa Not Discovering Hue Alexa is a virtual voice assistant made by Amazon to help make people’s lives a lot easier. A first try to discover showed at least some fauxmo action again, so it responded to the echo requests. No hub or subscription required; Compact size. Specifically: It is successfully requesting the setup.xml, parsing the device, and requesting the state for the device (which looks like get_state isn't yet configured, but is getting a 200 status code). for switch code 1 it is 851983 is on and 851982 is off When I have something, I'll post here. It looks like it is appropriately responding with the same ST it is getting, and it found devices when it requested (and got a response) with ST: ssdp:all but not with ST: upnp:rootdevice. 2017-12-01 10:58:45 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' 2017-12-01 10:58:48 asyncio:1379 INFO poll took 1000.121 ms: 1 events I deleted my WEMO switch from Alexa throu the app and tried to discover it again, but Echo did not find the WEMO anymore, also the raspi was not discovered during this test. "Fauxmo response to setup request" stand in the log or? My understanding is that Zigbee is a radio waves type of communication. python3 -m venv venv logging.basicConfig(filename='/tmp/night_time.log',level=logging.DEBUG), ast = Astral() Amazon has more detailed instructions on their website if you need them. sun = ('%02d%02d' % (sunset.hour - 1, sunset.minute)), a = 1 I deleted my WEMO switch from Alexa throu the app and tried to discover it again, but Echo did not find the WEMO anymore, also the raspi was not discovered during this test. When the original echo dot is online, any of the newer echo's will control the fauxmo devices as normal (on, off), but as soon as I take the original off-line the newer gen2 ones can not find the devices anymore. I tried the discovery with my Amazon Firestick (fw 587601020) and I was able to discover and operate the devices via its Alexa interface. Try to make the names as unique as possible. ST: urn:Belkin:device:** 2017-12-01 10:58:42 fauxmo:24 DEBUG Attempting to get IP address automatically ", I think the key to takle this issue is to get fauxmo to work on echo2 with the wemo-app and asking users to activate the wemo-skill. Looks like you're using new Reddit on an old browser. 2017-12-01 10:58:46 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): But having said that, I had asked the app to forget all devices before I ran the test. CACHE-CONTROL: max-age=86400 Also, feel free to start a new issue for unrelated questions but please try not to clutter this one, which is too long already. After changeing my configuration to work with the new fauxmo, i started fauxmo successfully. print "it is still daytime" If Alexa doesn't discover your smart home device, here are some solutions to try. She's always on—just ask for information, music, news, weather, and more. Not sure if I need to do this ? It was not discovered. 2017-12-01 10:58:45 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/62.0.3202.94 Windows\r\n\r\n' My Echo Firmware Version is 595530420. It will be easier for Alexa to recognize. This will be a little tough for me to debug, as I don't have an Echo 2, and none of my echo devices are running that firmware. fauxmo -vvv 2> log-issue38-discover01.txt, (Nothing changed, run immediately after Test 1), fauxmo -vvv 2> log-issue38-discover02.txt, (Nothing changed, run immediately after Test 2). Looks like that firmware is probably an issue. I was running fauxmo 0.3.2 which was working fine so far on my raspbian. print('now %s sunset %s' % (now, sun)) @n8henrie Thanks. It worked fine earlier today, but now any time I try, the blue Echo light spins for a few seconds, and I get whatever light/group “isn’t responding”. sunset = sun['sunset'], now = ('%02d%02d' % (nowtime.hour, nowtime.minute)) Oddly enough, speaking to Alexa to turn them on or off still worked. I had two WeMo switches installed and working just fine so I purchased two more. USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:46 asyncio:1379 DEBUG poll took 10.622 ms: 1 events 2017-12-01 10:58:46 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/62.0.3202.94 Windows\r\n\r\n' Not sure whats the issue with this, but in the Serial Monitor I can see the logs which is showing that I am getting ping from Alexa to my ESP8266. 01-NLS: 58af155a-0a0b-438a-8f0a-2a6090be6b0a The Wemo and Hue devices were discovered immediately and have worked perfectly since. EXT: sudo pip install git+https://github.com/n8henrie/fauxmo.git@issue_38. I've started reading about the UPnP protocol so I can be a little more self sufficient with the diagnosis. b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' Select Hue Bridge V1 as the device type. source venv/bin/activate It seems to be important to restart the Echo from time to time, otherwise it seems to be in a very unknown state, as of not working correctly. Plug in the WeMo device. The solution is simple: 1) Disconnect power from your Philips Hue Bridge; 2) Tell Alexa to discover devices (fauxmo will be found, with the name you have given it; 3) Plug in your Philips Hue bridge. 01-NLS: d888ce95-e23d-432c-bd21-abebe7c022f1 I don't have an Echo but I own an Android phone with Alexa installed. Please tell me if I can, and how I can support here with further debug logs etc. Login to Alexa.amazon.com and click forget all devices in the settings section. [GCC 5.4.0 20160609] Alexa might seem to be unresponsive because your Echo is too far away from the router. now = ('%02d%02d' % (nowtime.hour, nowtime.minute)) I know this issue is closed, but will this version of fauxmo still work on the Echo Dot v1, or does the v1 only support polling? So, update: 2017-12-01 10:58:42 fauxmo:121 DEBUG Started fauxmo device: {'name': 'output', 'plugin': } EXT: LOCATION: http://192.168.178.2:49915/setup.xml Next, using the Alexa app platform, tap on “Discover Devices” in order that Alexa will discover all compatible Wemo devices within range. 2017-12-01 10:58:46 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' import os, os.system("/home/pi/433Utils/RPi_utils/codesend 851982") logging.info('%s WAITING time is %s and sunset -1hr is %s' % (nowtime,now,sun)) SERVER: Fauxmo, UPnP/1.0, Unspecified If someone can get me a pcap of the Echo 2 interacting with a Belkin WeMo, that would be a good start. My echo is at 10.0.4.49 and the machine running fauxmo is at 10.0.4.45 - I did a power recycle on the Echo before doing the discovery. Locking this discussion, which has gotten unwieldy. Fairly simple this will first send the off codes, then the on codes 2017-12-01 10:58:46 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000): When I looked in the device list - they were still present but indicated that they were "offline". I also tried to configure the WeMo app on IOS to find my fauxmo, but it did not like the MAC address (because of course it's not in the Belkin MAC address range). time.sleep(0.1) OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 This Node-RED node is only a slim wrapper around the marvellous wemore Wemo library written by Daniel Leong. I also have exactly the same problem with echo 2nd generation and firmware version: 592452720. Slightly quirky discovery but nothing I can’t live with. EXT: Next Install Astral - https://github.com/sffjunkie/astral. 2017-12-01 10:58:44 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): (This is only required if you like to be able to calculate Sunset and Sunrise times - which is handy for getting the Pi to schedule on/off but move automatically every day as the Sunrise/Sunset move) - I set some lights on 1 hour before sunset as it's already getting darker) - I then schedule this daily with cron, it writes to a /tmp file so I can check it. Make sure the Alexa-enabled device is in Wi-Fi range. Consider logging (see the nighttime.py example later) to the /tmp so it's easy to check that your automation is running properly) Open Alexa. I know this is about cracking it with Pi, but I mention it, because My Mum has Energenie sockets already but I am not setting a Pi up at her house, because let's face it - Mums break tech all the time, she is getting an Echo and a MiHome Hum with 3 extra sockets for Christmas (And I am already anticipating my regret!!). But I have reports form other 2nd gen echo users that fauxmoesp does not work as well. 3. 2017-12-01 10:58:46 asyncio:1379 DEBUG poll took 154.827 ms: 1 events sun = l.sun(), nowtime = datetime.now() OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 I can still control them through the WeMo app and through Alexa but if I tell Alexa to forget one, it can't rediscover it without jumping through bizarre hoops as shown above. 2017-12-01 10:58:44 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000): OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 DEBUG:root:Listening for UPnP broadcasts CACHE-CONTROL: max-age=86400 @SuoaJ -- no, it doesn't, as I've (indirectly) mentioned in the FAQ. On my Echo 1, discovery, state detection, and on / off are all working great. However , if you can solve it (Find how Alexa is scanning and respond to it) maybe it is still workable, because Alexa has to run the scan locally it can't rely on the Belkin servers to scan the local network. However recent Black Friday deals, I got the new Echo gen2, and hey guess what, the problems started as described by other users. the new Gen2 Echo's are using a different search/control for WeMo devices and so no longer compatible with fauxmo. Taking an output pin is compulsory? Press question mark to learn the rest of the keyboard shortcuts. 2017-12-01 10:58:42 fauxmo:37 DEBUG Using IP address: 192.168.178.2 I have an Echo Plus and would be willing to purchase a Belkin WeMo device to capture a pcap if somebody wants to help me through it. Hope someone has some ideas, I'd love to get this working. To confirm my theory that it was the firmware upgrade, I had the Echo forget one of the old previously working switches and re-ran discover devices. I followed the instructions on the docs ( http://fauxmo.readthedocs.io/en/latest/md/protocol_notes.html ). I've attached the log from a successful discovery, I don't know if you can spot where the change has made a difference. 2017-12-01 10:58:45 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): It's pretty cool to be able to say 'Alexa, turn my garden watering system on' and my Pi turns on the outdoor watering system. here is the output: So far they have not moved the older Echo devices forwards so they are still communicating natively instead of going via Belkin Servers. I have two Echo's and 4 switches and I essentially reset all of them (started from scratch) and now they are working - hopefully someone can figure out what the problem is to save some that hassle. import os With a new update, Amazon Echo users can tell Alexa to turn WeMo Switches and Philips Hue lights on and off. DATE: Fri, 01 Dec 2017 09:58:46 GMT EXT: MAC address. USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:45 asyncio:1379 DEBUG poll took 11.092 ms: 1 events logging.info('%s LIGHTS-ON time is %s and sunset -1hr is %s' % (nowtime,now,sun)) Then make sure the right device list is set in your ST Alexa … 2017-12-01 10:58:46 fauxmo:224 DEBUG Received data below from ('192.168.178.1', 41766): I was going to gift the old dot to my Mum, but now I'm going to keep it. All devices respond to requests from Alexa. I have an older WEMO switch (by fortune), the Echo found this already before I started with the raspi. LOCATION: http://192.168.178.2:49915/setup.xml Alexa Not Able To Discover WeMo Switch After Firmware Upgrade : amazonecho. - and then send a bespoke message back, listing a number of misdemeanours, leaving them wondering how Alexa knows all this stuff). They are now all grayed out in the list of connected devices and show "(Offline)" and forgetting one and discovering results in them being not found. 'POST /upnp/control/basicevent1 HTTP/1.1', 'BinaryState'. Every time it takes at least an hour to set up. Everything in the house is a breeze to get working. WeMo Mini features a sleek new form factor that allows you to stack two Mini Smart Plugs in the same outlet. At first i thought it might be just a small issue like fauxmo service crashed or such, so i didn't care to much, until after the holidays i started to look at. Alexa not working with your smart home camera? I tried it without them and it doesn't work. SERVER: Fauxmo, UPnP/1.0, Unspecified 2017-12-01 10:58:42 fauxmo:100 DEBUG plugin_vars: {} OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 I'm back at work tomorrow (UK public holiday today) but I'll try and find a little time to test the latest issue_38 with my echo plus (FW 595530420). Enabling the Wemo Skill in the Amazon Alexa app The first part of linking your Amazon Alexa app with Wemo is to enable the Wemo Skill in the Amazon Alexa app. ST: urn:Belkin:device:** ST: urn:Belkin:device:** from my printer), there's none from the IP of the Echo Show. Thanks a lot for all your votes! I'm using an Echo Show with FW: 597464020. Unfortunately, I saw these comments after I installed and got fauxmo running. Also, please update to the latest fauxmo version (though I don't think it will fix this issue, since I don't see Belkin in any of your Echo requests). Please make sure you've taken these steps before submitting a new issue: The text was updated successfully, but these errors were encountered: What is your Echo firmware version and what type of device is it? DATE: Fri, 01 Dec 2017 09:58:46 GMT Yes i tried the discovery multiple times and with other git repositories using the fauxmo script. 01-NLS: d6b26f06-b7e8-4713-a0ce-26fcd2e55668 CACHE-CONTROL: max-age=86400 01-NLS: 91996ff0-71a8-42a4-aae4-38c8115207f1 Really looking forward to get fauxmo running... @BetMadZac73 Hi. Can you clarify what you're seeing / what "isn't working"? plus (some patience with me, because I work these things out, but I'm not an expert this was my first python coding). 2017-12-01 10:58:46 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): 2017-12-01 10:58:48 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/62.0.3202.94 Windows\r\n\r\n' I had two WeMo switches installed and working just fine so I purchased two more. @n8henrie -- No, I intended the two colons to be at the start of the string. USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:45 asyncio:1379 DEBUG poll took 31.662 ms: 1 events An example would be using “Two” instead of 2. 2017-12-01 10:58:42 asyncio:1067 INFO ]> is serving SERVER: Fauxmo, UPnP/1.0, Unspecified So the fauxmo Raspi didn't know how to reach the Echo (both within the same network). EXT: I had to change "urn:Belkin:device:**" to "upnp:rootdevice" in the answer for the search query and now it works :). It is written in C# but should be quite readable. I'll try and do a test with the Echo Plus offline as soon as I can. Will any WeMo device do? EXT: 2017-12-01 10:58:45 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: upnp:rootdevice\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' 2017-12-01 10:58:45 fauxmo:225 DEBUG b'M-SEARCH * HTTP/1.1\r\nMX: 3\r\nST: ssdp:all\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\n\r\n' Try to use unique names with your Wemo devices. DATE: Fri, 01 Dec 2017 09:58:46 GMT The 1st time it found 12 of my 13 devices but I could do nothing to get the 13th to appear. LOCATION: http://192.168.178.2:49915/setup.xml In the meantime, users may consider HomeAssistant and its emulated_hue. Devices now discovered and working with the code change I mentioned previously. SERVER: Fauxmo, UPnP/1.0, Unspecified Successfully merging a pull request may close this issue. The Echo has Wemo support built in so I thought I'd give it a try. That fixed them right up. I have the latest fauxmo v0.4.5 version. Alternatively, you can also discover devices using the Amazon Alexa app, by following the steps shown in the figure below. HTTP/1.1 200 OK With the commit from @n8henrie it works a "bit" better but still not perfect. Good news - It works. https://github.com/Monarch73/org.huesken.hueemu I currently have several devices including real hardware that all work fine. Relays and lights with friendly names beginning with a dollar sign ( $) will cause Tasmota to not "announce" them (i.e., be hidden) to Alexa. WEMO is a growing family of innovative, easy-to-use products that use mobile internet to control your home electronics, power, water, and WiFi right from your smartphone or tablet. Assuming nothing is broken for previous versions looks like a result. After this I was able to control my test fauxmo. If it's getting power, the small … @Perforex -- those logs make it look like it is working. WiFfi indicator is set to green and blinking: The Wemo Light Switch is starting up, connecting or undergoing firmware update. @clach04 - That's a very good point, I did have the Echo Plus still online. They are now all grayed out in the list of connected devices and show "(Offline)" and forgetting one and discovering results in them being not found. http://www.belkin.com/us/F7C063-Belkin/p/P-F7C063/. WEMO also works with IFTTT, connecting your home electronics to a whole world of online apps. My discovery is working as it should now with an Echo Dot V2 with the latest firmware. first of all let me say you are doing a great job here! 2017-12-01 10:58:45 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000):