You must use YAML to configure the Elk integration, you cannot use the auto configure feature and you cannot use the UI to configure either.
OK… FWIW ChatGPT insists the opposite. It says HA can only be configured through the UI for Elk M1. Anyway, as you can see, I’ve been trying to get these outputs configured for over a year with no luck. I just deleted the UI-configured HA that worked great (except for those outputs). Have tried many variations of adding to configuration.yaml with no luck (restarting HA after adding it says Elk M1 integration not found). My HA does not have any other integrations there in configuration.yaml, they are all in some totally different format in the .storage folder. Anyway, now even adding through the UI is broken because it’s asking for a username/password for my Elk that doesn’t exist and won’t go beyond that. All I want to do is a standard Elk M1 config adding Outputs 205 and 206. What is the best way to go about this?
It can be configured through YAML. Any errors in the logs? Post your YAML?
Great. I am now using YAML successfully instead of the UI configuration. My normal named entities all re-imported just fine. I made an attempt to get Outputs 205-206 into the system like below, but I’m not seeing anything related to that in the Entities list for the Elk M1.
elkm1:
host: elks://10.1.1.5
username: xxx
password: xxx
auto_configure: true
output:
include: [205-206]
auto_configure
and configuring specific entities are mutually exclusive. You must remove the auto_configure
and manually configure all the entities you want.
Removing auto-configure and then using the exact YAML in my previous post doesn’t seem to do anything. No new entities. I don’t see anything on the Elk page about manual entities, so again I asked ChatGPT and it suggested this:
output:
- name: "Output 205"
number: 205
- name: "Output 206"
number: 206
Which definitely did not work and even caused the integration not to load. What is the method to add these 2 outputs manually to an existing configuration that already has 300+ other entities imported from Elk from back when auto_configure was on?
Right. I don’t see anything about this kind of manual entity configuration on that page. There is a manual config section, but it explicitly says named entities are imported via “auto configuration”. However, you just said “You must use YAML to configure the Elk integration, you cannot use the auto configure feature and you cannot use the UI to configure either.” so that page is presumably incorrect.
Anyway, I already have 299 entities from Elk M1 from back when auto configure was turned on. I’m just trying to add 2 more, which are not named, manually. I have tried 2 methods shown above (1. using “include: [205-206]” which is based on the Elk M1 page you linked – that does nothing, 2. using “name: “Output 205” number: 205” – which is based on ChatGPT – that causes ElkM1 failure to load). I do not see any other syntax in that page to do this.
Let me be clear. Do not use auto_configure
. You must configure every zone, area, output, light, etc manually.
Next fully read the section on the page called “Manual configuration”. There are three examples configurations in that section.
Got it! All working now. One thing that I didn’t understand was that I don’t have to “configure” each item, I just needed to specify their ID numbers to include/exclude them which was fairly simple.