Hi - is it possible to setup the DHT Temperature & Humidity Sensors through just editing the YAML on the ESPHome dashboard? I’m looking to put it on zone 1. I am assuming I would need to enter something in the substitutions sections and remove zone 1 from the packages but not certain what to enter in the substitutions section
I came across the article below but not sure if its the only way to do it. If possible I would prefer to do it in the ESPHome YAML as I find it a little easier
I have this one and followed the instructions above from the konnected website and have it working in Home Assistant. I have it adopted in ESPHome dashboard; was wondering if there is a way to edit the YAML in the dashboard to accomplish the same thing (meaning converting zone 1 to a DHT sensor) without going through the konnected app. Is it possible by adding some lines to the YAML or must the app be used? I have the Alarm Panel Pro
Anything that can be done in the app can be done in YAML. Our app basically just creates the YAML and builds the firmware for you on the backend (most users don’t want to think about YAML).
Your code would look something like this:
substitutions:
# copy/paste all substitution variables from github
packages:
remote_package:
url: https://github.com/konnected-io/konnected-esphome
ref: master
refresh: 5min
files:
- packages/core-esp8266.yaml
# zone 1 removed from input zones
- packages/alarm-panel/zone2.yaml
- packages/alarm-panel/zone3.yaml
# ... etc
sensor:
- platform: dht
pin: $zone1
temperature:
name: Office Temperature
humidity:
name: Office Humidity