kakopappa / arduino-esp8266-alexa-wemo-switch

Amazon Alexa + WeMos switch made with Arduino D1 Mini
https://sinric.pro
MIT License
281 stars 249 forks source link

Control Multiple GPIOs on ESP-12 #4

Open jemarr opened 7 years ago

jemarr commented 7 years ago

This is an amazing project, you make my dreams true!!!

I've several ESP8266 (ESP-12E) boards controlling a lot of relays that turn on/off my home lamps...and sensors that reads luminosity. Each writen with his own arduino sketch.

Now it's the time to buy an Amazon Echo and your project could help me a lot.

I use several GPIOs on each ESP-12E board, so, is it possible to modify your project to make the Echo detect multiple devices instead of just one ???

Thanks for your help.

kakopappa commented 7 years ago

Thanks :)

I think it is possible to emulate more than one wemos switch. Take a look at fauxmo project.

https://github.com/makermusings/fauxmo/blob/master/fauxmo.py#L407

jemarr commented 7 years ago

Thanks Aruna. I will try to understant Fauxmo python code, I'm not too expert in it !!!

Have you ported Fauxmo python code to Arduino IDE ?

kakopappa commented 7 years ago

Hi

I have started working on multiple-wemos-switch based on fauxmo.

https://github.com/kakopappa/arduino-esp8266-alexa-multiple-wemo-switch

I have not tested it yet. just finish coding. I will test it on this weekend. Excited!

jemarr commented 7 years ago

Great, good job.

Thanks

Jesus

2016-11-25 4:59 GMT+01:00 Aruna Tennakoon notifications@github.com:

Hi

I have started working on multiple-wemos-switch based on fauxmo.

https://github.com/kakopappa/arduino-esp8266-alexa-multiple-wemo-switch

I have not tested it yet. just finish coding.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kakopappa/arduino-esp8266-alexa-wemo-switch/issues/4#issuecomment-262876660, or mute the thread https://github.com/notifications/unsubscribe-auth/AVwNZxY_wcm7jzuFcJrKGwx3A1dtFYR1ks5rBl0igaJpZM4KVkyS .

kakopappa commented 7 years ago

Fixed. Now you can emulate more than 1 switch