Compare commits

..

2 commits

Author SHA1 Message Date
Benjamin Renard
1153172793
Switch from Woodpecker CI to Forgejo Actions
All checks were successful
Run tests / test-precommit (push) Successful in 1m10s
2024-03-13 18:44:28 +01:00
Benjamin Renard
a9ae368521
Add -t/--timeout parameter and introduce some new pre-commit hooks 2024-03-13 18:44:28 +01:00

View file

@ -19,18 +19,22 @@ service nagios-nrpe-server reload
## Usage
```
usage: check_esphome_devices [-h] [-d] [-H HOST] [-r RETRY_COUNT] [-D RETRY_DELAY] [-x EXCLUDE]
usage: check_esphome_devices [-h] [-d] [-H HOST] [-r RETRY_COUNT] [-D RETRY_DELAY]
[-t TIMEOUT] [-x EXCLUDE]
optional arguments:
options:
-h, --help show this help message and exit
-d, --debug
-H HOST, --host HOST ESPHome dashboard URL (default: http://127.0.0.1:6052)
-r RETRY_COUNT, --retry RETRY_COUNT
Number of retry to retrieve device status (default: 4)
-D RETRY_DELAY, --delay RETRY_DELAY
Delay in second between two retry to retrieve device status (default: 1s)
Delay in second between two retry to retrieve device status
(default: 1s)
-t TIMEOUT, --timeout TIMEOUT
Timeout in second on API requests (default: 10s)
-x EXCLUDE, --exclude EXCLUDE
Regex exclude pattern(
Regex exclude pattern(s)
```
## Copyright