lufton / esphome-inv-8851

Inverter 8851 protocol ESPHome integration
7 stars 1 forks source link

Error - Must contain at least one of tx_pin, rx_pin. #21

Open balistic2013 opened 3 weeks ago

balistic2013 commented 3 weeks ago

(Hello, first of all I wanted to thank you for this fantastic work. I have flashed the WiFi device with ESPHome. But I am unable to flash my .yaml below. I get the folloiwng error:)

(Failed config uart: [source /data/packages/d445f241/packages/core.yaml:15] Must contain at least one of tx_pin, rx_pin.

(DTU.yaml)

substitutions: inverter_maximum_power: "4500" name: dtu-wbs1-v001 friendly_name: DTU WBS1-V001

esp32: board: esp32-c3-devkitm-1

uart: baud_rate: 9600

inv_8851:

sensor:

packages: inv_8851: url: https://github.com/lufton/esphome-inv-8851 ref: main files:

wifi: ssid: !secret wifi_ssid password: !secret wifi_password

ap: ssid: ${friendly_name} password: !secret ap_password

api: encryption: key: !secret api_encryption_key

ota:

(If you could please help me fix it. I'm sure it is something simple that I am missing.)

lufton commented 3 weeks ago

Could you please use code block (triple backticks) to format your comment, as it's difficult to read? As far as I understand you have created the copy of dtu-wbs1-v001-48v-example.yaml and changed inverter_maximum_power parameter? Try clearing .esphome folder.

balistic2013 commented 3 weeks ago

Hi

Thanks for your reply. I have edited my post above hopefully it is easier to read. I am trying to use a copy of dtu-wbs1-v001-24v-example.yaml. I will lookup how to clear the .esphome folder.

Thanks