DEV Community

Cover image for Automation with Alexa using python.

Automation with Alexa using python.

Dhanush on December 16, 2019

Hi, Being an electronics and programming enthusiastic, I always wondered how can I automate my room appliances (not with smart bulbs). There were m...
Collapse
 
developererror profile image
Developer-error

Something is missing.. what to do with that code ..?

Collapse
 
goliathgeek profile image
Dhanush

You can use this code to automate things using raspberryPi or other controllers. :)

Collapse
 
developererror profile image
Developer-error

How to upload this code on ESP32 ?

Thread Thread
 
goliathgeek profile image
Dhanush

github.com/sinricpro/esp8266-esp32...

You can use the above library for both esp8266(NodeMCU) and ESP32

Thread Thread
 
developererror profile image
Developer-error

If i want to use python?

Thread Thread
 
goliathgeek profile image
Dhanush

Do you want to use python for NodeMcu and Esp32. (Micropython) ?

Thread Thread
 
developererror profile image
Developer-error

Yes bro.. exactly microPython

Thread Thread
 
goliathgeek profile image
Dhanush

Hmmm! Even I thought of this long back to integrate with micro python. But MicroPython didn't have WebSocket library which is a basic requirement for this skill. I need to check out once again.

Thread Thread
 
developererror profile image
Developer-error

If u found..kindly inform me please.

Thread Thread
 
goliathgeek profile image
Dhanush

Sure i'll do it :).

Thread Thread
 
jekxdevil profile image
Jef

I'm also looking for a method to comunicate through micropython on ESP32 with Alexa

Collapse
 
developererror profile image
Developer-error

How to upload these codes on NodeMCU?

Collapse
 
goliathgeek profile image
Dhanush

github.com/sinricpro/esp8266-esp32...

You can use above nodemcu library for this automation. :)