Giter VIP home page Giter VIP logo

esp8266-homekit-contact-sensor-elgato-eve-door-window's Introduction

ESP8266  HomeKit Contact Sensor Elgato Eve Door Window

ESP8266 based  HomeKit Contact Sensor that works like Elgato Eve Door & Window using Wi-fi


Instagram URL FaceBook URL YouTube URL

GitHub All Releases GitHub tag (latest by date) Donate

For Usage please read the Build Instructions Wiki page!

This HomeKit enabled sensor works the same as Elgato EVE Door & Window!

Features:

  • Door State (via a simple Door Sensor)
  • Times Opened counting (only in Elgato Eve app)
  • Last Motion displaying (only in Elgato Eve app, not working yet)
  • Opened / Closed Duration displaying (only in Elgato Eve app, not working yet)
  • Reset Times Opened value to 0 (only in Elgato Eve app)
  • Reset button
  • Over-the-Air firmware update (still beta)
  • Data history (not working, not reliable enough)

GPIO12 used for the sensor




Demo:




This project uses the Apple HomeKit accessory server library ESP-HomeKit from @MaximKulkin for ESP-OPEN-RTOS.

Although already forbidden by the sources and subsequent licensing, it is not allowed to use or distribute this software for a commercial purpose.

HomeKit Accessory Protocol (HAP) is Apple’s proprietary protocol that enables third-party accessories in the home (e.g., lights, thermostats and door locks) and Apple products to communicate with each other. HAP supports two transports, IP and Bluetooth LE. The information provided in the HomeKit Accessory Protocol Specification (Non-Commercial Version) describes how to implement HAP in an accessory that you create for non-commercial use and that will not be distributed or sold.
The HomeKit Accessory Protocol Specification (Non-Commercial Version) can be downloaded from the HomeKit Apple Developer page.
Copyright © 2019 Apple Inc. All rights reserved.

esp8266-homekit-contact-sensor-elgato-eve-door-window's People

Contributors

homekidd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

esp8266-homekit-contact-sensor-elgato-eve-door-window's Issues

fails to piar

Hi , this sensor fails to pair have tried 5 times, think the problem lies here

!! HomeKit: Failed to compact data: sector data read error
!!! HomeKit: Failed to write pairing info to flash: max number of pairings

thanks for the code

log is below

ip:192.168.1.49,mask:255.255.255.0,gw:192.168.1.1

wifi_config: Connected to WiFi network
HomeKid > Starting HomeKit Server
Door state was requested (open).
HomeKit: Starting server
!!! HomeKit: Failed to read flash magic
HomeKit: Formatting flash at 0x100000
!!! HomeKit: Failed to erase flash
HomeKit: Generated new accessory ID: BB:B9:90:BB:BA:7E
!!! HomeKit: Failed to write accessory ID to flash
HomeKit: Generated new accessory key
!!! HomeKit: Failed to write accessory key to flash
HomeKit: Configuring mDNS
mDNS announcement: Name=HomeKid-49D1F1-BBB9 [0B]md= Door[06]pv=1.0[14]id=BB:B9:90:BB:BA:7E[07]c#=4161[04]s#=1[04]ff=0[04]sf=1[05]ci=10[0B]sh=sjQC8w== Port=5556 TTL=4500
HomeKit: Got new client connection: 4
HomeKit: [Client 4] Pair Setup Step 1/3
HomeKit: [Client 4] Pair Setup Step 2/3
HomeKit: [Client 4] Pair Setup Step 3/3
!!! HomeKit: Failed to compact data: sector data read error
!!! HomeKit: Failed to write pairing info to flash: max number of pairings
!!! HomeKit: [Client 4] Failed to store pairing (code -2)
HomeKit: [Client 4] Closing client connection

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.