This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: 🚪 Contact Sensor Left Open Notification by Malte | |
| description: | | |
| 📲 Notifies you when a door or window is left open. | |
| 🚀 Version 2024.04.23.1 | |
| Are you tired of worrying about open doors or windows? This blueprint has got you covered! It's designed to send you a prompt notification when a door or window remains open for a specified duration. | |
| 📖 For Details see this [Blog post](https://community.home-assistant.io/t/contact-sensor-door-or-window-left-open-notification/652571) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REGIONS = { | |
| 'Auvergne-Rhône-Alpes': ['01', '03', '07', '15', '26', '38', '42', '43', '63', '69', '73', '74'], | |
| 'Bourgogne-Franche-Comté': ['21', '25', '39', '58', '70', '71', '89', '90'], | |
| 'Bretagne': ['35', '22', '56', '29'], | |
| 'Centre-Val de Loire': ['18', '28', '36', '37', '41', '45'], | |
| 'Corse': ['2A', '2B'], | |
| 'Grand Est': ['08', '10', '51', '52', '54', '55', '57', '67', '68', '88'], | |
| 'Guadeloupe': ['971'], | |
| 'Guyane': ['973'], | |
| 'Hauts-de-France': ['02', '59', '60', '62', '80'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install dependencies | |
| # | |
| # * checkinstall: package the .deb | |
| # * libpcre3, libpcre3-dev: required for HTTP rewrite module | |
| # * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module | |
| apt-get install checkinstall libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \ | |
| OLD_DIR=`pwd` && \ | |
| WDIR=~/sources/ && \ | |
| OPENSSL_VER=1.0.1h && \ |