6 posts / 0 new
Last post
THUNK
Android App "12v Battery History" no longer works, displaying only "No chart data available"

I raised this issue on Facebook, but so far no attention to this has really been given.

Mid-April 2026: 12v Battery History has suddenly disappeared…did something change?  I have 2 THINK cars, each with an OVMS attached.

  1. Neither car's 12v battery history is visible any longer, displaying "No data to display"; Android App version: 5.2.4
  2. Tested with Android Tablet App (v.5.2.3) and initially did display for each car and update button worked one last time, then since it now acts the same
  3. Raised the issue on Facebook---one response, not helpful
  4. The issue persists (now May 3rd)
  5. May be an image of text that says '9:49 12VBatteryHistory 12V Battery History No chartdataavailable. chart data available. 유'
THUNK
AuxBatteryFragment.kt includes "mikephil" imports from GitHub

While I have not found any OVMS App code that has changed recently that might affect the 12v Battery History chart plotting, I did see a dependency in AuxBatteryFragment.kt whereby 11 Import lines come from a GitHub archive called "mikephil".  Changes in that repository would certainly affect the operation of the 12v Battery History charting.  Since I'm still not seeing any charts and am running out of options to explain this, I'm thinking someone made a change in the MikePhil repository recently that broke the OVMS usage to generate the 12v History Chart.

import com.github.mikephil.charting.charts.LineChart
import com.github.mikephil.charting.components.LimitLine
import com.github.mikephil.charting.components.XAxis
import com.github.mikephil.charting.components.YAxis
import com.github.mikephil.charting.data.Entry
import com.github.mikephil.charting.data.LineData
import com.github.mikephil.charting.data.LineDataSet
import com.github.mikephil.charting.formatter.DefaultAxisValueFormatter
import com.github.mikephil.charting.highlight.Highlight
import com.github.mikephil.charting.interfaces.datasets.ILineDataSet
import com.github.mikephil.charting.listener.OnChartValueSelectedListener
 

Gothstone
12v battery history

I have also been having the same issue. 12v history DOES work through the web interface, the data is there. I went through the mikephil repository, he hasn't make changes in like 7 years. Downgrading the app doesn't work either so I'm at a real loss here. I am begining to think this is a firmware issue instead of an app issue, but I don;t have the time and patience to downgrade firmware right now. I tried USB debugging, but didn't find anything obvious. In case it helps:

app 5.2.4, OMVS 3.3.006-226, Samsung Galaxy S24 Ultra running Android 16 - but this has persisted though several updates for all 3.
2013 Leaf
Switching to the old UI does NOT help

downgrading to 5.2.3 does NOT help, even downgrading to 5.2.2 does not help.

Gothstone
I opened an issue on git hub:

I opened an issue on git hub: https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/1493

THUNK
Misery loves company

Really good to finally confirm that I am not the only person experiencing this "No Data Available" issue with 12v History on Android App.  Thank you Gothstone for chiming in and marshalling this issue!  I also tried a couple versions of the App with no success.  So this is confirmed both for a Leaf and a Think.  And we are each using Android App running on Samsung Galaxy S2x phones.  And the same problem is confirmed running Android on a Samsung Galaxy Tab E (cca 2018 tablet).  Hopefully this will get more attention.

THUNK
ISSUE Resolved --- was a bug in api.openvehicles.com server

From Dexter: "Commands 31 & 32 on your new server currently always fail (return "No historical data available") when omitting the optional since parameter. When passing 1970-01-01 explicitly, the data is returned. Checking the server code I found you took the new MariaDB behaviour of warning about 0000-00-00 dates into account, but at the DB level. The MP commands still have their own fallback to 0000-00-00 -- this was the only place I still found 0000-00-00."

Fix deployed by Mark.

Tested and confirmed 12vBatteryHistory now works again!!!  Thanks guys!

Log in or register to post comments