GithubHelp home page GithubHelp logo

fabiancrg / hayward-pool-heater-mqtt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from njanik/hayward-pool-heater-mqtt

0.0 0.0 0.0 6.63 MB

A sketch to control an Hayward pool heater via MQTT

License: MIT License

C++ 98.48% C 1.52%

hayward-pool-heater-mqtt's Introduction

Hayward pool heater MQTT bridge

This is a little project I've been working for a while now. I'm the owner of a Hayward pool heater (Trevium HP55TR, which is also the same exact model of Hayward energy line pro ) This heat pump use a controller called PC1000. (Now also tested by another user and 100% working on a MONO 50 Basic, which have a controller named CC203 if the online manual is correct) Tested also on a Majestic heat pump (Hayward white label) that is using a PC1001 controller.

I have decoded the data using a small logic sniffer.

The last version of the sketch can now received current parameters and send command to the heatpump. This version of the sketch is working on a wemos d1 mini (using the arduino IDE with arduino core installed)

Shematic

You have to connect the NET pin of the PC1000 controller to your D5 pin of the wemos d1 via a bidirectional level shifter, and connect the PC1000 GND to the GND of your esp8266. The 5v <-> 3.3v level shifter is mandatory because the esp8266 is not 5V tolerant, and the heatpump controller is not working with 3.3v.

On the PC1001 board, you can connect the Wemos on +5V and GND using the connector CN16, then connect NET, +5V and GND to a bi-directional logic level converter (high voltage side) and, on the other side (low voltage side), connect the Wemos +3.3V, GND and D5.

MQTT topics

Data will be published on your MQTT server every few seconds using this topics:

  • pool/power (true / false)
  • pool/mode (heat / cool)
  • pool/automatic_mode (true / false) Automatic = heat or cold according to the programmed temp and the out temperature
  • pool/temp_in (temperature in in celcius)
  • pool/temp_out (temperature out in celcius)
  • pool/temp_prog (programmed temperature in celcius)
  • pool/wifi_rssi (Wifi received Signal Strength Indication)

You will be able to change the settings via this topics:

  • pool/set_power_on (NULL msg)
  • pool/set_power_off (NULL msg)
  • pool/set_mode (HEAT/COOL/AUTO)
  • pool/set_temp (temperature in celcius. You could set half degree. Ex: 27.5)

Demo with a node red UI flow

Special thx to the french arduino community, and especially to plode. Also to this github users: @jruibarroso and @marcphilibert for adding temperature in and wifi rssi data.

Whole reverse engineering topic (in french)

hayward-pool-heater-mqtt's People

Contributors

njanik avatar fabiancrg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.