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.

Feature idea : arm delay by web server enabled or disabled by parameter in URL

See original GitHub issue

Hello,

I’ve switched all my security automation system to your plugin. All working nice! Thank you, it’s a very cool plugin, and really appreciate how you pay attention to user’s requests.

As I discovered the plug-in, I found this optional parameter : server_arm_delay : Allows to enable or disable the arming delay.

Instead of using a fixed parameter, couldn’t it be a parameter passed in URL?

For example : http://localhost:1234/away?delay=true Will arm the system with the “arm_seconds” delay

And : http://localhost:1234/away?delay=false Will arm the system immediately

Moreover, as for issue #23, is that possible to add a webhook and a command that activate at the beginning of arming, before the arm_delay ends?

And a last thing : I think you should add the defaults values for each options in the README.md file. I’m going to the code to see them, but not sure everyone will do it.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
macjlcommented, Apr 21, 2020

Bug solved!

Thanks!

1reaction
MiguelRipoll23commented, Apr 21, 2020

New beta update released with improvements and fixes.

✅ Fixed duplicated mode changes being allowed (HomeKit & server). ✅ Fixed duplicated sensor triggered events being allowed. ✅ Fixed HomeKit mode changes allowing to set a disabled mode. ✅ Updated webhooks documentation. ☑️ Server code refactored.

npm i homebridge-securitysystem@2.5.0-beta.5

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Server Runtime <serverRuntime> | Microsoft Learn
The enableNagling attribute enables or disables nagling, which is an optimization for HTTP over TCP that increases efficiency by trying to ...
Read more >
Usage · sqlmapproject/sqlmap Wiki - GitHub
Delay between each HTTP request​​ It is possible to specify a number of seconds to hold between each HTTP(S) request. The valid value...
Read more >
List of Chromium Command Line Switches - Peter Beverloo
Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions.
Read more >
Configuring and managing high availability clusters Red Hat ...
This procedure configures an active/passive Apache HTTP server in a two-node Red Hat Enterprise Linux High Availability Add-On cluster using the pcs command ......
Read more >
Grafana Mimir configuration parameters
Describes parameters used to configure Grafana Mimir. ... http connections, <=0 to disable # CLI flag: -server.http-conn-limit [http_listen_conn_limit: ...
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