Skip to content

peros550/esp-homekit-multiple-sensors

Repository files navigation

esp-homekit-multiple-sensors

This repository is based on the code and the examples provided by Maxim Kulkin.

https://github.com/maximkulkin/esp-homekit-demo

Detailed instructions on how to use the code found here can be found on Maxim's wiki.

In this repo there are two new examples:

a) multiple_sensors

b) multiple_sensors_ac

The first example creates a multi-sensor device in Homekit. It includes a Temperature, Humidity, Light and Motion sensor. The second example, is like the first example but it also adds a thermostat accessory. With thermostat accessory you can control an A/C through IR commands. Any new features will be added to the second example.

The following hardware can be used: alt text

You may also use the following link to create a ready made shield for wemos D1 mini. https://easyeda.com/peros550/wemos-d1-dht22-ir-pir-lm393_copy

Final project would look like this: alt text alt text

Supported Features: *Dynamic Wifi configuration by creating a soft AP

*OTA updates

*ThingSpeak integration to save temperature & humidity values

*Webserver to configure special features (expiremental)

IR commands

If you are going to use IR, you need to supply your own set of RAW commands for your A/C in this file. You may use Maxim's esp-ir library to capture one by one each command for all modes (heating/cooling/auto/off). For AUTO mode there is only one command, I personally set there my A/C's FAN mode.

BOM

  • 1 wemos d1 mini
  • 1 DHT22 sensor
  • 1 AM312 PIR sensor
  • 1 LDR (i.e. a GL5528)
  • 3 Resistors (18 Ohm, 2.2K, 10K)
  • 1 NPN transistor 2N2222
  • 1 IR LED (Had good results with TSAL6200)
  • 1 push button (is used for homekit reset)

About

A firmware for ESP8266 based devices to be used as Homekit sensors and Thermostats.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy