Code Monkey home page Code Monkey logo

ekey_home_rs485's Introduction

ekey home converter LAN rs485 HomeAssistant integration

This integration can only read the data from the so called home-protocol. When using the home-protocol the ekey home rs485 sends packets as a underscore delimited string.

home-protocol packet details:

1       _ 0046    _ 4         _ 80156809150025 _ 1      _ 2
^         ^         ^           ^                ^        ^
PAKETTYP  USER ID   FINGER ID   SERIENNR FS      AKTION   RELAIS

For details see ekey home rs 485 manual

Install

  • Download the zip file and extract it
  • Rename the folder to ekey_home_rs485
  • Move the folder to HomeAssistant config/custom_components/

⚠️ Important!

  • Ensure you configured the "Sender Port" and "Receiver IP address" correctly and the "Protocol type" is set to "home" in the "ekey home converter LAN config" Windows app.
  • Ensure other integrations do not already use the configured IP_ADDRESS:PORT combination, E.g. NodeRed might do this. So you have to configure a different port!

Configuration

This custom integration will add the platform ekey_home_rs485.

sensor:
  - platform: ekey_home_rs485
    ip_address: <ekey rs485 ip address>
    port: 56000 # Default port
    user_mapping:
      - ekey_user_id: 46 # The ekey user id without the leading zero(s)
        ha_username: david # HomeAssistant username/login for mapping
      - ekey_user_id: 47
        ha_username: maria

Todo

  • Fire an event when data changes. Trigger event even though the same finger was used.
  • Add config flow
  • Attach the sensor state to the user entity?!
  • [-] Autodiscovery would be nice, swipe on device let HA know that there is some sort of fingerprint device available?! Nah, this will not work.

ekey_home_rs485's People

Contributors

ochorocho avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ekey_home_rs485's Issues

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.