Coder Social home page Coder Social logo

alarmo-display's Introduction

alarmo-display

alarmo-display is a project that provides an interface for the alarmo HomeAssistant integration. It allows you to arm and disarm your alarm system via a touchscreen keypad. This project is designed to work specifically with the following hardware:

  • MCU: NodeMCU V2 (ESP8266)
  • TFT screen Driver: ILI9341
  • Touchscreen Driver: XPT2046

alarmo-display communicates with the alarmo integration using MQTT.

Features

  • Easily arm and disarm your alarm system via a touchscreen keypad.
  • MQTT integration ensures real-time communication with the alarmo HomeAssistant integration.
  • Configurable settings to adapt to your specific requirements.

Installation

To set up alarmo-display, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/mineiwik/alarmo-display.git
  2. Open the project with VSCode and make sure the PlatformIO extension is installed.

  3. Copy and rename the secrets.ini.example file to secrets.ini

  4. Configure the project by editing the secrets.ini file to match your MQTT broker settings, WiFi settings and other preferences.

  5. Build and flash the binary using the PlatformIO interface.

  6. Enjoy controlling your alarm system with the alarmo-display touchscreen interface!

Contributing

Contributions to alarmo-display are welcome! If you'd like to improve this project, please feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

alarmo-display's People

Contributors

mineiwik avatar

Watchers

 avatar

alarmo-display's Issues

Uploading OTA firmware faild

Hello and thanks for your code.
Im trying to flash but im getting the folowing error.

Processing nodemcuv2_ota (platform: espressif8266; board: nodemcuv2; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (4.2.1) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:

  • framework-arduinoespressif8266 @ 3.30102.0 (3.1.2)
  • tool-esptool @ 1.413.0 (4.13)
  • tool-esptoolpy @ 1.30000.201119 (3.0.0)
  • tool-mklittlefs @ 1.203.210628 (2.3)
  • tool-mkspiffs @ 1.200.0 (2.0)
  • toolchain-xtensa @ 2.100300.220621 (10.3.0)
    LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 46 compatible libraries
    Scanning dependencies...
    Dependency Graph
    |-- Adafruit GFX Library @ 1.11.9
    |-- Adafruit ILI9341 @ 1.6.0
    |-- XPT2046_Touchscreen @ 0.0.0-alpha+sha.26b691b2c8
    |-- Adafruit BusIO @ 1.15.0
    |-- Wire @ 1.0
    |-- PubSubClient @ 2.8.0
    |-- ESP8266WiFi @ 1.0
    |-- ArduinoOTA @ 1.0
    |-- SPI @ 1.0
    Building in release mode
    Retrieving maximum program size .pio\build\nodemcuv2_ota\firmware.elf
    Checking size .pio\build\nodemcuv2_ota\firmware.elf
    Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
    RAM: [==== ] 36.5% (used 29936 bytes from 81920 bytes)
    Flash: [==== ] 39.5% (used 412404 bytes from 1044464 bytes)
    Configuring upload protocol...
    AVAILABLE: espota, esptool
    CURRENT: upload_protocol = espota
    Uploading .pio\build\nodemcuv2_ota\firmware.bin
    18:03:51 [DEBUG]: Options: {'esp_ip': '192.168.1.199', 'host_ip': '0.0.0.0', 'esp_port': 8266, 'host_port': 31055, 'auth': '', 'image': '.pio\build\nodemcuv2_ota\firmware.bin', 'spiffs': False, 'debug': True, 'progress': True}
    18:03:51 [INFO]: Starting on 0.0.0.0:31055
    18:03:51 [INFO]: Upload size: 416560
    18:03:51 [INFO]: Sending invitation to: 192.168.1.199
    18:04:01 [ERROR]: No Answer
    *** [upload] Error 1
    ======================================================================== [FAILED] Took 13.80 seconds ========================================================================
    Environment Status Duration

nodemcuv2 SUCCESS 00:00:28.444
nodemcuv2_ota FAILED 00:00:13.799
=================================================================== 1 failed, 1 succeeded in 00:00:42.242 ===================================================================

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.