Skip to content

ESP-IDF based software for controlling a Mitsubishi Heatpump via the CN105 interface

Notifications You must be signed in to change notification settings

awong-dev/hackvac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

98c8cc3 · Nov 12, 2019
Nov 11, 2018
Nov 12, 2019
Jun 27, 2019
May 2, 2018
Jun 27, 2019
Jun 21, 2019
Jun 20, 2019
May 2, 2018
Oct 9, 2018
Oct 16, 2018
May 2, 2018
Oct 9, 2018
Oct 25, 2018

Repository files navigation

HackVac

Build Status

Hacking my heatpump for fun and...likely cold and ruins... (actually probably not cause this is going to be done super carefully but it's a fun image).

third_party contains the xtensa-esp32-elf gcc toolchain and the esp-idf download.

wget https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
tar xzf xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
git clone --recursive https://github.com/espressif/esp-idf.git

Next setup python virtualenv:

virtualenv venv
source venv/bin/activate
pip install -r

To build, from the src directory:

make -j5 all

Or to use the Makefile's little serial monitor/flash interface run

make monitor

The initial configuration will have the esp32 create a config wifi network called hackvac_setup with setup cn105rulez.

Unittests

make -f Makefile.host host_build/include/sdkconfig.h
make -f Makefile.host host_build/include/sdkconfig.h  # Twice to ensure creation.
TEST_COMPONENTS=". esp_cxx" make -f Makefile.host V=1 host_build/hackvac_host 

TODOs

  1. Wire up logging to udp port.
  2. Sort out main/event_log.h
  3. Sort out representation of device view of settings vs what is being pushed.
  4. Unittest HalfDuplexChannel timings.
  5. Deploy to device. Design real smoke and burn-in test.
  6. Deploy for real.

About

ESP-IDF based software for controlling a Mitsubishi Heatpump via the CN105 interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published