Coder Social home page Coder Social logo

alarm-server's Introduction

alarm-server Configuration

Installing

alarm-server requires some python dependencies to run.

pip install paho-mqtt
pip install python-daemon

Configuring the Server

MQTT Server Configuration

  • If your MQTT server is running locally or on the same box as the server listener, you can likely leave the settings as default.
  • If you need to adjust anything, you can do so in alarmserver.conf

Configuring allowed panel addresses

  • Allowed panel addresses should be entered in tab separated format innto /etc/alarmserver/accounts.conf (or wherever you configure this file to be - see alarmserver.conf)
  • Example: 1234 192.168.1.2 where 1234 is the account number you configure in Wintex/On Panel.

Configuring the Alarm Panel

The simplest method to configure the server and panel communication is to use Wintex to configure the ARC settings.

Using Wintex

Disclaimer! It's easy to overwrite configurations, misconfigure or break your panel's current working configuration using Wintex. Please be sure you're confident in using wintex before proceeding - and always remember to take a backup, or at the very least receive all data first!

  • Connect to your Panel
  • Navigate to the Comms page
  • Select the ARCs tab
  • Find an empty ARC slot
  • Enter the IP address and port of your server in the Pri Tel No field in the format ip/port (For example 192.168.1.92/10500)
  • Ensure Connect via IP is checked
  • Save / send current page.

Running the Server

python alarmrx.py

Subscribing to Messages

Topics:

  • /alarms/{account-num}/event
  • /alarms/{account-num}/message
  • /alarms/{account-num}/status

alarm-server's People

Contributors

srleach avatar mikestir avatar

Watchers

James Cloos avatar Sam Bartle 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.