X10 Community Forum

💬General Category => Mac/Linux & Open Source and the X10 Home => Raspberry Pi, Arduino & other SBC => Topic started by: BroHogan on December 27, 2017, 08:47:28 PM

Title: Alexa to X10
Post by: BroHogan on December 27, 2017, 08:47:28 PM
For those who can work with Arduino (ESP8266) Here is a way to control X10 (CM17A) with Alexa.
brohogan.blogspot.com/search/label/Alexa (can't post links!)
Title: Re: Alexa to X10
Post by: HA Dave on December 27, 2017, 09:20:19 PM
For those who can work with Arduino (ESP8266) Here is a way to control X10 (CM17A) with Alexa.
brohogan.blogspot.com/search/label/Alexa (can't post links!)

An Arduino with a serial port?
Title: Re: Alexa to X10
Post by: dhouston on December 28, 2017, 04:57:12 AM
An Arduino with a serial port?

https://www.arduino.cc/reference/en/language/functions/communication/serial/ (https://www.arduino.cc/reference/en/language/functions/communication/serial/)
Title: Re: Alexa to X10
Post by: BroHogan on December 28, 2017, 08:13:25 AM
Yes, the Arduino has a serial port, but it is not used for the CM17A. The CM17A uses the RTS and DTR lines for input.
Title: Re: Alexa to X10
Post by: dhouston on December 28, 2017, 09:22:52 AM
To clarify, you're not using an Arduino+ESP8266 but an ESP8266 on its own.
Title: Re: Alexa to X10
Post by: BroHogan on December 28, 2017, 09:29:02 AM
Yup, just the ESP (which also has a Serial port). Sorry about using "Arduino" to describe this. (I use the Arduino IDE to program the ESP.)
Title: Re: Alexa to X10
Post by: dhouston on December 28, 2017, 09:35:38 AM
I understood but many of the other my fellow dotards here possibly did not.

Should there be an API for the WM100 (X10 WiFi unit) an Arduino+ESP8266, standalone ESP8266 or RPi might all be able to communicate with it.