This commit is contained in:
@@ -13,20 +13,35 @@ api:
|
||||
password: ""
|
||||
|
||||
ota:
|
||||
platform: esphome
|
||||
password: ""
|
||||
platform: esphome
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
ssid: "ItHurtsWhenIP"
|
||||
password: "BKl@3660"
|
||||
manual_ip:
|
||||
# Set this to the IP of the ESP
|
||||
static_ip: 10.0.1.50
|
||||
# Set this to the IP address of the router. Often ends with .1
|
||||
gateway: 10.0.0.1
|
||||
# The subnet of the network. 255.255.255.0 works for most home networks.
|
||||
subnet: 255.255.254.0
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Bed-Scale Fallback Hotspot"
|
||||
password: !secret hotspot_password
|
||||
password: "bINLLate9rIA"
|
||||
|
||||
captive_portal:
|
||||
|
||||
# sensor:
|
||||
# - platform: hx711
|
||||
# name: "HX711 Value"
|
||||
# dout_pin: D4
|
||||
# clk_pin: D3
|
||||
# gain: 128
|
||||
# update_interval: 3s
|
||||
|
||||
globals:
|
||||
- id: constant_weight
|
||||
type: float
|
||||
@@ -41,8 +56,8 @@ sensor:
|
||||
gain: 128
|
||||
filters:
|
||||
- calibrate_linear:
|
||||
- 1827200 -> 0
|
||||
- 3218000 -> 105
|
||||
- 2290200 -> 0
|
||||
- 2856500 -> 50
|
||||
on_value:
|
||||
- if:
|
||||
condition:
|
||||
|
||||
@@ -3,22 +3,23 @@ substitutions:
|
||||
|
||||
esphome:
|
||||
name: shelly1-slaapkamer
|
||||
platform: ESP8266
|
||||
|
||||
esp8266:
|
||||
board: esp01_1m
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
ssid: "ItHurtsWhenIP"
|
||||
password: "BKl@3660"
|
||||
manual_ip:
|
||||
static_ip: 192.168.179.28
|
||||
gateway: 192.168.178.1
|
||||
static_ip: 10.0.1.51
|
||||
gateway: 10.0.0.1
|
||||
subnet: 255.255.254.0
|
||||
dns1: 1.1.1.1
|
||||
dns2: 8.8.8.8
|
||||
power_save_mode: none
|
||||
ap:
|
||||
ssid: "Slaapkamer Fallback Hotspot"
|
||||
password: !secret hotspot_password
|
||||
password: "bINLLate9rIA"
|
||||
captive_portal:
|
||||
|
||||
logger:
|
||||
@@ -26,6 +27,8 @@ logger:
|
||||
api:
|
||||
|
||||
ota:
|
||||
password: ""
|
||||
platform: esphome
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
@@ -61,7 +64,6 @@ sensor:
|
||||
update_interval: 60s
|
||||
id: wifi_signal_sensor
|
||||
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
name: ${device_name}
|
||||
|
||||
Reference in New Issue
Block a user