Hayward pool heater with custom component

Hi everyone!

I’m happy to share that I got my Hayward pool heat pump connected to Home Assistant.

I used a Wemos D1 mini with a TTL to RS485 adapter and wrote a custom ESPHome component to interface with it, pulling sensor data and controlling settings like temperature and mode.

This is the device:

And here are some screenshots from Home Assistant.

The project is fully documented here: Hayward heat pump - connecting to ESPHome and HomeAssistant | Leontin Chiru

The new components is in the hayward branch of my esphome fork.
This branch also has some changes to the modbus component that I made.

If anyone has a similar heat pump, please give it a try.
The yaml configuration needed to use it:

uart:
  tx_pin: 1
  rx_pin: 3
  baud_rate: 9600

logger:
  baud_rate: 0

external_components:
  - source:
    type: git
    url: https://github.com/cleontin/esphome
    ref: hayward
  components: [ modbus, hayward ]

modbus:
  flow_control_pin: 2
  role: server

hayward:
  accept_broadcast: true
  server_address: 2

time:
  platform: homeassistant

I’m looking forward for any type of feedback.

Thanks!

1 Like