This project uses an ESP32 to scan for BLE devices and log machine operation times to Google Sheets using Google Apps Script.
- Detects BLE devices with specific UUIDs.
- Logs worker operation times to Google Sheets.
- Displays the start time, end time, and duration of operation.
- ESP32 board
- Relay module
- WiFi connection
- Google Apps Script for logging data
- Replace
WIFI_SSID
,WIFI_PASSWORD
, andGOOGLE_SCRIPT_URL
inmain.cpp
with your own credentials. - Upload the code to your ESP32 using Arduino IDE.
- Monitor the serial output to verify the connection and operation.
This project is licensed under the MIT License.