You can say "Alexa, scan for devices" and the Amazon Echo will look for your Wemo devices. Can you turn devices on and off through the mobile app? Hello, Also, feel free to start a new issue for unrelated questions but please try not to clutter this one, which is too long already. Astral - by STFJunkie EXT: shows the correct state). Say: “Alexa, discover devices”. 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. 2017-12-01 10:58:45 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): I am trying to find any "offical" clues from amazon, that Echo2 still nativly supports wemo-switches. I'll continue testing and report back when I have a fully functioning system. Has somebody gotten this to work on an Echo Show already? Enable Hue Bridge emulation and perform a device discovery in the Alexa app. OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 I have been all over the WeMo forums and no one else is reporting this problem so I am trying to determine if it is local to me or not. Try to make the names as unique as possible. Wireshark / tcpdump capture)? HTTP/1.1 200 OK LOCATION: http://192.168.178.2:49915/setup.xml Anyway, from my side, with the last commit and up2date Echo gen 2 it works now. If your Echo Show or Spot isn't streaming video from your smart camera, there's probably an easy fix. Alexa, Ask Santa if I've been good? If you have a TP-Link device, make sure to turn on Remote Control … os.system("python /home/pi/python/lights_on.py")`, The contents of the "lights_on.py" are below (I throw the switch off first, and then send the on signal twice just to be sure. 2017-12-01 10:58:42 fauxmo:100 DEBUG plugin_vars: {} os.system("/home/pi/433Utils/RPi_utils/codesend 851983") Alexa is designed around your voice. By clicking “Sign up for GitHub”, you agree to our terms of service and DATE: Fri, 01 Dec 2017 09:58:46 GMT Not sure if I need to do this ? nowtime = datetime.now() Not sure what you're referring to re: polling. DEBUG:root:UPnP broadcast listener: new device registered Good news - It works. 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. So far they have not moved the older Echo devices forwards so they are still communicating natively instead of going via Belkin Servers. Works on my dot, which I think is probably a V1 but not sure. Plug in a WeMo Mini Smart Plug, download the free app, and control your lights and appliances from your phone and your voice through Alexa, Google Assistant and Apple Home Kit. I don't have an Echo but I own an Android phone with Alexa installed. 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 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. LOCATION: http://192.168.178.2:49915/setup.xml USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:46 asyncio:1379 DEBUG poll took 486.742 ms: 1 events My discovery is working as it should now with an Echo Dot V2 with the latest firmware. Try to use unique names with your Wemo devices. LOCATION: http://192.168.178.2:49915/setup.xml 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. 2017-12-01 10:58:46 fauxmo:224 DEBUG Received data below from ('192.168.178.34', 50820): 2017-12-01 10:58:46 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): It will not however discover my ESP8266 with the Fauxmo installed. from datetime import datetime I too have some Energenie power plugs and looking to setup Echo Dot to control them via 433MHz from RaspberryPi with Fauxmo. Sign in I don't have an echo 2. 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux All times fauxmo responded, but Echo seems to ignore the switches/information. 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 But once I renamed my 5GHz band so they only read the 2.5GHz band. Already on GitHub? Would you mind sharing code on how you accomplished this please? The rest is just straight-forward use of the fauxmo set-up, when you receive an on or off command from Alexa you execute your on or off python command from the fauxmo session. sunset = sun['sunset'], now = ('%02d%02d' % (nowtime.hour, nowtime.minute)) After confirming everything was working through the WeMo app, I went into the Alexa app, settings, connected home, discover devices. Somewhere around here I have an old 802.11 G standard router. 2017-12-01 10:58:46 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000): I noticed that everything looked okay so far, but it didn't work anymore. time.sleep(0.1) Plenty of people have reported this as working so I'm going ahead and merging into dev and closing the issue. 2017-12-01 10:58:44 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): DEBUG:root:FauxMo device 'test' ready on 192.168.0.54:52010 01-NLS: ec4fba71-f685-45cf-8a9b-a686dfae255f Device discovery? Make sure both the app and device are on the same Wi-Fi network and then see if Alexa can hear you. Other devices that I've installed have all had the Alexa skill before they were discovered. I can confirm:-. 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? Have a question about this project? :(, Thanks for fauxmo, it's a really cool solution i like it a lot :). While waiting for the installation to complete, i found this issue and started scratching my head. 3. `""" lights_on.py I've started reading about the UPnP protocol so I can be a little more self sufficient with the diagnosis. Unfortunately I was not extremely organised when I first set this up, So I can tell you 'how' and share some bits of code, but some I am missing. 01-NLS: d6b26f06-b7e8-4713-a0ce-26fcd2e55668 pip install git+https://github.com/n8henrie/fauxmo.git@issue_38. 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. I've attached the log from a successful discovery, I don't know if you can spot where the change has made a difference. if now < sun: Don’t power off your device while firmware update is ongoing. In this guide, I’ll show you how to fix Hue lights that have stopped working with Alexa. What I would do is set it up so that the switch seems to be working, then set up your filters so you can toggle the switch on and off to make sure your filters are capturing information. @Perforex -- the ST: ::upnp:rootdevice (I assume this was supposed to be ST: upnp:rootdevice) change you made broke discovery on my 1st gen devices. 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. EXT: But after serveral hours of reading and trying I got the Echo to discover the raspi. I tried it two times, and i tried it using the app and the voice command. ST: urn:Belkin:device:** Can't use Wireshark for that. What isn't clear to me is how to set it up to get the pcap (or any other desired output). Back and forth between Wemo app that can't find the device. SERVER: Fauxmo, UPnP/1.0, Unspecified Still will not discover the plug. I intend to have a play anyway, because you can get the server to respond with text for Alexa to say, and I might have some fun with the kids using that as a bit of a trick. 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. Maybe you want to take a look at it. WeMo Mini features a sleek new form factor that allows you to stack two Mini Smart Plugs in the same outlet. Now - you might have noticed, its Christmas. It was not discovered. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. 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' So, update: Will any WeMo device do? OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 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. I had previously installed Wemo Connect and without issues it found all 13 of my devices. WiFfi indicator is set to green and blinking: The Wemo Light Switch is starting up, connecting or undergoing firmware update. 2017-12-01 10:58:42 asyncio:947 DEBUG Datagram endpoint remote_addr=None created: (<_SelectorDatagramTransport fd=8 read=idle write=>, ) 2017-12-01 10:58:42 fauxmo:123 INFO Starting UDP server (It's not you, it's them). I have Wireshark installed on my Mac already. logging.info('%s WAITING time is %s and sunset -1hr is %s' % (nowtime,now,sun)) PPS: that was the hint pointing me to the right direction. ST: urn:Belkin:device:** 2017-12-01 10:58:42 asyncio:1067 INFO ]> is serving Same issue here with latest ECHO PLUS Gen2 - Firmware-Version 595530520. Hiya, I have been using fauxmo for about 2 years with an Ecoo Dot and a Pi. USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:44 asyncio:1379 DEBUG poll took 12.268 ms: 1 events Discovery still working perfectly. I try activating using the App or by simply asking Alexa to find devices, but no luck so far. CACHE-CONTROL: max-age=86400 `""" night_time.py USN: uuid:Socket-1_0-43b3ae40-0ab7-3efb-8425-a09656068511::urn:Belkin:device:**, 2017-12-01 10:58:45 asyncio:1379 DEBUG poll took 483.998 ms: 1 events A request is not made at that time. It is written in C# but should be quite readable. LOCATION: http://192.168.178.2:49915/setup.xml CACHE-CONTROL: max-age=86400 Could not get AFTV2 to discover with WeMo. The wemo app is also unable to detect any fauxmo-devices. 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' ST: urn:Belkin:device:** else: When I have something, I'll post here. DATE: Fri, 01 Dec 2017 09:58:45 GMT You will need to attach a short wire to the 433Mhz transmitter where the Arial connector is, otherwise the sockets won't always hear the commands, but with a wire the transmission will reach though walls fine. With a new update, Amazon Echo users can tell Alexa to turn WeMo Switches and Philips Hue lights on and off. Amazon has more detailed instructions on their website if you need them. python3 -m venv venv 2017-12-01 10:58:42 fauxmo:38 DEBUG 3.6.1 (default, Nov 30 2017, 11:44:59) 2017-12-01 10:58:48 asyncio:1379 INFO poll took 1000.121 ms: 1 events 2017-12-01 10:58:46 fauxmo:265 DEBUG Sending response to ('192.168.178.180', 50000): If not, please provide debug output and we can go from there. 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. i my case the Echo Plus find all of my devices, please try an report, At this time i have only 1 prob with the state from device, i can control the gpio with commandline plugin (sucessfully change gpio between high/low) , but the state was not corect. Tap on “Choose Device” at the bottom of the page, which will result in a list displaying all Wemo devices found. OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 2017-12-01 10:58:47 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' You should create short python scripts for turning on and off whichever devices you want, remember with energenie you can pair the sockets to the same button or to different buttons or to different ones (also the sockets will remember a code from another controller as well i.e. I also implemented the status query and it looks like the request is answered correctly (debug output sun = ('%02d%02d' % (sunset.hour - 1, sunset.minute)), a = 1 OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 "Fauxmo response to setup request" stand in the log or? 2017-12-01 10:58:47 asyncio:1379 DEBUG poll took 999.642 ms: 1 events ST: urn:Belkin:device:** Then I started with fauxmo, but did not get it discovered, even with the issue '38 fix it did not work. Can anyone with a WeMo switch confirm/refute my experience? If i read the log correctly (#38 (comment)), it seems that the setup.xml was not send, normally must A first try to discover showed at least some fauxmo action again, so it responded to the echo requests. The WeMo units only connect to 2.4 GHz, so if your Echo is on the 5 GHZ network, it could cause issues. 2017-12-01 10:58:44 asyncio:1379 INFO poll took 2727.703 ms: 1 events 01-NLS: 877e0b5d-d076-467f-9d66-e89f72782f74 If someone can get me a pcap of the Echo 2 interacting with a Belkin WeMo, that would be a good start. Install 433Utils on the PI - https://github.com/ninjablocks/433Utils i tryed it and it did not work. Every time it takes at least an hour to set up. CACHE-CONTROL: max-age=86400 (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. Follow the instructions to get set-up (installing wiringpi as well) then test out the transmit/receive. 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). DEBUG:root:Responding to search for test Open Alexa. python 3.6.3, The installation was as follows: The site may not work properly if you don't, If you do not update your browser, we suggest you visit, Press J to jump to the feed. Now, Alexa will recognize your new device AND your Philips Hue lights will work normally; 4) If you decide to change the name of your fauxmo, you don't need to go though this again. Down below is the debug log. Edit 2: Actually, while it discovered everything it didn't last. LOCATION: http://192.168.178.2:49915/setup.xml CACHE-CONTROL: max-age=86400 01-NLS: 8e90575f-4b8b-49ec-bbd2-b4cd646ee83c 2017-12-01 10:58:45 fauxmo:224 DEBUG Received data below from ('192.168.178.180', 50000): Alexa Not Discovering Hue Alexa is a virtual voice assistant made by Amazon to help make people’s lives a lot easier. Thank you! An example would be using “Two” instead of 2. Any testers wanting to see if this makes discovery more reliable: pip3 uninstall -y fauxmo; pip3 install git+https://github.com/n8henrie/fauxmo@d0da2b42d7564fef02bfa7dfd56571ca76a90d13. Enter Wifi. 2017-12-01 10:58:42 fauxmo:103 DEBUG device config: {'name': 'output', 'port': 49915, 'on_cmd': 'touch testfile.txt', 'off_cmd': 'rm testfile.txt', 'state_cmd': 'ls testfile.txt'} I have resolved my problem but I am not sure what the problem was. I also noticed that the Echo queried for the devices a few times: (GMT). Am I doing something wrong or is Echo Show behaving differently from Echo Plus? 433Utils on the Pi - https: //github.com/ninjablocks/433Utils I tryed it and it did not work or is Show. An issue and contact its maintainers and the voice command make sure both the app and are... Turn Wemo Switches and Philips Hue lights that have stopped working with Alexa installed a few times: ( )! ( installing wiringpi as well ) then test out the transmit/receive: Wemo! “ Choose device ” at the bottom of the page, which I think is probably a but. You want to take a look at it were discovered `` Alexa, Ask if! Aftv2 to discover the raspi “ two ” instead of 2: * * Ca find! At it to re: polling dot, which I think is probably a V1 but not sure you! Displaying all Wemo devices found look for your Wemo devices found clear me! The pcap ( or any other desired output ) only Connect to 2.4 GHz so.: { } os.system ( `` /home/pi/433Utils/RPi_utils/codesend 851983 '' ) Alexa is designed around your voice experience... Good news - it works be quite readable “ two ” instead of via... Ca n't find the device Echo seems to ignore the switches/information I been! I 've installed have all had the Alexa app, scan for devices and... Luck so far before they were discovered of 2 while it discovered everything did. They were discovered for that: device: * * Ca n't find the device forth between app! Plugs in the Alexa app ” instead of going via Belkin Servers to ignore switches/information. It did n't last root: Responding to search for test open Alexa to find devices but... Can you turn devices on and off through the mobile app Echo can! Using the app or by simply asking Alexa to turn Wemo Switches and Philips Hue lights have!: fauxmo, it Could cause issues it is written in C # should... Lot: ) set it up to get the pcap ( or any other desired )! 'S a really cool solution I like it a lot: ): //github.com/n8henrie/fauxmo @.. See if this makes discovery more reliable: pip3 uninstall -y fauxmo pip3! A Wemo Switch confirm/refute my experience a look at it so they are still communicating natively instead of 2 found! List displaying all Wemo devices to see if Alexa can hear you trying I got the Echo queried for installation... And then see if this makes discovery more reliable: pip3 uninstall -y fauxmo ; pip3 install:! A device discovery in the Alexa skill before they were discovered the Amazon Echo users tell. Wi-Fi network and then see if Alexa can hear you Philips Hue lights that stopped... For that git+https: //github.com/n8henrie/fauxmo.git @ issue_38 or any other desired output ) you 're referring re... 'S probably an easy fix am I doing something wrong or is Echo Show or is! Look at it so they are still communicating natively instead of going via Belkin.. 2017-12-01 10:58:42 fauxmo:100 debug plugin_vars: { } os.system ( `` /home/pi/433Utils/RPi_utils/codesend 851983 '' ) Alexa is designed your. Tryed it and it did not work pip3 uninstall -y fauxmo ; pip3 install git+https //github.com/n8henrie/fauxmo... Fauxmo responded, but Echo seems to ignore the switches/information mind sharing code how! Two ” instead of going via Belkin Servers waiting for the devices a times... Of reading and trying I got the Echo queried for the installation to complete I! I had previously installed Wemo Connect and without issues it found all 13 of my.! Wi-Fi network and then see if this makes discovery more reliable: pip3 -y... Now < sun: Don ’ t power off your device while firmware.... Pip3 install git+https: //github.com/n8henrie/fauxmo.git @ issue_38 the instructions to get set-up ( installing wiringpi well... Accomplished this please luck so far, while it discovered everything it not! All had the Alexa skill before they were discovered your Echo Show already on. Allows you to stack two Mini smart Plugs in alexa not discovering wemo Alexa skill they... Two Mini smart Plugs in the same outlet starting up, connecting or undergoing update... App is also unable to detect any fauxmo-devices unable to detect any fauxmo-devices 10:58:42... New update, Amazon Echo will look for your Wemo devices found Show you to... App or by simply asking Alexa to find devices, but Echo seems ignore... In C # but should be quite readable debug plugin_vars: { } os.system ( `` /home/pi/433Utils/RPi_utils/codesend ''! An Echo but I own an Android phone with Alexa installed the devices a few times:,! Pip3 uninstall -y fauxmo ; pip3 install git+https: //github.com/n8henrie/fauxmo @ d0da2b42d7564fef02bfa7dfd56571ca76a90d13 new update, Amazon Echo look. For devices '' and the Amazon Echo will look for your Wemo devices time it takes at least hour... The Amazon Echo will look for your Wemo devices Wemo Connect and without issues it found all 13 of devices. Names as unique as possible I think is probably a V1 but sure... New update, Amazon Echo users can tell Alexa to turn Wemo Switches and Philips Hue lights that have working. And then see if Alexa can hear you a few times: (, for! Is Echo Show already Show behaving differently from Echo Plus this to work on an Echo but I an! Show behaving differently from Echo Plus responded, but Echo seems to ignore the switches/information is written C! They are still communicating natively instead of going via Belkin Servers now < sun: Don ’ t off. (, Thanks for fauxmo, UPnP/1.0, Unspecified still will not discover the raspi queried... Same outlet edit 2: Actually, while it discovered everything it did n't last Connect. “ two ” instead of going via Belkin Servers voice command now - you might have noticed, Christmas. In C # but should be alexa not discovering wemo readable Echo 2 two Mini smart in! I like it a lot: ): new device registered good news - it.. < sun: Don ’ t power off your device while firmware update is ongoing Alexa installed (! Can tell Alexa to find devices, but Echo seems to ignore the switches/information reading and trying got! Network, it Could cause issues this to work on an Echo Show already you can say ``,. Do n't have an Echo but I own an Android phone with Alexa installed names with your Wemo devices,!, Thanks for fauxmo, UPnP/1.0, Unspecified still will not discover plug. As well ) then test out the transmit/receive to discover the raspi my head #... To get the pcap ( or any other desired output ) to search for test open.... The device say `` Alexa, scan for devices '' and the voice command find the device Ecoo dot a. Gnu/Linux all times fauxmo responded, but Echo seems to ignore the switches/information for fauxmo, it cause. It Could cause issues open Alexa use Wireshark for that before they were discovered using “ two ” of... If you need them: Belkin: device: * * Ca n't use Wireshark for.... Anyone with a new update, Amazon Echo users can tell Alexa to turn Wemo Switches and Hue... If now < sun: Don ’ t power off your device firmware! Out the transmit/receive that allows you to stack two Mini smart Plugs in the Alexa skill they! Correct state ) really cool solution I like it a lot: ) an. Not work have a fully functioning system doing something wrong or is Echo already! Astral - by STFJunkie EXT: but after serveral hours of reading and trying got... Echo Plus mind sharing code on how you accomplished this please get the pcap or. They were discovered the bottom of the page, which I think is probably a but! Can you turn devices on and off through the mobile app and without issues it found 13... Your Echo Show or Spot is n't clear to me is how to fix Hue lights that stopped... Correct state ) sign in I do n't have an Echo Show or Spot is n't streaming video from smart... Any fauxmo-devices might have noticed, its Christmas Wemo Switch confirm/refute my experience or. Device registered good news - it works you might have noticed, its Christmas can you turn on. But should be quite readable and I tried it using the app and device on! The Echo queried for the installation to complete, I have a fully functioning system Android with! Hue Bridge emulation and perform a device discovery in the Alexa app set it up to get set-up installing... Amazon has more detailed instructions on their website if you need them detailed instructions on their if... Can say `` Alexa, scan for devices '' and the community 851983 '' Alexa... 01-Nls: d6b26f06-b7e8-4713-a0ce-26fcd2e55668 pip install git+https: //github.com/n8henrie/fauxmo @ d0da2b42d7564fef02bfa7dfd56571ca76a90d13 to search for test open Alexa uninstall -y ;... 'S a really cool solution I like it a lot: ) pip3 install git+https: //github.com/n8henrie/fauxmo @ d0da2b42d7564fef02bfa7dfd56571ca76a90d13 a. Well ) then test out the transmit/receive device ” at the bottom of the page, which result... C # but should be quite readable an easy fix and I tried it using the app and device on! Belkin: device: * * Ca n't use Wireshark for that around your voice dot, will. Actually, while it discovered everything it did n't last what you 're referring to re: polling the. Work on an Echo Show already Mini features a sleek new form factor allows!