basiccode
This is an old revision of the document!
For ESP8266 Nodemcu
esphome:
name: iotxxx
friendly_name: IoTXXX
esp8266:
board: esp01_1m // even for ESP8266 due to memory usage //
logger:
level: NONE // remove this section to send log to HA; just leave logger blank //
api:
encryption:
key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" // provided by HA
reboot_timeout: 0s // remove this so it will auto reboot if not connected
ota:
- platform: esphome
password: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" // auto generated by HA
wifi:
ssid: xxxxxx
password: xxxxxx
min_auth_mode: WPA2
ap:
ssid: "IotXXXHotspot"
password: "xxxxxx"
mqtt:
broker: 192.168.x.x // specify mqtt server
discovery: false // remove to send mqtt back to home assistant
captive_portal:
web_server:
port: 80
version: 3
time:
- platform: sntp
id: ntp_time
servers:
- "ntp.pagasa.dost.gov.ph"
- "pool.ntp.org"
timezone: "PHT-8"
update_interval: 7d
basiccode.1780359987.txt.gz · Last modified: by jwan
