Hi Guys, wondering if you smart people could run an eye over my config and maybe see what the problem is? Ive been at it for hours and cant see the issue. All my entities are showing up however are all ‘Unkown’ in lovelace. Running a Pzem-004t V3.0
esphome:
name: solarenergy
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: ######
wifi:
ssid: ######
password: ######
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: ######
password: ######
captive_portal:
uart:
rx_pin: D2
tx_pin: D1
baud_rate: 9600
stop_bits: 1
modbus:
sensor:
- platform: pzemac
address: 1
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: 60s
I have also tried GPIO5 and GPIO4 instead od D1 and D2. I have tried with modbus added and without. I have also tried with no stopbits, 1 stopbit and 2 stopbit. I also tried without address: 1
The Wemos d1 mini and the Pzem are sharing the same 5v source if thats an issue? both are wired back to the source, not the pzem being piggybacked off the wemos
have you tried changing the rx and tx pins around? I remember me thinking I had them correct and got nothing till I swopped them. Sorry the log info is way above my skill set.
I have a Wemos Mini D1 and a pzem-004t v3. The ESPHome is already prepared. But I was not able to find clear information related to the wiring of pzem-004 v3.
My question is related to the +5V pin. Should I connect it to the 5V pin from Wemos or to 3.3V? Do I need an external source or for one pzem it is enough the power provided by Wemos? Do I need a resistor?
I know that the question is recurrent, but I was not able to find a clear statement.
As I mentioned, I use this connection and it works well for more than a year. If it is written PZEM + 5V / GND it is necessary to observe it and not solve the problem 3.3V.
Where did you get that box from to fit all the components? Looks neat!
Also on the box the CT clamp is connected to, I can spot a Zigbee symbol. How do you use it?
Hi, box is from Ferrero Rocher chocolates . CT clamp is connected to PZEM004T which is connected to ESP32 with EspHome. There is no Zigbee involved in this project.
This is my electricity meter in the UK. They call them Smart Meters so they probably use Zigbee to communicate with not so smart display at home to display real usage