Giter Site home page Giter Site logo

isabellaalstrom / hass-custom-alarm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akasma74/hass-custom-alarm

0.0 1.0 0.0 2.53 MB

It is a fork of "Yet another take on a home assistant custom alarm" that will exist until its author is back to our Earth

Python 21.11% HTML 46.41% CSS 14.54% JavaScript 17.93%

hass-custom-alarm's Introduction

BWAlarm (ak74 edition)

Disclaimer

This fork was created to maintain the original bwalarm custom component until its author is back.
The discussion thread on Home Assistant Community to share ideas or ask for help (NOT to report a bug!) is here.
Feel free to open a new issue or make a Pull Request.
Any constructive feedback/suggestion is welcome.

How to: installation

Manually:
Copy the following folders into your home assistant configuration directory:

  custom_components/bwalarm/  The alarm system code, resources and documentation there
  resources                   This folder stores your alarm configuration file and some user data (i.e badges)

Using HACS (you need to have HACS already installed and configured):

  1. Click on Community in the left hand side menu on Home Assistant frontend
  2. Click Store
  3. Scroll down until you see BWAlarm (ak74 edition) and click on it
  4. If necessary, select Show Beta from the drop-down menu under SETTINGS
  5. Optionally, select version from Available versions drop-down list (it has the latest one selected by default).
  6. Click INSTALL and wait until it's done
  7. If you don't have resources folder in your <Home Assistant config folder> folder, you may need to create one
  8. Save bwalarm folder into your local <Home Assistant config folder>/resources folder
  9. Configure the alarm.

To get things working with Home Assistant (HA) you need to add the following to your configuration.yaml:

alarm_control_panel: !include resources/bwalarm/bwalarm.yaml

You may need to restart HA if the integration doesn't load first time as HA will need to install a dependency (ruamel.yaml).

It's advisable to start with a new bwalarm.yaml file (located in resources/bwalarm folder) with the minimum configuration set:

platform: bwalarm

You can always configure your alarm using web interface or by editing your bwalarm.yaml directly.
The default password to access the Settings tab of the panel is HG28!!&dn
For more details please refer to the configuration variables page, examples and notes.

How to: update

Manually:
Currently the update process is pretty much similar to installation:

  1. Copy a new release archive/clone the repository from GotHub to a local folder on your computer.
  2. You only need to copy custom_components/bwalarm folder from the downloaded release into your <Home Assistant config folder>/custom_components folder.
  3. Please note that you DON'T need to overwrite <Home Assistant config folder>/resources folder as it contains your integration's configuration file (and possibly some additional resources).

Using HACS:

  1. Click on Community in the left hand side menu on Home Assistant frontend
  2. Click on BWAlarm (ak74 edition) in Integrations
  3. Click UPGRADE

Bear in mind that if you use this method, it only updates <Home Assistant config folder>/custom_components/bwalarm/ folder and ALL user data inside that folder will be lost upon every update!
Updating by using HACS (even if you initially installed the integration manually) does not overwrite user settings as these are stored in the <Home Assistant config folder>/resources folder.

After update (for all methods)

Please note that the component's code is loaded on Home Assistant startup and the panels' code (panel.html) is cached by a browser.
Therefore, every time you update no matter how, you HAVE to clear cache of ALL of your browsers and then RESTART Home Assistant for changes to take effect.

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.