Add fire_pit_fountain

This commit is contained in:
ChNussbaum 2020-01-01 20:59:06 -06:00
parent 1033d0d0a6
commit 34ee4376ad
2 changed files with 69 additions and 0 deletions

View File

@ -13,6 +13,10 @@ This is a [NodeMCU](https://www.amazon.com/gp/product/B010N1SPRK/ref=ppx_yo_dt_b
## Feit Dimmers
I have a couple of [Feit Dimmers](https://www.costco.com/feit-electric-smart-dimmer%2c-3-pack.product.100518151.html) (Kitchen Table and Office) I bought as a 2 pack at Costco. This is a pretty basic config that replaces the original firmware. I re-flashed these using [Tuya-Convert](https://github.com/ct-Open-Source/tuya-convert).
## Fire Pit and Fountain
This is a [WEMOS D1 Mini Pro](https://www.amazon.com/gp/product/B07G9HZ5LM/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) that is connected to a couple of [relays](https://www.amazon.com/gp/product/B0057OC6D8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) and a couple of water proof push buttons [red](https://www.amazon.com/gp/product/B079GNNSRP/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) and [blue](https://www.amazon.com/gp/product/B079GK565N/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1). The multi-click config on the fire pit switch is so that any press will turn it off but to turn it on you have to press it for 5 seconds (to try and prevent kids from turning it on). This will be used to control my combination fire pit and fountain in my backyard when I am done rebuilding it. I have done some testing at my desk but this is not fully hooked up yet so there may be some bugs (winter came to fast).
## Garage Fridge
This is a [NodeMCU](https://www.amazon.com/gp/product/B010N1SPRK/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) that I have installed in the back of my garage fridge and is connected to several [temperature sensors](https://www.amazon.com/gp/product/B012C597T0/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) that monitor the temperature of the compressor, the fridge, and the freezer and a pair of [relays](https://www.amazon.com/gp/product/B0057OC6D8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) that control a [heat tape](https://www.amazon.com/gp/product/B07HHB1R5S/ref=ox_sc_act_title_1?smid=A1KEJ1ZBUGV6FW&psc=1) wrapped around the compressor and a couple of [heaters](https://www.amazon.com/gp/product/B07GXSDMR2/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) that are inside the fridge. This is to prevent the compressor from getting to cold (when it is cold the oil thickens up which is hard on the compressor), the fridge from dropping below freezing (frozen beer is no fun), and the freezer from getting to warm (when temperatures in the garage are around the desired fridge temperature the freezer tends to get to warm because of lack of cooling demand from the fridge so we warm the fridge up a little to get it to kick in the compressor).

65
fire_pit_fountain.yaml Normal file
View File

@ -0,0 +1,65 @@
substitutions:
device_id: fire_pit_fountain
device_name: Fire Pit and Fountain
platform: ESP8266
board: d1_mini_pro
ip_address: !secret fire_pit_fountain_ip
ota_pwd: !secret fire_pit_fountain_ota_pwd
api_pwd: !secret fire_pit_fountain_api_pwd
ap_wifi_pwd: !secret fire_pit_fountain_ap_wifi_pwd
esphome:
<<: !include common/esphome.yaml
<<: !include common/common.yaml
<<: !include common/logger/logger.yaml
binary_sensor:
- !include common/binary_sensor/status.yaml
- platform: gpio
id: fountain_toggle
pin:
number: D6
mode: INPUT_PULLUP
inverted: True
on_press:
then:
- switch.toggle: fountain
- platform: gpio
id: fire_pit_toggle
pin:
number: D7
mode: INPUT_PULLUP
inverted: True
on_multi_click:
- timing:
- ON for at least 5s
then:
- switch.toggle: fire_pit
- timing:
- ON for at most 5s
then:
- switch.turn_off: fire_pit
sensor:
- !include common/sensor/uptime.yaml
- !include common/sensor/wifi.yaml
switch:
- !include common/switch/restart.yaml
- platform: gpio
id: fountain
name: "Fountain"
icon: mdi:fountain
pin: D1
inverted: false
- platform: gpio
id: fire_pit
name: "Fire Pit"
icon: mdi:fire
pin: D2
inverted: false
text_sensor:
- !include common/text_sensor/version.yaml
- !include common/text_sensor/wifi.yaml