question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Alarm card: allow "auto enter" after set number of digits

See original GitHub issue

After a configured number of digits are entered, say 4, automatically call the service with the code. Allow the user to press “away”, “home”, etc before code is submitted and that becomes the arm type that is sent with the code.

Example config: auto_arm_length: 4 default_auto_arm: arm_away

Example UX: User presses “Arm home” (this changes from the default arm_away) User presses 4 digits and after pressing the 4th digit service is called with arm_home and the 4 digits. Text field clears, arm_away set as default button again. Card updates according to whatever state changes as it does now.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
iantrichcommented, Jul 19, 2018

I would think an auto_disarm configuration would fall within this scope as well?

1reaction
gwwwcommented, Jul 19, 2018

I have an implementation of this. It supports both the existing UX and the “auto_arm” UX. The code is heavily refactored from the existing. It support both arm/disarm automatically when the set number of digits are entered.

I will be posting it on my GitHub account, probably tonight. There’s at least one bug that I know of in my testing. I’d be just as happy if this merges with the existing, but I have not communicated with @ciotlosm about that yet.

I was going to switch auto_arm to auto_enter. I was also going to switch action to arm_action.

Feedback welcome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

xr150/xr550 series programming guide - DMP.com
To arm non-area systems, enter your 4-digit code. Do NOT press CMD after. XR150. Total Number of Zones. 142. Number of Possible. Hardwired...
Read more >
Fanuc 16i-18i-21i Data Input and Output Settings
Set the cursor to PARAMETER WRITE and, press 1 and INPUT keys in this order. Here alarm 100 will be displayed. 4. Press...
Read more >
The 'Credit Card Number' Field Must Allow and Auto-Format ...
The 'Credit Card Number' Field Must Allow and Auto-Format Spaces (80% Don't) Typing a 15-16 long string of numbers without a single error...
Read more >
Using DIGITS app or web client | T-Mobile Support
From the DIGITS app, select Settings > Advanced Options > Network Settings. Choose the Cellular fallback toggle to enable. Enter the phone number...
Read more >
User Manual | ADT
Enter the 2-digit number to be programmed (i.e. 06 for user access code 6; enter 40 for the Master Access Code). When using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found