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
#měřič spotřeby vody pro Energie | |
template: | |
- sensor: | |
- name: "Watermeter" | |
unique_id: water_meter_in_l | |
unit_of_measurement: L | |
device_class: water | |
state_class: total_increasing | |
state: "{{ states('counter.counter_water_pulses')|int }}" | |
# Counter |
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
/* | |
control app https://x.thunkable.com/copy/e8f633a8a9a3e979025112e18446d3b4 | |
Video: https://www.youtube.com/watch?v=oCMOYS71NIU | |
Based on Neil Kolban example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleNotify.cpp | |
Ported to Arduino ESP32 by Evandro Copercini | |
Create a BLE server that, once we receive a connection, will send periodic notifications. | |
The service advertises itself as: 6E400001-B5A3-F393-E0A9-E50E24DCCA9E | |
Has a characteristic of: 6E400002-B5A3-F393-E0A9-E50E24DCCA9E - used for receiving data with "WRITE" | |
Has a characteristic of: 6E400003-B5A3-F393-E0A9-E50E24DCCA9E - used to send data with "NOTIFY" |
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
/** | |
* @license AngularJS v1.0.6 | |
* (c) 2010-2012 Google, Inc. http://angularjs.org | |
* License: MIT | |
* | |
* TODO(vojta): wrap whole file into closure during build | |
*/ | |
/** | |
* @ngdoc overview |
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 | |
/** | |
* This file is part of the Nette Framework. | |
* | |
* Copyright (c) 2004, 2010 David Grudl (http://davidgrudl.com) | |
* | |
* This source file is subject to the "Nette license", and/or | |
* GPL license. For more information please see http://nette.org | |
* @package Nette\Caching |