Created
July 7, 2020 14:01
-
-
Save CODeRUS/23c24f6ee3a2ab4353a231a5eee0bff9 to your computer and use it in GitHub Desktop.
ESPHome water consumption kitchen
This file contains 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
esphome: | |
name: water_consumption_kitchen | |
platform: ESP8266 | |
board: nodemcuv2 | |
platformio_options: | |
platform: "espressif8266@2.5.3" | |
wifi: | |
ssid: !secret ap_name | |
password: !secret ap_password | |
fast_connect: true | |
logger: | |
api: | |
password: !secret api_password | |
ota: | |
password: !secret ota_password | |
binary_sensor: | |
- platform: status | |
name: "water_consumption_kitchen_status" | |
- platform: gpio | |
name: "water_consumption_kitchen_cold" | |
pin: | |
number: D5 | |
mode: INPUT_PULLUP | |
filters: | |
- delayed_on: 100ms | |
- delayed_off: 100ms | |
- platform: gpio | |
name: "water_consumption_kitchen_hot" | |
pin: | |
number: D6 | |
mode: INPUT_PULLUP | |
filters: | |
- delayed_on: 100ms | |
- delayed_off: 100ms | |
- platform: gpio | |
name: "water_consumption_kitchen_clean" | |
pin: | |
number: D7 | |
mode: INPUT_PULLUP | |
filters: | |
- delayed_on: 100ms | |
- delayed_off: 100ms | |
sensor: | |
- platform: uptime | |
name: "water_consumption_kitchen_uptime" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment