Alarm card: allow "auto enter" after set number of digits
See original GitHub issueAfter 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:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would think an
auto_disarm
configuration would fall within this scope as well?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
toauto_enter
. I was also going to switch action toarm_action
.Feedback welcome.