Control & telemetry
Batt Control
The original Bat Cave dashboard brings live sensor readings and essential boat controls into one practical, at-a-glance interface.
Current build
I/ORemote controlWhat it does
Built for a clear view
When several systems need attention at once, the important information should stay close. Batt Control groups telemetry, alert states and motor controls, while keeping logs and exports within reach.
Key features
Live device readings with minimum and maximum values
Port and starboard motor controls
Alarm silencing, theme control and CSV export
Location tracking and access-controlled controls
Under the panel
How the system works
A practical map from the onboard sensor or controller to the value shown in the browser.
- 01
The ESP8266 samples an analogue input and converts the raw ADC reading into the configured engineering range.
- 02
It sends readings to the HAL server as a small WebSocket chat message; the first message also carries calibration and alert limits.
- 03
The HAL server relays device messages to connected dashboards over secure WebSockets.
- 04
The browser extracts the device name and value, then updates its card, history, alarms and GPS map. Control commands travel back through the same connection.
Wire reference
Data format
- Transport
- ESP WebSocket → HAL server → secure browser WebSocket
- Envelope
- JSON chat envelope containing a space-separated HAL line
Example payload
{
"type": "chat",
"username": "Hal-Temp1",
"text": "hal: Temp1 21 min=0 max=100 alert_low=10.0 alert_med=80.0"
}Field reference
deviceName after hal:, such as Temp1, Temp2 or GPS
valueCalibrated number; GPS uses decimal latitude,longitude
min / maxDisplay range configured in the ESP
alert_low / alert_medThreshold values in the same unit as the reading
Source code
Take it apart. Make it yours.
The ZIP contains the web project and its matching ESP/Arduino firmware. Passwords, private keys, tokens, logs and live location data have been removed.
Firmware: ESP8266 Batt Control firmware
- Dashboard HTML and JavaScript
- ESP8266 Arduino sketch
- HAL WebSocket server
- Audio and configuration assets
