Elk M1 Integration - how do YOU configure it?

Hi all,

I’m trying to set up the Elk M1 Integration and I’m noticing weird behavior. I’m on the latest version of core 2021.2.1 and I’m connect via a serial connection. This is the behavior I observe:

  • Setting up the integration graphically results in a “success” message but no devices appear
  • Setting up the integration via config (auto-configuration: true) results in an integration appearing but no devices appear
  • If I delete the integration and then immediately try to add it, it fails to connect (reboot required)
  • The only way I can get devices to appear is by adding the integration graphically (no configuration entry), and then adding the configuration entry followed by a reboot
  • Auto configuration works reasonably well, except all 8 areas appear regardless of only having/defining 1 area
  • If I turn auto-configure off just for getting rid of the extra Areas, exclusion of devices don’t make the entities disappear, but they have a “restored” icon in the entity view. I assume I can delete these manually

Am I setting things up correctly? My main concern is that I would like to keep the Elk on-board configuration and HA configuration in sync, and I do this by deleting and re-adding an integration as necessary but this seems like it would require several steps each time. BTW, iif you know a better way to do this, please share, I’m still new at this.

Many thanks.

Hi, I’m new to home assistant and can’t figure how to connect the Elk M1 integration to my M1 via serial port.

I’m running Haos. And the Elk is connected to what used to be COM1 when I was running HomeSeer on Windows 10.

Could you share your configuration for the Elk?

Thank you.

I’m a little unsure of your setup here. Are you trying to connect via a different machine than the one where HA is hosted? If so you’re probably going to need tools beyond what HA can give out of the box (ser2net comes to mind).

I have a USB to serial device on my RPi4 where HA is hosted. It’s just a local device which I reference in the config like /dev/ttyUSB0 or something like that.

Hi tgpaul, I’ve installed HAOS directly on my pc. That pc has 2 serial ports. In my configuration.yaml file, I’ve entered this:

elkm1:

- host: serial://dev/ttyS0

I tryed with 1, 2 or 3 “/”. Nothing works…

I’m assuming you’re running HAOS on bare metal, and not on top of Windows (like a VM or similar). Otherwise you’d have to make sure your port mapping is set correctly.

Either way, you may be missing a forward slash and have an extra hyphen. My config is:

elkm1:
  host: serial:///dev/ttyUSB0:115200

Good luck!

Just to help everyone else, you may have to update the ElkM1 firmware to be able to connect… That’s why it wouldn’t work.