Author Topic: X10 ESP8266 WiFi interface  (Read 61 times)

Jeff

  • Administrator
  • Hero Member
  • *****
  • Posts: 216
    • Owner, JV Digital Engineering
X10 ESP8266 WiFi interface
« on: December 05, 2017, 04:48:35 PM »
This thread concerns the possible development of an alternate X10 WiFi interface using the ESP8266 to replace the serial interface in the XTB-232.  The goal is to provide a robust X10 powerline interface with a WiFi interface to a controller using the CM11A protocol.  I have already confirmed it is possible to replace the serial interface circuitry on the XTB-232 PCB with the ESP-0S1 WiFi board, and will be working on a prototype PCB as time permits.

Jeff
X10 automation since the BSR days...

daveh

  • Newbie
  • *
  • Posts: 2
Re: X10 ESP8266 WiFi interface
« Reply #1 on: December 06, 2017, 06:57:24 AM »
In addition to the hardware which Jeff is working on, we need ESP8266 firmware which will serve as a simple WiFi to Serial adapter. It needs to configure the UART for 4800bps and merely pass comms traffic to/from the XTB hardware. I may be able to create this using ZBasic for ESP8266 but if there's anyone fluent in C/C++ they might be able to modify the esp-link code at...
     https://hackaday.com/2015/09/18/transparent-esp8266-wifi-to-serial-bridge/
to meet our needs.
 
Here are two other links which may be helpful.
     http://espressif.com/sites/default/files/documentation/esp8266-technical_reference_en.pdf
     http://espressif.com/en/products/hardware/esp8266ex/resources
     
We also need Apps and applications to interface with the hardware once it is ready.     

daveh

  • Newbie
  • *
  • Posts: 2
Re: X10 ESP8266 WiFi interface
« Reply #2 on: December 07, 2017, 01:27:41 PM »
I think I've found what may be a preliminary solution. Here's another compiled Transparent WiFi-Serial firmware...
     https://github.com/beckdac/ESP8266-transparent-bridge
and here's a Virtual Serial Port for Windows that connects via TCP...
     https://www.hw-group.com//products/hw_vsp/index_en.html

As time allows, I'll flash an ESP-01 with the bridge firmware. Then I'll install the virtual port and connect the ESP-01 to a CM11A for testing.

Tuicemen

  • Administrator
  • Hero Member
  • *****
  • Posts: 267
  • Software Developer
    • Tuicemens Software
Re: X10 ESP8266 WiFi interface
« Reply #3 on: December 07, 2017, 02:09:49 PM »
Since simple web calls is what the ESP will be listening for the Apps and Applications should only need to do Get, Puts, Deletes and listen for responses.
Postman for Chrome makes playing with those easy and helpful for debugging.
X10 turned me into a Software programmer.
A warning label should have been added ;)