ELK M1 Interface

@DDomnick Please open an issue on github and I’ll take a peek.

I’m seeing the same think on my Elk. Opened https://github.com/home-assistant/core/issues/34278

I’ve posted a testing fix in the issue and have a PR ready to merge if it solves the issue.

does this only impact thermostats? Because I have a keypad that supports temperature and it is working just fine in 0.108.3

My keypads look OK, too. It’s my Elk-attached thermostat that’s affected. I’m going to try the patched version referenced in the git issue and see how that works…

…and for those following along at home, the patched version seems to fix the issue.

Hey folks,

There’s a discussion going on on GitHub as a bug around the changed_by functionality not working properly when an ElkM1 has more than one area. It is closed as it is considered a feature request. Posting here to keep the discussion going and get a wider range of thoughts on what should happen. Here’s the GitHub thread… https://github.com/home-assistant/core/issues/35310

ElkM1 geeks may find this interesting… https://www.youtube.com/watch?v=A4F5OJnb7MY&feature=youtu.be

That was pretty funny in places, given that the core M1 product really hasn’t changed in more than a decade. You think it would have grown on-board ethernet/wifi, maybe a network interface performant enough to up the game a bit…

Still, they still seem suck much less than the alternatives…

Is there a way to refresh the counters? It seems the counters are updated only when the integration starts in Home Assistant.
Thanks!

No. Good feature request though. If you want to, raise an issue on GitHub against the library. https://github.com/gwww/elkm1

I’m trying to display the outside temperature on my keypads, but everything i put on line1 or line2 is treated as text. Anybody able to get this to work?

data:
  entity_id: alarm_control_panel.house
  line1: '{{ states(''sensor.weatherbit_temperature'') }}'
service: elkm1.alarm_display_message

Try quoting your template like this:

data:
  entity_id: alarm_control_panel.house
  line1: '{{ states("sensor.weatherbit_temperature") }}'
service: elkm1.alarm_display_message

That is, a double-quote character rather than two single quotes.

Hmmm… well, that’s not the (only) problem. Template expansion isn’t happening when its called like that. Perhaps use data_template rather than data when making the service call. So like this:

data_template:
  entity_id: alarm_control_panel.house
  line1: '{{ states("sensor.weatherbit_temperature") }}'
service: elkm1.alarm_display_message

…based on https://www.home-assistant.io/docs/scripts/service-calls/ which I had to consult. I don’t see an obvious way to easily try this using the developer “services” tool, but it’s worth a shot.

Thanks. That did the trick. I’m just starting to switch my house over to home assistant and I still in the drinking from the fire hose phase.

I’m experiencing a new bug related to the changed_by_id attribute of alarm_control_panel.area001. It is showing the wrong ID and name. Both keypads are showing different last_user (1 and 2) while alarm_control_panel.area001.changed_by_id is showing 3.

I’ve reported the issue via https://github.com/home-assistant/core/issues/38299.

@jshank Can you send me logs and detailed instructions on the steps you take to make this happen? If you wish, you can send me a direct message to keep your logs off the forum.

I just noticed something strange, and I’m wondering if it’s unique to my setup or if it is expected behavior with how HA functions. When I put a group of Elk M1 PIRs into a HA group, the status shows as unknown. See the following example. Is this expected? Can HA only evaluate groups of binary sensors that are explicitly on/off?

basement_motions:
  name: Basement Motions
  entities:
    - sensor.bar_pir
    - sensor.basement_pir
    - sensor.basement_stairs_pir
    - sensor.storage_pir
    - sensor.workshop_pir

I don’t use groups so only guessing… What is the status of each of the PIRs? Is one unknown?

Every one of the PIRs are Normal. Group state doesnt change even when one goes to Violated

This is consistent with what I see. Mostly I’ve got switches and lights in groups, which can be “on” or “off”. I have a group with sensors where the group state shows “unknown”.

If you want to aggregate the state of all the Elk zones, probably some games with a template sensor entity is in order.