fix: active poll instead of wait for interupt

This commit is contained in:
Jet 2026-03-23 13:21:42 -07:00
parent 8554f7a8ad
commit f57ecd19aa
No known key found for this signature in database
4 changed files with 51 additions and 36 deletions

View file

@ -162,7 +162,7 @@ The deployed service uses these environment variables:
| Variable | Default | Description |
|---|---|---|
| `NOISEBELL_GPIO_PIN` | `17` | GPIO pin number |
| `NOISEBELL_DEBOUNCE_SECS` | `5` | Debounce delay in seconds |
| `NOISEBELL_DEBOUNCE_MS` | `50` | Debounce delay in milliseconds |
| `NOISEBELL_PORT` | `80` | HTTP server port |
| `NOISEBELL_ENDPOINT_URL` | required | Webhook URL to POST state changes to |
| `NOISEBELL_RETRY_ATTEMPTS` | `3` | Webhook retry count |