Created
March 25, 2024 01:34
-
-
Save mpflaga/b0957ee366f901af192f2186297f8825 to your computer and use it in GitHub Desktop.
Output of ESPhome composite config for SONOFF S31 ESP8266 - 2024.03.24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(.env.2024.3.0) PS C:\Users\micha\OneDrive\Documents\esphome> esphome config .\office-sofa-lamp.yaml | |
INFO ESPHome 2024.3.0 | |
INFO Reading configuration .\office-sofa-lamp.yaml... | |
INFO Detected timezone 'America/New_York' | |
substitutions: | |
model_name: Sonoff S31 | |
update_interval: 60s | |
esphome_name: office-sofa-lamp | |
friendly_name: Office Sofa Lamp | |
esphome: | |
name: office-sofa-lamp | |
friendly_name: Office Sofa Lamp | |
build_path: build\office-sofa-lamp | |
area: '' | |
platformio_options: {} | |
includes: [] | |
libraries: [] | |
name_add_mac_suffix: false | |
min_version: 2024.3.0 | |
esp8266: | |
board: esp01_1m | |
framework: | |
version: 3.0.2 | |
source: ~3.30002.0 | |
platform_version: platformio/espressif8266@3.2.0 | |
restore_from_flash: false | |
early_pin_init: true | |
board_flash_mode: dout | |
logger: | |
baud_rate: 0 | |
level: VERBOSE | |
tx_buffer_size: 512 | |
deassert_rts_dtr: false | |
hardware_uart: UART0 | |
logs: {} | |
esp8266_store_log_strings_in_flash: true | |
uart: | |
- rx_pin: | |
number: 3 | |
mode: | |
input: true | |
output: false | |
open_drain: false | |
pullup: false | |
pulldown: false | |
analog: false | |
inverted: false | |
baud_rate: 4800 | |
rx_buffer_size: 256 | |
stop_bits: 1 | |
data_bits: 8 | |
parity: NONE | |
switch: | |
- platform: gpio | |
name: Sonoff S31 Relay | |
pin: | |
number: 12 | |
mode: | |
output: true | |
input: false | |
open_drain: false | |
pullup: false | |
pulldown: false | |
analog: false | |
inverted: false | |
id: relay | |
restore_mode: ALWAYS_OFF | |
disabled_by_default: false | |
interlock_wait_time: 0ms | |
binary_sensor: | |
- platform: gpio | |
pin: | |
number: 0 | |
mode: | |
input: true | |
pullup: true | |
output: false | |
open_drain: false | |
pulldown: false | |
analog: false | |
inverted: true | |
name: Sonoff S31 Button | |
id: button | |
on_press: | |
- then: | |
- switch.toggle: | |
id: relay | |
disabled_by_default: false | |
- platform: status | |
name: API/MQTT Connection | |
id: apimqtt_connection | |
disabled_by_default: false | |
entity_category: diagnostic | |
device_class: connectivity | |
sensor: | |
- platform: wifi_signal | |
name: Sonoff S31 WiFi Signal | |
disabled_by_default: false | |
force_update: false | |
unit_of_measurement: dBm | |
accuracy_decimals: 0 | |
device_class: signal_strength | |
state_class: measurement | |
entity_category: diagnostic | |
update_interval: 60s | |
- platform: cse7766 | |
current: | |
name: Sonoff S31 Current | |
accuracy_decimals: 1 | |
filters: | |
- throttle_average: 60s | |
- heartbeat: 5s | |
disabled_by_default: false | |
force_update: false | |
unit_of_measurement: A | |
device_class: current | |
state_class: measurement | |
voltage: | |
name: Sonoff S31 Voltage | |
accuracy_decimals: 1 | |
filters: | |
- throttle_average: 60s | |
- heartbeat: 5s | |
disabled_by_default: false | |
force_update: false | |
unit_of_measurement: V | |
device_class: voltage | |
state_class: measurement | |
power: | |
name: Sonoff S31 Power | |
accuracy_decimals: 1 | |
filters: | |
- throttle_average: 60s | |
- heartbeat: 5s | |
disabled_by_default: false | |
force_update: false | |
unit_of_measurement: W | |
device_class: power | |
state_class: measurement | |
energy: | |
name: Sonoff S31 Energy | |
filters: | |
- throttle: 60s | |
disabled_by_default: false | |
force_update: false | |
unit_of_measurement: Wh | |
accuracy_decimals: 3 | |
device_class: energy | |
state_class: total_increasing | |
apparent_power: | |
name: Sonoff S31 Apparent Power | |
filters: | |
- throttle_average: 60s | |
- heartbeat: 5s | |
disabled_by_default: false | |
force_update: false | |
unit_of_measurement: VA | |
accuracy_decimals: 1 | |
device_class: apparent_power | |
state_class: measurement | |
power_factor: | |
name: Sonoff S31 Power Factor | |
filters: | |
- throttle_average: 60s | |
- heartbeat: 5s | |
disabled_by_default: false | |
force_update: false | |
accuracy_decimals: 2 | |
device_class: power_factor | |
state_class: measurement | |
- platform: wifi_signal | |
name: WiFi Signal | |
disabled_by_default: false | |
force_update: false | |
unit_of_measurement: dBm | |
accuracy_decimals: 0 | |
device_class: signal_strength | |
state_class: measurement | |
entity_category: diagnostic | |
update_interval: 60s | |
time: | |
- platform: sntp | |
id: my_time | |
timezone: EST5EDT,M3.2.0,M11.1.0 | |
update_interval: 15min | |
servers: | |
- 0.pool.ntp.org | |
- 1.pool.ntp.org | |
- 2.pool.ntp.org | |
status_led: | |
pin: | |
number: 13 | |
inverted: true | |
mode: | |
output: true | |
input: false | |
open_drain: false | |
pullup: false | |
pulldown: false | |
analog: false | |
wifi: | |
domain: .lan | |
ap: | |
ssid: \033[5moffice-sofa-lamp\033[6m | |
password: \033[5m!secret 'wifi_password'\033[6m | |
ap_timeout: 1min | |
reboot_timeout: 15min | |
power_save_mode: NONE | |
fast_connect: false | |
output_power: 20.0 | |
passive_scan: false | |
enable_on_boot: true | |
networks: | |
- ssid: \033[5m!secret 'wifi_ssid'\033[6m | |
password: \033[5m!secret 'wifi_password'\033[6m | |
priority: 0.0 | |
use_address: office-sofa-lamp.lan | |
captive_portal: {} | |
web_server: | |
port: 80 | |
auth: | |
username: !secret 'web_server_username' | |
password: \033[5m!secret 'web_server_password'\033[6m | |
version: 2 | |
enable_private_network_access: true | |
include_internal: false | |
ota: true | |
log: true | |
css_url: '' | |
js_url: https://oi.esphome.io/v2/www.js | |
api: | |
encryption: | |
key: \033[5m!secret 'api_encryption_key'\033[6m | |
port: 6053 | |
password: \033[5m''\033[6m | |
reboot_timeout: 15min | |
ota: | |
password: \033[5m!secret 'ota_password'\033[6m | |
version: 1 | |
safe_mode: true | |
port: 8266 | |
reboot_timeout: 5min | |
num_attempts: 10 | |
INFO Configuration is valid! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment