Refactor notification system to use HTTP POST for buzz events, updating configuration and documentation accordingly.

This commit is contained in:
2026-10-19 15:28:48 -05:00
parent 63d9995f59
commit 753a62beca
10 changed files with 183 additions and 149 deletions
+12 -14
View File
@@ -91,20 +91,18 @@ menu "Door Buzzer Detector"
default ""
endmenu
menu "ntfy notifications"
config BUZZ_NTFY_SERVER
string "ntfy server URL"
default "https://ntfy.sh"
config BUZZ_NTFY_TOPIC
string "Alert topic (anyone who knows it can read it: make it unguessable)"
default "change-me-door-buzzer"
config BUZZ_NTFY_HB_TOPIC
string "Heartbeat topic"
default "change-me-door-buzzer-heartbeat"
config BUZZ_HEARTBEAT_HOURS
int "Heartbeat interval in hours (0 = disabled)"
default 0
range 0 720
menu "Buzz event HTTP endpoint"
config BUZZ_EVENT_URL
string "POST endpoint URL"
default ""
help
Full URL for the JSON event POST. Use an address reachable from the ESP32;
localhost refers to the ESP32 itself, not your development computer.
config BUZZ_EVENT_SECRET
string "Event secret key"
default ""
help
Secret sent in the JSON request body. Keep it private and configure it for the endpoint.
endmenu
endmenu