Skip to content

thomasvt1/xtend-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xtend-bridge

This is small writeup/howto to connect the Intergas Xtend hybrid heat-pump to Home Assistant.

Requirements

How it works

This setup 'abuses' the AP mode of the Xtend by polling the Xtend API every 10 seconds, all output is printed and send to the second ESP (now called ESP2) where we run a ser2net server. Node-RED is subscribed to this ser2net server and validates/parses the data received. After this is done data is sent to Home Assistant using the Node-RED Home Assistant plugin

Xtend Data Flow

Setup

Setting up the first ESP8266

The first ESP8266 will connect to the Xtend heatpump, currently this is only possible when the Xtend is in 'AP mode' (purple light blinking). So after flashing the ESP don't forget to push the button on the Xtend.

Steps

  1. Download and edit this file, change line 35 with your Xtend's WiFi SSID and password
  2. Flash the ESP-1.ino file on ESP1

Setting up the second ESP8266

The second ESP will connect with serial to ESP1, and allow us to bridge the serial from ESP1 to your local network.

Steps

  1. Download and edit this file, change the secrets
  2. Setup ESPHome if you haven't already (link)
  3. Flash ESP2-2.yaml on ESP2 with ESPHome

Wiring the ESP's

For the serial connection to work we need to connect 3 pins, use the follwing schema to connect them: photo

ESP1 ESP2
GND GND
5V 5V
TX RX

Setting up Node-RED

Node-RED will connect to ESP-2 with a ser2net client, convert and parse the data and send it to Home Assistant using Node-RED Home Assistant plugin.

Steps

  1. Import flows.json into Node-RED
  2. If you haven't set-up the Node-RED Home Assistant plugin, use this documentation
  3. Open the first node 'xtend-gateway' and change the IP address to the IP-address of ESP2
  4. Deploy the flow

Home Assistant

Home Assistant just requires a few things to get your Xtend data available

Steps

  1. Install Node-RED companion link
  2. Restart Home Assistant
  3. Add the 'Node-RED Companion' by adding it (Settings > Integrations -> Add Integration -> Node-RED Companion)

Checking if it works

Now everything should work! You can go to Settings > Integrations > Node-RED Companion > Xtend and you should see the sensor status Home Assistant Sensor Readings

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published