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
| # HA Dashboard Kiosk - Counter helpers | |
| # Add to configuration.yaml: homeassistant: packages: !include_dir_named packages | |
| # Or include: packages: !include_dir_merge_named packages | |
| # Place this file in config/packages/ (create the folder if needed) | |
| counter: | |
| ha_idle_start_wh: | |
| name: Kiosk Idle Start | |
| initial: 0 | |
| step: 1 |
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: HA Dashboard Kiosk Webhook | |
| description: | | |
| React to kiosk events (idle, fade, admin, error) from HA Dashboard Kiosk app. | |
| Works with BOTH REST API and Webhook. REST = app sends to /api/events/ha_dashboard_kiosk. | |
| Webhook = app sends to /api/webhook/ha-dashboard-kiosk-wh (enable "Use webhook" in app). | |
| Increments counters, fires kiosk_event_received, optionally notifies. | |
| Requires counters - create via Settings → Helpers or use the package below. | |
| domain: automation | |
| input: |
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
| <?php | |
| /** | |
| * Magento | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Open Software License (OSL 3.0) | |
| * that is bundled with this package in the file LICENSE.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/osl-3.0.php |
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
| <head> | |
| <!-- MOBILE SETTINGS --> | |
| <meta name="viewport" content="width = device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" /> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black" /> | |
| <!-- END MOBILE SETTINGS --> | |
| <!-- Javascript Libraries --> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
| <script type="text/javascript" src="https://raw.githubusercontent.com/carhartl/jquery-cookie/master/jquery.cookie.js"></script> |