This commit is contained in:
Bram Kelchtermans
2024-05-06 22:26:27 +02:00
parent 5b1ece801d
commit aec6d5dd41
3 changed files with 107 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
esphome:
name: bedscale
esp8266:
board: d1_mini
# Enable logging
logger:
level: DEBUG
# Enable Home Assistant API
api:
password: ""
ota:
password: ""
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Bed-Scale Fallback Hotspot"
password: !secret hotspot_password
captive_portal:
sensor:
- platform: hx711
name: "HX711 Value"
dout_pin: D4
clk_pin: D3
gain: 128
update_interval: 3s