Metrics from Tesla Wall Connector using Prometheus and Grafana
src/configs/prometheus.yml
Lines:
Replace 10.0.0.111 with your tesla wall charger IP
make pi4.run
Prometheus http://localhost:9090/
Grafana http://localhost:3000
username: tesla password: tesla
make pi4.run
make pi4.pull
make pi4.stop
make pi4.restart
make pi4.update
make pi4.logs
make pi4.cleanup
- http://IP_TESLA_CHARGER/api/1/lifetime
{
"contactor_cycles": 32,
"contactor_cycles_loaded": 0,
"alert_count": 125,
"thermal_foldbacks": 0,
"avg_startup_temp": 29.8,
"charge_starts": 32,
"energy_wh": 2879,
"connector_cycles": 6,
"uptime_s": 128106,
"charging_time_s": 13802
}
- http://IP_TESLA_CHARGER/api/1/vitals
{
"contactor_closed": false,
"vehicle_connected": true,
"session_s": 16315,
"grid_v": 237.3,
"grid_hz": 49.994,
"vehicle_current_a": 0.3,
"currentA_a": 0,
"currentB_a": 0,
"currentC_a": 0.3,
"currentN_a": 0,
"voltageA_v": 1.2,
"voltageB_v": 3.4,
"voltageC_v": 0,
"relay_coil_v": 11.9,
"pcba_temp_c": 25.2,
"handle_temp_c": 21,
"mcu_temp_c": 34.3,
"uptime_s": 110125,
"input_thermopile_uv": -212,
"prox_v": 0,
"pilot_high_v": 8.7,
"pilot_low_v": -11.6,
"session_energy_wh": 1408,
"config_status": 5,
"evse_state": 4,
"current_alerts": []
}
- http://IP_TESLA_CHARGER/api/1/wifi_status
{
"wifi_ssid": "xxx",
"wifi_signal_strength": 54,
"wifi_rssi": -63,
"wifi_snr": 34,
"wifi_connected": true,
"wifi_infra_ip": "10.0.0.111",
"internet": true,
"wifi_mac": "xx:xx:xx:xx:xx:xx"
}
- http://IP_TESLA_CHARGER/api/1/version
{
"firmware_version": "23.24.3+gba52398ee0bc71",
"part_number": "xxxxxxx-xx-x",
"serial_number": "PGTxxxxxxxxxxx"
}
- https://github.com/fynnsh/teslawallconnector-exporter/blob/main/teslawallconnector-exporter.py
- https://github.com/averysmalldog/tesla-gen3wc-monitor/blob/main/Basic%20HPWC%20Info%20Grafana%20Dashboard.json
- https://github.com/munin-monitoring/contrib/pull/1318/commits/fc2d236b76c7d70432d96f704b73403f61f8571b