VictronMPPT-ESPHOME: Secret 'mqtt_host' not defined

Why is there this error? INFO Reading configuration /config/esphome/test.yaml… ERROR Error while reading config: Invalid YAML syntax:

Secret 'mqtt_host' not defined
  in "/config/esphome/test.yaml", line 26, column 11:
      broker: !secret mqtt_host
              ^

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 23 (2 by maintainers)

Most upvoted comments

Apparently mDNS is not working. Try to reach the ESP with its IP directly.

Probably because you haven’t setup your secrets.yaml.

https://esphome.io/guides/faq.html#tips-for-using-esphome