rcasula / kostalpiko-homeassistant

19 stars 14 forks source link

Where to put config? #14

Closed axyaxyfr closed 2 years ago

axyaxyfr commented 2 years ago

Excuse my n00b question, but where do I put the config (example below)

I used this config: kostal: host: 192.168.178.135 username: pvserver password: pvwr monitored_conditions:

In a file?

petos commented 2 years ago

Hello, append your config to the ~/config/configuration.yaml OR append this line to the configuration.yaml: kostal: !include kostal.yaml and create ~/config/kostal.yaml and put the rest there:

    username: !secret kostal_username
    password: !secret kostal_password
    monitored_conditions:
      - current_power
      - total_energy
      - daily_energy
      - string1_voltage
      - string2_voltage
      - string1_current
      - string2_current
      - l1_voltage
      - l1_power
      - l2_voltage
      - l2_power
      - l3_voltage
      - l3_power
      - status