CharlesJGantt / LinkNode-R4-Controlled-By-Amazon-Alexa

This code will create four FauxMo smart-home devices that emulate Belkin We-Mo switches. The unmodified version of this code is originally by kakopappa and can be found at https://github.com/kakopappa/arduino-esp8266-alexa-multiple-wemo-switch/tree/master/wemos.
45 stars 16 forks source link

Controlling FauxMo through a WeMo app #3

Open 0x00100 opened 7 years ago

0x00100 commented 7 years ago

This is probably the wrong place to post this but here it goes anyway. Thank you for the code. With a couple of small modifications it is working perfectly. Since I also wanted to have the ability to control my outlets with my smartphone or computer I have added some code that allows the R4 to interface with the Cayenne cloud thus allowing for on/off control with an Android/iOS app or web browser. This has proven to be an imperfect solution since I have no way of having Alexa and the Cayenne cloud coordinate GPIO states. I'd really like to be able to just strip out all of the Cayenne stuff from the firmware and use a WeMo compatible Android app, which I have tried. None of the WeMo apps see the R4's relays. I'm guessing that may be because the echo does not require the same amount of data from the FauxMo R4 to interact that would normally come from a genuine WeMo outlet?

If you have any insight into what exactly might be complicating the discovery of the FauxMo R4 by third party apps that are trying to discover WeMo devices on the network. Obviously the official Belkin app will not work because it wants to connect to the WeMo switch as an AP to configure it. While that could probably be ironed out and made to work it seems to more logical and expedient to just make it discoverable to third party apps that support WeMo.