From 4eadaa84a688a24653e4361e4dd6d102475b9ddc Mon Sep 17 00:00:00 2001 From: Matthew Frost Date: Wed, 31 Jan 2024 12:15:20 +0100 Subject: [PATCH] logging --- src/hardware.cpp | 1 - src/main.cpp | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/hardware.cpp b/src/hardware.cpp index 4fba175..255f043 100644 --- a/src/hardware.cpp +++ b/src/hardware.cpp @@ -15,7 +15,6 @@ void unlockDoor(bool silent) { ExecuteHTTPRequest(String(webhook_unlock_url)); #endif #endif - #ifdef TINANCE2_BACKEND tinance2logrequest("Door Unlocked"); #endif diff --git a/src/main.cpp b/src/main.cpp index a68a52e..0cd7d89 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -249,6 +249,11 @@ void setup() { server.begin(); #endif + #ifdef TINANCE2_BACKEND + tinance2logrequest("Device Rebooted, Setup Complete"); + #endif + + }