Try the following code:
# Enable logging
logger:
level: NONE
hardware_uart: UART1
web_server:
# Enable Home Assistant API
api:
password: $api_password
reboot_timeout: $api_reboot_timeout
ota:
password: $ota_password
sensor: #传感器
- platform: pzemac
current:
name: "CH_1 Current"
voltage:
name: "CH_1 Voltage"
power:
name: "CH_1 Power"
frequency:
name: "CH_1 Frequency"
power_factor:
name: "CH_1 Power Factor"
update_interval: 5s
address: 1
- platform: pzemac
current:
name: "CH_2 Current"
voltage:
name: "CH_2 Voltage"
power:
name: "CH_2 Power"
frequency:
name: "CH_2 Frequency"
power_factor:
name: "CH_2 Power Factor"
update_interval: 5s
address: 2
- platform: pzemac
current:
name: "CH_3 Current"
voltage:
name: "CH_3 Voltage"
power:
name: "CH_3 Power"
frequency:
name: "CH_3 Frequency"
power_factor:
name: "CH_3 Power Factor"
update_interval: 5s
address: 3
uart:
- id: pzem004t1
rx_pin: 3
tx_pin: 1
baud_rate: 9600
stop_bits: 2
But I can’t get any information
ESP 01s is used
Tasmota was used before
Set module address with moduleaddress 1 / 2 / 3