Skip to content

ESP8266 esphome configuration to read Xantrex GT2.8 data via serial port.

Notifications You must be signed in to change notification settings

clockbrain/xantrex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESPHome custom component to read Xantrex GT2.8 solar inverter values via RS232.

esp8266 with RS232 module directly connected

Uses the UART capability within esphome but uses regular component rather than pollingcomponent due to Xantrex solar inverter taking just over 2 seconds to respond to each command. So the esphome custom component implements 2 timers: (i) delay between command cycles (5 minutes) and (ii) delay after issuing each command before attempting to read the response (2.5 seconds). Subsequent commands are issues immediately after a response is read unless it is the last command in the group.

If you align the headers on the Wemos d1 mini with the RS232 module you can plug them directly without using jumper wires. Hence using D4 for tx and D3 for rx.

A crossover cable may be required. I was previously using a Raspberry Pi with an extension serial cable wired through conduit and couldn't remember if that was crossover or not. I found I did need to add a crossover to get the esp8266 working.

About

ESP8266 esphome configuration to read Xantrex GT2.8 data via serial port.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages