-
Notifications
You must be signed in to change notification settings - Fork 0
/
pzem004t.yaml
60 lines (52 loc) · 1.11 KB
/
pzem004t.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
esphome:
name: esp32c3-pzem-power
name_add_mac_suffix: true
platformio_options:
board_build.mcu: esp32c3
board_build.variant: esp32c3
esp32:
variant: ESP32C3
board: airm2m_core_esp32c3
framework:
type: esp-idf
sdkconfig_options:
CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y
CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
CONFIG_ESP_TASK_WDT_TIMEOUT_S: "10"
api:
web_server:
port: 80
ota:
- platform: esphome
password: 123456
captive_portal:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# output_power: 19.0dB
fast_connect: true
ap:
password: "12345678"
modbus:
uart:
rx_pin: GPIO20
tx_pin: GPIO21
baud_rate: 9600
sensor:
- platform: wifi_signal
name: "WiFi Signal Sensor"
update_interval: 120s
- platform: pzemac
current:
name: "PZEM-004T V3 Current"
voltage:
name: "PZEM-004T V3 Voltage"
energy:
name: "PZEM-004T V3 Energy"
power:
name: "PZEM-004T V3 Power"
frequency:
name: "PZEM-004T V3 Frequency"
power_factor:
name: "PZEM-004T V3 Power Factor"
update_interval: 30s