📝 Adds README and circuit diagrams

This commit is contained in:
Daniel Svitan
2025-05-08 14:21:45 +02:00
parent 484d01c95f
commit d851d0a740
5 changed files with 146 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ func sendAlert(action string) {
to := fmt.Sprintf("%s/message?token=%s", gotifyURL, gotifyToken)
what := echo.Map{
"title": fmt.Sprintf("Your door has been %s", action),
"priority": 1,
"priority": 5,
"message": fmt.Sprintf("Your locked door has been %s at %s", action, time.Now().Format(TimeFormat)),
}
b, err := json.Marshal(&what)