114 lines
2.3 KiB
JSON
114 lines
2.3 KiB
JSON
{
|
|
"type": "status_response",
|
|
"timestamp": 123456,
|
|
"battery": {
|
|
"source": "jbd_bms",
|
|
"connected": true,
|
|
"soc": 70,
|
|
"voltage": 13.34,
|
|
"current": -5.2,
|
|
"remaining_ah": 104.8,
|
|
"capacity_ah": 150.0,
|
|
"runtime_hours": 20.15,
|
|
"temperature_f": 76.5,
|
|
"cycle_count": 3,
|
|
"cell_count": 4,
|
|
"ntc_count": 2,
|
|
"cell_voltages": [3.334, 3.333, 3.334, 3.333],
|
|
"cell_min_voltage": 3.333,
|
|
"cell_max_voltage": 3.334,
|
|
"cell_delta_mv": 1,
|
|
"cells_valid": true
|
|
},
|
|
"temps": [
|
|
{
|
|
"id": "temp_1",
|
|
"name": "Cabin",
|
|
"enabled": true,
|
|
"weather": false,
|
|
"online": true,
|
|
"temperature_f": 72.4
|
|
}
|
|
],
|
|
"relays": [
|
|
{
|
|
"id": "relay_1",
|
|
"name": "Aux Power",
|
|
"pin": 16,
|
|
"enabled": true,
|
|
"state": false
|
|
},
|
|
{
|
|
"id": "relay_2",
|
|
"name": "Fridge",
|
|
"pin": 17,
|
|
"enabled": true,
|
|
"state": true
|
|
}
|
|
],
|
|
"vehicle": {
|
|
"ignition_on": false
|
|
},
|
|
"network": {
|
|
"wifi_enabled": true,
|
|
"uart_connected": true,
|
|
"ap_enabled": true,
|
|
"ap_ip": "192.168.4.1",
|
|
"sta_enabled": true,
|
|
"sta_connected": false,
|
|
"sta_ssid": "",
|
|
"sta_ip": "",
|
|
"saved_network_count": 1,
|
|
"saved_networks": [
|
|
{
|
|
"index": 1,
|
|
"ssid": "Starlink",
|
|
"priority": 1,
|
|
"active": false
|
|
}
|
|
]
|
|
},
|
|
"alarms": {
|
|
"low_soc": false,
|
|
"critical_soc": false,
|
|
"low_voltage": false,
|
|
"high_battery_temp": false,
|
|
"cell_imbalance": false,
|
|
"bms_disconnected": false
|
|
},
|
|
"system": {
|
|
"firmware_name": "overland-controller",
|
|
"firmware_version": "0.4.0",
|
|
"build_date": "Jun 07 2026",
|
|
"build_time": "12:00:00",
|
|
"uptime_seconds": 42
|
|
},
|
|
"config": {
|
|
"device_name": "Cargo Controller",
|
|
"relays": [
|
|
{
|
|
"id": "relay_1",
|
|
"name": "Aux Power",
|
|
"pin": 16,
|
|
"enabled": true
|
|
}
|
|
],
|
|
"bms": {
|
|
"enabled": true,
|
|
"name": "House Battery",
|
|
"address": "aa:bb:cc:dd:ee:ff",
|
|
"address_type": "public"
|
|
},
|
|
"temperature_sensor_count": 4,
|
|
"temperature_sensors": [
|
|
{
|
|
"id": "temp_1",
|
|
"name": "Cabin",
|
|
"address": "28ff001122334455",
|
|
"enabled": true,
|
|
"weather": false
|
|
}
|
|
]
|
|
}
|
|
}
|