40 lines
997 B
Batchfile
40 lines
997 B
Batchfile
@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
|