mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 23:41:45 +01:00
acbb8e9fd0
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
101 lines
2.1 KiB
YAML
101 lines
2.1 KiB
YAML
esphome:
|
|
name: test5
|
|
platform: ESP32
|
|
board: nodemcu-32s
|
|
build_path: build/test5
|
|
project:
|
|
name: esphome.test5_project
|
|
version: "1.0.0"
|
|
|
|
wifi:
|
|
networks:
|
|
- ssid: 'MySSID'
|
|
password: 'password1'
|
|
|
|
api:
|
|
|
|
ota:
|
|
|
|
logger:
|
|
|
|
uart:
|
|
tx_pin: 1
|
|
rx_pin: 3
|
|
baud_rate: 9600
|
|
|
|
modbus:
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
pin: GPIO0
|
|
id: io0_button
|
|
|
|
output:
|
|
- platform: gpio
|
|
pin: GPIO2
|
|
id: built_in_led
|
|
|
|
esp32_ble:
|
|
|
|
esp32_ble_server:
|
|
manufacturer: "ESPHome"
|
|
model: "Test5"
|
|
|
|
esp32_improv:
|
|
authorizer: io0_button
|
|
authorized_duration: 1min
|
|
status_indicator: built_in_led
|
|
|
|
number:
|
|
- platform: template
|
|
name: My template number
|
|
id: template_number_id
|
|
optimistic: true
|
|
on_value:
|
|
- logger.log:
|
|
format: "Number changed to %f"
|
|
args: ["x"]
|
|
set_action:
|
|
- logger.log:
|
|
format: "Template Number set to %f"
|
|
args: ["x"]
|
|
max_value: 100
|
|
min_value: 0
|
|
step: 5
|
|
|
|
sensor:
|
|
- platform: selec_meter
|
|
total_active_energy:
|
|
name: "SelecEM2M Total Active Energy"
|
|
import_active_energy:
|
|
name: "SelecEM2M Import Active Energy"
|
|
export_active_energy:
|
|
name: "SelecEM2M Export Active Energy"
|
|
total_reactive_energy:
|
|
name: "SelecEM2M Total Reactive Energy"
|
|
import_reactive_energy:
|
|
name: "SelecEM2M Import Reactive Energy"
|
|
export_reactive_energy:
|
|
name: "SelecEM2M Export Reactive Energy"
|
|
apparent_energy:
|
|
name: "SelecEM2M Apparent Energy"
|
|
active_power:
|
|
name: "SelecEM2M Active Power"
|
|
reactive_power:
|
|
name: "SelecEM2M Reactive Power"
|
|
apparent_power:
|
|
name: "SelecEM2M Apparent Power"
|
|
voltage:
|
|
name: "SelecEM2M Voltage"
|
|
current:
|
|
name: "SelecEM2M Current"
|
|
power_factor:
|
|
name: "SelecEM2M Power Factor"
|
|
frequency:
|
|
name: "SelecEM2M Frequency"
|
|
maximum_demand_active_power:
|
|
name: "SelecEM2M Maximum Demand Active Power"
|
|
maximum_demand_reactive_power:
|
|
name: "SelecEM2M Maximum Demand Reactive Power"
|
|
maximum_demand_apparent_power:
|
|
name: "SelecEM2M Maximum Demand Apparent Power"
|