Giter Site home page Giter Site logo

frederictobiasc / esp32-keyble-homeassistant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lapy/esp32-keyble-homeassistant

0.0 0.0 0.0 817 KB

Use an esp32 as gateway for the Eqiva Bluetooth smart lock to integrate it in Home Assistant as MQTT lock

License: GNU Lesser General Public License v3.0

C++ 100.00%

esp32-keyble-homeassistant's Introduction

esp32-keyble-homeassistant

Use an ESP32 Ethernet Gateway by Olimex (https://www.olimex.com/Products/IoT/ESP32/ESP32-GATEWAY/open-source-hardware) for the Eqiva Bluetooth smart lock to integrate it in Home Assistant as MQTT lock.

Key points:

  • Use of NimBLE-Arduino library (lower memory usage, less crashes!)
  • Always-on Bluetooth connection (zero-delay control of the lock with minimal battery impact!)
  • Home Assistant MQTT lock entity autoconfiguration!
  • Various tweaks to avoid unnecessary logic

The project has been fully tested on the Olimex hardware above (I have the one with external antenna for maximum signal) successfully and it has been running rock solid for a few months. It might be working for similar ESP32 hardware with on-board Ethernet with minimal or no modification.

How to install:

Pre-requisites not covered here:

  • Installed VSCode + Platformio plugin
  • Installed Olimex ESP32 USB drivers
  • MQTT server configured and running
  • HomeAssistant server configured, running and paired to the MQTT server
  • Eqiva Lock credentials generated using the guide in the project: https://github.com/oyooyo/keyble

Steps:

  • Clone the repo
  • Open the project with VSCode + Platformio
  • Edit the configuration parameters in src/main.cpp to add your credentials for MQTT and Eqiva Lock
  • Connect and flash to the Olimex device
  • A lock entity should now appear on your HomeAssistant server, enjoy!

Based on the great work of:

tc-maxx/esp32-keyble lumokitho/esp32-keyble MariusSchiffer/esp32-keyble oyooyo/keyble

esp32-keyble-homeassistant's People

Contributors

lapy 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.