Tuicemen.com

Advanced search  

News:

Alex10  (Build 1.5.3.7 ) is now  available for download ~:0~

Pages: [1]

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

daveh

  • Newbie
  • Helpful Rating: 0
  • Offline Offline
  • Posts: 3
X10 ESP8266 WiFi interface
« on: December 06, 2017, 09:32:01 am »

Jeff Volp has started a similarly named thread on his forum with this...
Quote
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.

I'd like to add that 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. If we can make the baudrate a user settable option this will give us a universal WiFi-Serial adapter which might be used with other hardware.
 
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.
« Last Edit: December 06, 2017, 09:33:55 am by daveh »
Logged

daveh

  • Newbie
  • Helpful Rating: 0
  • Offline Offline
  • Posts: 3
Re: X10 ESP8266 WiFi interface
« Reply #1 on: December 07, 2017, 01:30:24 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.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • *****
  • Helpful Rating: 24
  • Offline Offline
  • Posts: 3196
  • Making Home Automation Fun!
    • Tuicemen.com
Re: X10 ESP8266 WiFi interface
« Reply #2 on: December 07, 2017, 01:49:25 pm »

I look forward to reading about your progress.
I don't expect apps or software for interfacing will be to much of an issue, but I've been wrong before. All firmware I've seen for these have some sort of web UI even though simple it will be a starting point for setting user IDs, Passwords, and maybe a static IP and port.
A simple web request should work for the commands from an app. ;>
Logged
Get the inside scoop and member perks in the
Members Only Section!

Please don't email me Automation questions 
The forum is for that!
Pages: [1]