mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-18 05:28:19 +03:00
Updated graphical representation
This commit is contained in:
@@ -7,11 +7,13 @@
|
||||
- added `/graph.html` to fetch measurements from the debug log and display them as a graph. Activate debug logging for this feature to work.
|
||||
- Added PreValue to `/json` ([#1154](https://github.com/jomjol/AI-on-the-edge-device/issues/1154))
|
||||
- Show graph of values direct in the user interface (thanks to [@rdmueller](https://github.com/rdmueller))
|
||||
- Using new data logging (see below)
|
||||
- Possiblity to choose different values and switch betwenn different numbers (if present)
|
||||
|
||||
- SD card info into the "Info" Menue (thanks to [@Slider007]( https://github.com/Slider0007))
|
||||
- Added a logging of the values in a text table in `/log/data` - each measurement is one line
|
||||
- Format: tabulator separated
|
||||
- Content: time, name-of-number, raw-value, return-value, pre-value, change-rate, change-absolute, error-text, cnn-digital, cnn-analog
|
||||
- ATTENTION: format not fully fixed yet!
|
||||
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -13,7 +13,7 @@ function getbasepath(){
|
||||
{
|
||||
// host = "http://192.168.2.219"; // jomjol interner test
|
||||
// host = "http://192.168.178.46"; // jomjol interner test
|
||||
host = "http://192.168.178.44"; // jomjol interner Real
|
||||
host = "http://192.168.178.46"; // jomjol interner Real
|
||||
// host = "http://192.168.43.191";
|
||||
// host = "."; // jomjol interner localhost
|
||||
|
||||
|
||||
@@ -66,11 +66,9 @@ fetch(_basepath + '/fileserver/log/data/' + datefile)
|
||||
var value = line.split("\t")[datatype];
|
||||
var time = line.split("\t")[0];
|
||||
console.log("> "+time+" "+value+"\n");
|
||||
if (value<1000) {
|
||||
trace.x.push(timex);
|
||||
timex += 1;
|
||||
trace.y.push(value);
|
||||
}
|
||||
trace.x.push(time);
|
||||
// timex += 1;
|
||||
trace.y.push(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user