From d0978e75eb835a6c83fcfa85e340a325a319e3fc Mon Sep 17 00:00:00 2001 From: jessikitty Date: Mon, 15 Dec 2025 16:26:16 +1100 Subject: [PATCH] Add ESP32 relay connection test batch script --- test_relay.bat | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 test_relay.bat diff --git a/test_relay.bat b/test_relay.bat new file mode 100644 index 0000000..5c74511 --- /dev/null +++ b/test_relay.bat @@ -0,0 +1,39 @@ +@echo off +REM Test ESP32 Bluetooth Relay Controller Connection +REM This script tests the connection to your ESP32 relay controller + +echo ======================================== +echo ESP32 Relay Controller Connection Test +echo ======================================== +echo. + +REM Check if Python is available +python --version >nul 2>&1 +if errorlevel 1 ( + echo ERROR: Python is not installed or not in PATH + echo Please install Python 3.8+ and try again + pause + exit /b 1 +) + +echo Testing ESP32 relay controller connection... +echo. + +REM Run the test script +python esp32_relay_controller.py + +echo. +echo ======================================== +echo Test Complete +echo ======================================== +echo. +echo If connection was successful, you can now: +echo 1. Enable relay automation in config.py +echo 2. Start the theatre system normally +echo 3. Control relays via web interface +echo. +echo For setup instructions, see: +echo docs/ESP32_RELAY_INTEGRATION.md +echo. + +pause