-
Notifications
You must be signed in to change notification settings - Fork 2
/
esp32-nodemcu-test.yaml
executable file
·51 lines (45 loc) · 1.63 KB
/
esp32-nodemcu-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
substitutions:
device_name: esp32-nodemcu-test
device_comment: "ESP-WROOM-32 NodeMCU Test Device"
esphome:
name: ${device_name}
comment: ${device_comment}
platform: ESP32
board: nodemcu-32s
packages:
common: !include templates/common.yaml
dallas:
- pin: GPIO25
update_interval: 5s
sensor:
- platform: dallas
address: 0xB50114551B78AA28
name: "Office Temperature"
id: office_temp
- platform: pulse_counter
pin: GPIO18
unit_of_measurement: 'gal/min'
name: 'Water Pulse Counter'
filters:
- multiply: 10
switch:
- platform: gpio
name: "Blue LED on GPIO2"
pin: GPIO2
- platform: gpio
name: "Red LED on GPIO19"
id: red_led
pin: GPIO19
# https://tinkerman.cat/post/sonoff-th10-th16-sensors-displays-actuators
# https://www.forward.com.au/pfod/ESP8266/GPIOpins/ESP8266_01_pin_magic.html
# https://github.com/frenck/home-assistant-config/blob/master/config/esphome/esp05.yaml
# https://github.com/jonathanadams/esphome-configs
# https://esphome-configs.io/
# https://community.home-assistant.io/t/programming-teckin-sp20-esphome-without-using-tuya-convert/155576/8
# https://community.home-assistant.io/t/teckin-sp32-on-esphome/104363/15
# https://blog.quindorian.org/2019/02/home-assistant-10-wifi-energy-meter-with-esphome.html/
# https://frenck.dev/calibrating-an-esphome-flashed-power-plug/
# https://www.digiblur.com/2020/01/tuya-convert-23-update-flash-tuya.html
# https://esphome-configs.io/guides/tuya-convert/
# https://github.com/ct-Open-Source/tuya-convert/wiki/Compatible-devices-(HTTPS-firmware)
# https://www.digiblur.com/2020/07/how-to-use-sonoff-zigbee-bridge-with.html