Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

ruudk/esp32-homekit-contact-and-temperature-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Homekit Demo

Just playing around with esp-homekit and a breadboard.

Breadboard has a reed switch and a DHT11 temperature sensor.

How to install

  1. Initialize and sync all submodules (recursively):
git submodule update --init --recursive
  1. Remove 2 files that are not needed:
rm components/homekit/src/mdnsresponder.*
  1. Copy wifi.h.sample -> wifi.h and edit it with correct WiFi SSID and password.
  2. Install esp-idf by following instructions on esp-idf project page. At the end you should have xtensa-esp32-elf toolchain in your path and IDF_PATH environment variable pointing to esp-idf directory.
  3. Configure project:
make menuconfig

There are many settings there, but at least you should configure "Serial flasher config -> Default serial port". Also, check "Components -> HomeKit" menu section.

  1. Build example:
make all
  1. To prevent any effects from previous firmware (e.g. firmware crashing right at start), highly recommend to erase flash:
    make erase_flash
  1. Upload firmware to ESP32:
    make flash monitor

To exit the monitor, simply press CONTROL + ]

About

Just playing around with my ESP32 and Homekit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published