I have searched high and low for an answer to this one, so hopefully someone can help educate my n00b brain:
I have a Battery connected to my solar panel array, via charge controller, and I would like to hookup an energy meter to it (PZEM-017) which has support in ESPHome. I understand that the PZEM-017 doesn’t have UART output, so I have also purchased a TTL to RS485 converter and have connected the PZEM-017 to my D1 Mini32 Clone per this diagram:
This is the code I’m using for the device:
> esphome: > name: packva > > esp32: > board: esp32dev > framework: > type: arduino > > # Enable logging > logger: > # level: none > baud_rate: 0 > > # Enable Home Assistant API > api: > > ota: > password: *** > > wifi: > ssid: !secret wifi_ssid > password: !secret wifi_password > > # Enable fallback hotspot (captive portal) in case wifi connection fails > ap: > ssid: "Packva Fallback Hotspot" > password: *** > > captive_portal: > > uart: > id: uart0 > tx_pin: GPIO1 > rx_pin: GPIO3 > baud_rate: 9600 > stop_bits: 2 > > sensor: > - platform: pzemdc > current: > name: "PackCurrent" > #id: dc_current > voltage: > name: "PackVoltage" > #id: dc_voltage > power: > name: "PackPower" > #id: dc_power > update_interval: 1s
And the result I’m getting from the enabled entity in Lovelace is “Entity is non-numeric”
Am I missing something obvious? Is the PZEM-017 broken?
Thank you for any of your help and responses in advance