Make ESP32 firmware API fully generic

This commit is contained in:
2026-06-04 03:33:36 -06:00
parent dc42284d87
commit cc1909faaf
8 changed files with 159 additions and 711 deletions
+8 -8
View File
@@ -10,20 +10,20 @@ echo "1. Status:"
curl -s "$BASE_URL/status" | python3 -m json.tool
echo
echo "2. Starlink ON:"
curl -s "$BASE_URL/relay/starlink/on" | python3 -m json.tool
echo "2. Relay 1 ON:"
curl -s "$BASE_URL/relay/relay_1/on" | python3 -m json.tool
echo
echo "3. Starlink OFF:"
curl -s "$BASE_URL/relay/starlink/off" | python3 -m json.tool
echo "3. Relay 1 OFF:"
curl -s "$BASE_URL/relay/relay_1/off" | python3 -m json.tool
echo
echo "4. Fridge ON:"
curl -s "$BASE_URL/relay/fridge/on" | python3 -m json.tool
echo "4. Relay 2 ON:"
curl -s "$BASE_URL/relay/relay_2/on" | python3 -m json.tool
echo
echo "5. Fridge OFF:"
curl -s "$BASE_URL/relay/fridge/off" | python3 -m json.tool
echo "5. Relay 2 OFF:"
curl -s "$BASE_URL/relay/relay_2/off" | python3 -m json.tool
echo
echo "ESP32 HTTP bring-up test complete."