Envisalink - Arm Night

There might be a clue in the Harmony fix to web sockets: [Resolved] Harmony Hub issues after February 2019 update v.4.15.250

It appears there was a change to the websockets api in .88.

2019-02-22 09:06:24 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1877008272] Error handling message: {‘type’: ‘call_service’, ‘domain’: ‘alarm_control_panel’, ‘service’: ‘alarm_arm_night’, ‘service_data’: {}, ‘id’: 18}

I confirmed this works with the HA Manual alarm: https://www.home-assistant.io/components/alarm_control_panel.manual/

The issue only affects envisalink.

Just FYI, still in 88.2

Thanks!

Yeah the difference between the envisalink alarm panel component and the manual one is that for envisalink, it’s both a platform as well as a component, so there may be differences in setup.

Regardless i think it’s high time we just get this put in to the official release since it shouldn’t be too much to get done since the pyenvisalink library already does it.

Thanks! Let me know if you want me to test.

Sounds good will do! Will be ready really soon. I have a pending pull request to get this in. It works on my panel, but i have a honeywell panel. I’ll update once the pull request is accepted.

1 Like

How is it going?

Thanks!

I think this might be the same for the ‘alarm_trigger’ service. I am unable to pull that one either.

Any hope to see a fix soon?

Thx!

Hi, I appreciate what you’ve done so far but it looks like the pull requests for arming in night mode have been abandoned. Are you still planning on completing this?

Why do you need it as a service? Can’t you arm in night mode with the keypad or just use stay mode?

      - service: alarm_control_panel.envisalink_alarm_keypress
        data:
          entity_id: 'alarm_control_panel.home_alarm'
          keypress: '*74'

Because I’d like to be able to use the built in night arm button on the alarm panel card. I don’t use stay mode because I’d like my alarm to immediately sound if it’s breached while I’m sleeping.

I need it as well so that I can arm night from Siri – the call Siri makes through HomeKit integration is for alarm_arm_night and all the Envisalink code doesn’t support it. I end up having to copy over the dev versions of the files every time I update home assistant which sucks.

Hey everyone,
Just wanted to chime in- i’m still around :slight_smile:. Unfortunately I ran into some challenges getting everything committed- I believe there were a number of changes made to the core platform that handles how devices are initialized, and in addition the project team also changed how components/platforms are organized in the codebase. So by the time the reviewers went to review my code, i basically had found that i’d have to start all over with my change (while learning the new standards), and I just didn’t have the time.

So yeah i’m afraid that pull request is indeed dead, even if we re-kindle the effort, since the actual change that will need to be made is now different.

Fair enough. Would you be ok if I took your original pull requests and updated them to work with the current codebase?

1 Like

Absolutely! As you might have guessed- life is getting in the way on my end :frowning:

I’ve implemented alarm_arm_night for the Envisalink and it was just merged today under PR 27087

I don’t know what happened but my envisalink just stopped working… Everything was good and it went legs up … possibly my favorite integration with Home Assistant.

Great news! @gdrapp, it appears from the PR that this is still in dev, not prod, correct?

Thanks for working on this! I had it working for a couple of months and the HA core changes broke it. I have been missing this feature.

Thanks!

That’s correct, it’s currently in the dev branch so I would expect it to be in an upcoming release.

I saw it came out in 101.0. It works great! Thanks for for your work on this!

Glad you like it, thanks for the feedback!

As the original requestor here I just wanted to follow up and say thank you to all those who worked on this, beta tested, continued to push on it, and got it over the finish line.

I finally upgraded over the weekend and now have the ability to arm in night mode! Thank you again to all.