Created
July 7, 2020 14:01
-
-
Save CODeRUS/23c24f6ee3a2ab4353a231a5eee0bff9 to your computer and use it in GitHub Desktop.
Revisions
-
CODeRUS created this gist
Jul 7, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,51 @@ esphome: name: water_consumption_kitchen platform: ESP8266 board: nodemcuv2 platformio_options: platform: "[email protected]" 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"