Giter VIP home page Giter VIP logo

esp32-faikin's Introduction

ESP32-Faikin

Everyone knows Daikin make some of the best air conditioners out there, mechanically speaking. Sadly their WiFi control modules are not so good, especially the latest models which are all cloud based, require an internet connection to even work, and are slow.

This code/module provides local control via web interface, MQTT, and HomeAssistant integration, all with no cloud crap.

Wiki: List of supported air-con Please update this with your model

SUPPORT please start a discussion here and I can help.

This is all ESP32 based, but there is also an ESP8266 port of this code.

PCB designs are included, and also available to buy on Amazon UK. Note, whilst Amazon have done some export, some people have used a parcel forwarder for non UK, such as Forward2Me.

Cabling

There have been various discussions on this - Daikin appear to have a standard connector that is S21. They seem to have this in models that even have build in WiFi modules (see image). You need a JST-EH 5 way connector for S21. However the module can also be wired to units that have an X50A connector, with slightly different cabling. The discussions have various comments on this, but please do ask.

251828896-0d572c0d-d937-43cf-9d39-6c7f4d853075

One approach is "jumper wires" using header pins or sockets, e.g

photo_2023-08-29_17-49-13

Why I made this

The history is that, after years of using Daikin air-con in my old home, and using the local http control, in my new house in Wales the WiFi was all cloud based with no local control, and useless, and slow. Just configuring it was a nightmare. I spent all day reverse engineering it and making a new module to provide local control. Pull requests and feature ideas welcome.

How to get one

As mentioned, on Amazon UK - but not available to export everywhere. Forwarding companies are an option.

But also, the PCB designs are published, including production files for JLCPCB. You would also need somethign to program them, such as my Tasmotiser board.

Set-up

Appears as access point with simple web page to set up on local WiFI. On iPhone the setup page auto-loads.

WiFi1

WiFi2

Operation

Local interactive web control page using hostname.local, no app required, no external internet required.

WiFi3

Design

  • KiCad PCB designs included, with JLCPCB production files.
  • 3D printed case STL files
  • Documentation of reverse engineered protocol included

Basically, Daikin have gone all cloudy with the latest WiFi controllers. This module is designed to provide an alternative.

  • Simple local web based control with live websocket status, easy to save as desktop icon on a mobile phone.
  • MQTT reporting and controls
  • Works with Home Assistant over MQTT - note Home Assistant can work with HomeKit
  • Includes linux mysql/mariadb based logging and graphing tools
  • Works with EnvMon Environmental Monitor for finer control and status display
  • or, works with BlueCoinT and Telink BLE temperature sensor as a remote reference in an auto mode
  • Automatically works out if S21 or X50 protocol (used on bigger/ducted units)
  • Backwards compatible direct /aircon/... URLs

Building

Git clone this --recursive to get all the submodules, and it should build with just make. There are make targets for other variations, but this hardware is the make pico version. The make actually runs the normal idf.py to build which then uses cmake. make menuconfig can be used to fine tune the settings, but the defaults should be mostly sane. make flash should work to program. If flashing yourself, you will need a programming lead, e.g. Tazmotizer or similar, and of course the full ESP IDF environment. The modules on Amazon come pre-loaded and can upgrade over the air.

The code is normally set up to automatically upgrade software, checking roughtly once a week. You can change this in settings via MQTT.

If you want to purchase an assembled PCB, see A&A circuit boards or Amazon.

esp32-faikin's People

Contributors

nothing-to-see avatar revk avatar sonic-amiga 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.