This repository has been archived by the owner. It is now read-only.
A simple alarm control panel for Home Assistant's manual_mqtt alarm. Designed to run on a Raspberry Pi using an Adafruit 3.5" PiTFT.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 59e559f Jul 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
alarmpanel Update ui.py May 14, 2018
images Initial commit Jul 2, 2017
.env.dist Initial commit Jul 2, 2017
.gitignore Initial commit Jul 2, 2017
LICENSE Initial commit Jul 2, 2017
README.md Add maintenance notice Jul 15, 2018
main.py Briefly sleep between loops to lower CPU usage (and therefore temp) Jul 16, 2017
requirements.txt Add project requirements Jul 27, 2017
screenshot.png Initial commit Jul 2, 2017

README.md

mqtt-control-panel

A simple alarm control panel for Home Assistant's manual_mqtt alarm. Designed to run on a Raspberry Pi using an Adafruit 3.5" PiTFT.

Video of the control panel in action: https://www.youtube.com/watch?v=2Lei8n_aSJI

Instructions for building your own: https://www.hackster.io/colinodell/diy-alarm-control-panel-for-home-assistant-ac1813

Display mockup:

NO LONGER MAINTAINED

As of July 15, 2018 this project is no longer maintained. It should still (probably) work, but I am no longer providing support, fixing issues, or adding new features.

See this community thread to request or offer support: https://community.home-assistant.io/t/diy-touch-screen-alarm-control-panel/23168

If you'd like to use a more-polished alarm control panel, consider these fantastic alternatives by @thanksmister:

Thank you to everyone who supported this project!

Hardware

Requirements

This project requires Python 2.7 with the following packages:

  • paho-mqtt
  • pygame
  • python-dotenv

IMPORTANT: SDL 2.x and SDL 1.2.15-10 have some serious incompatibilities with touchscreen. You can force SDL 1.2 by running a script: https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/pitft-pygame-tips#ensure-you-are-running-sdl-1-dot-2

Configuration

Copy .env.dist to .env and update the values accordingly.