Export ElkM1G Auto-Configuration

I just installed the ELK M1G control integration and by specifying it as non-secure, it auto-detected my installation and imported all my sensors/devices.

I see in the docs that there is the ability to manually configure the integration in the configuration file, but was hoping that the auto-configuration would be able to export everything it currently detected to minimize the amount of work I needed to to do.

Is there any way to “convert” the auto-configuration to a snippet to add to the configuration.yml file, or do I need to do it all manually? When I look a the configuration.yml file, I do not see any entries at all for the Elk integration.

Thanks,

Eric

I don’t think you need to add anything to your configuration.yml file unless you want to exclude something. For example, I have the following in my configuration file because I don’t want these things.

# Elk M1
elkm1:
    host: elk://192.168.10.6
    area:
      exclude: [2-8]
    zone:
      exclude: [3-16, 27-208]
    plc:
      exclude: [a1-p16]
    task:
      exclude: [2-32]
    counter:
      exclude: [1-64]
    keypad:
      exclude: [2-16]
    setting:
      exclude: [1-20]
    output:
      enabled: false
    thermostat:
      enabled: false

that’s just it - I do want to exclude some entries that were auto-discovered. Reading the docs, I thought I had to explicitly identify everything. But if I can just exclude some options, that could work. I’ll give it a try.

Thanks!

Eric

1 Like