Giter Club home page Giter Club logo

frient-keypad's Introduction

Hi ๐Ÿ‘‹, I'm crijun

A passionate geek from Austria

crijun

- ๐ŸŒฑ Iโ€™m currently learning **all about home automation. Steep learning curve ahead.**

keypad.yaml

I want to build an alarm system. Since most of my devices are Zigbee based, I baught a Frient/Develco KEPZB-110 key pad. Found Code which worked from gibhub user AndrejDelany, but it had some things missing (e.g. night arm), some things which I just didn't like (use code to arm, no night arm mode, SOS button didn't work, etc.). So I copied the code, minified it and adapted it to my needs. Feel free to steal my code if you want to adapt it. :)

Requirement

zigbee2mqtt installed

Activation of alarm control panel in HA

Add the following code to your configuration.yaml (/config/configuration.yaml):


alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: "1234"
    code_arm_required: false
    arming_time: 30
    delay_time: 20
    trigger_time: 4
    disarm_after_trigger: false
    disarmed:
      trigger_time: 0
    armed_home:
      arming_time: 0
      delay_time: 0

Don't forget to change the code from "1234" to your custom code to disarm the system.

Behaviour

You don't need a code to arm it. I hate overhead.

Buttons:

  • The key lock button: Arms away the system
  • The Home button: Arms home for day usage
  • The Moon with clouds button: Arms home for night usage
  • SOS button: Needs to be pressed 3x in a row quickly to work, custom action can be configured
  • Unlocking with num buttons and open lock: There are 2 options to disarm - 1: Disarm normally with normal pin code und press unlock button - 2: Disarm in emergency mode -> disarms system normally but triggers an additional action that can be configured

Beeping

When arming, the beeping sound is only configured in armed away mode. Night Mode is arming too, but silent. Home has no arming and therefore no beeping. Pending/Trigger also has no sound.

Switching between arm profiles

There is a specific behaviour for switching between arm modes:

  • Home<->Night: You can switch with a button press without having to disarm first
  • Home/Night->Away: You can switch with a button press without having to disarm first
  • Away->Home/Night: Needs to be disarmed first before being able to change

Actions on arm states

The only actions you can configure in the blueprint are the:

  • SOS button
  • Emergency pin code action

Actions for home/night/away states are not configurable since I have a seperate Automation which gets called when the state of the alarm changes. I just like it better to split it up.ย 

Questions?

I have a forum post in HA forum. Feel free to suggest other ideas but I will only add things if I need it for my system since I want to have everything as minimal as possible. Also I am very new to home automation/assistant... yesterday I didn't even know what a blueprint is so please don't rely too much on it without looking at it first ;)

frient-keypad's People

Contributors

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