![]() More information and details on how to do this can be found here: To get the touch screen working with pygame, make sure you're using SDL 1.2. If you follow the instructions in the previous link, simply skip over any section which references X11.Īt this point, you should have a fully-functioning Linux CLI appearing on your TFT! ![]() Note: You do not need an X desktop environment for this project as the software draws directly to the screen's frame buffer. In my case, I ended up installing the latest version of Raspbian Jessie Lite and followed these instructions to get the display working. Adafruit does provide a nice guide and pre-baked OS image which includes these however, this older image does not work properly with the Pi Zero W (wifi is completely broken). The PiTFT display requires special kernel drivers, configuration, and calibration. To add the alarm to Home Assistant, simply drop this into your file: configuration.yml alarm_control_panel:Ī full list of configuration options can be found on the alarm.manual_mqtt documentation page. This relies on having the MQTT platform up-and-running, so make sure you do that first. Home Assistant v0.50 adds the new alarm.manual_mqtt component we'll need to use. Simply connect the PIR sensor to the extra pins on the underside of the display - see the Motion Sensor section further down this page. By adding a PIR motion sensor we can have the screen stay off until someone approaches the keypad, thus prolonging the life of the display. Optional: The software also supports an optional screensaver mode where the screen blacks out after so much time. *I used a Pi Zero W for this project, but any Pi with wifi should work (even one using a USB wifi adapter). PiTFT Plus 480x320 3.5" TFT+Touchscreen display from Adafruit.In my case, I chose to build a solution using a Raspberry Pi with a touchscreen.Īt a minimum, you'll need the following components: I therefore created the new Manual MQTT Alarm component which functions identically to the manual alarm, but also allows two-way communication over MQTT! With this component we can easily build our own remote keypad using any web-connected platform we can imagine. The manual alarm unfortunately doesn't have a single API interface we can use to send arm/disarm commands while also receiving instant state changes from HA. While this works fine, the only way to arm/disarm the device is through the web interface. Eventually I'll be expanding this to include motion sensors and a siren. ![]() If any door opens while the alarm is active, I receive instant push notifications on my phone and computers. In my case, I have several Z-Wave door sensors on all of my exterior doors. You can then use various sensors to determine if/when to trigger an alarm. Among its many features is the ability to implement your own home security alarm system. Home Assistant is an amazing open-source home automation platform. This guide walks you through the creation of the project and provides everything you need to create your own!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |