rcasula / kostalpiko-homeassistant

19 stars 15 forks source link

Where to put config? #14

Closed axyaxyfr closed 1 year ago

axyaxyfr commented 1 year 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 1 year 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