<commit_before>AlarmDecoder
============

Redis backed utilities for sending and retrieving messages from an Ademco
Vista Alarm to Computer interface board (AD2USB / AD2SERIAL).

## Configuration

Configuration is done through the `AlarmDecoder.config` hash. Options are as
follows:

- `port`: Port for your alarm decoder. Usually something like `/dev/ttyUSB0`
- `baud`: Baud rate for the alarm decoder. Defaults to `8`
- `zones`: List of zone numbers and zone names. e.g.
    `{ 1 => "Front Door", 2 => "Back Door" }`

## Connecting to the alarm

AlarmDecoder uses redis's pub/sub functionality to pass messages between the
alarm decoder box and various services which act on the alarm. A redis server
will need to be running for the libary to work.<commit_msg>Oh Hai Travis [skip ci]<commit_after>AlarmDecoder
============

Redis backed utilities for sending and retrieving messages from an Ademco
Vista Alarm to Computer interface board (AD2USB / AD2SERIAL).

[![Build Status](https://travis-ci.org/jordanbyron/alarm_decoder.svg?branch=master)](https://travis-ci.org/jordanbyron/alarm_decoder)

## Configuration

Configuration is done through the `AlarmDecoder.config` hash. Options are as
follows:

- `port`: Port for your alarm decoder. Usually something like `/dev/ttyUSB0`
- `baud`: Baud rate for the alarm decoder. Defaults to `8`
- `zones`: List of zone numbers and zone names. e.g.
    `{ 1 => "Front Door", 2 => "Back Door" }`

## Connecting to the alarm

AlarmDecoder uses redis's pub/sub functionality to pass messages between the
alarm decoder box and various services which act on the alarm. A redis server
will need to be running for the libary to work.
{'fraction_non_alphanumeric': 0.09826243259436789, 'fraction_numerical': 0.007189934092270821, 'mean_word_length': 4.475409836065574, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3033401', 'n_tokens_mistral': 507, 'n_tokens_neox': 480, 'n_words': 215}