Skip to content

Commit b5e0d6e

Browse files
jomjolhaverlandcaco3CaCO3Slider0007
authored
Implement InfluxDBv1 and minor changes (#2211)
* Testcase for #2145 and debug-log (#2151) * new models ana-cont-11.0.5, ana-class100-1.5.7, dig-class100-1.6.0 * Testcase for #2145 Added debug log, if allowNegativeRates is handeled * Fix timezone config parser (#2169) * make sure to parse the whole config line * fix crash on empty timezone parameter --------- Co-authored-by: CaCO3 <[email protected]> * Enhance ROI pages (#2161) * Check if the ROIs are equidistant. Only if not, untick the checkbox * renaming * Check if the ROIs have same y, dy and dx. If so, tick the sync checkbox * only allow editing space when box is checked * fix sync check * show inner frame on all ROIs * cleanup * Check if the ROIs have same dy and dx. If so, tick the sync checkbox * checkbox position * renaming * renaming * show inner frame and cross hairs on all ROIs * update ROIs on ticking checkboxes * show timezone hint * fix deleting last ROI * cleanup --------- Co-authored-by: CaCO3 <[email protected]> * restart timeout on progress, catch error (#2170) * restart timeout on progress, catch error * . --------- Co-authored-by: CaCO3 <[email protected]> * BugFix #2167 * Release 15.1 preparations (#2171) * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update changelog * Fix links to PR * Formating * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update Changelog.md * Update Changelog.md --------- Co-authored-by: Slider0007 <[email protected]> Co-authored-by: Slider0007 <[email protected]> * fix typo * Replace relative documentation links with absolute ones pointing to the external documentation (#2180) Co-authored-by: CaCO3 <[email protected]> * Sort model files in configuration combobox (#2189) * new models ana-cont-11.0.5, ana-class100-1.5.7, dig-class100-1.6.0 * Testcase for #2145 Added debug log, if allowNegativeRates is handeled * Sort model files in combobox * reboot task - increase stack size (#2201) Avoid stack overflow * Update interface_influxdb.cpp * Update Changelog.md --------- Co-authored-by: Frank Haverland <[email protected]> Co-authored-by: CaCO3 <[email protected]> Co-authored-by: CaCO3 <[email protected]> Co-authored-by: Slider0007 <[email protected]> Co-authored-by: Slider0007 <[email protected]>
1 parent 7d33c3e commit b5e0d6e

File tree

6 files changed

+38
-3
lines changed

6 files changed

+38
-3
lines changed

Changelog.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
## [unreleased]
2+
3+
### Update Procedure
4+
5+
Update Procedure see [online documentation](https://jomjol.github.io/AI-on-the-edge-device-docs/Installation/#update-ota-over-the-air)
6+
7+
:bangbang: Afterwards you should force-reload the Web Interface (usually Ctrl-F5 will do it)!
8+
9+
:bangbang: Afterwards you should check your configuration for errors!
10+
11+
### Changes
12+
13+
For a full list of changes see [Full list of changes](https://github.com/jomjol/AI-on-the-edge-device/compare/v15.0.3...v15.1.0)
14+
15+
#### Added
16+
17+
- n.a.
18+
19+
20+
#### Changed
21+
22+
- n.a.
23+
24+
#### Fixed
25+
26+
- [#2203](https://github.com/jomjol/AI-on-the-edge-device/issues/2203) Correct API for pure InfluxDB v1
27+
28+
#### Removed
29+
30+
- n.a.
31+
132
## [15.1.0] - 2023-03-12
233

334
### Update Procedure

code/components/jomjol_fileserver_ota/server_ota.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ void doReboot()
617617
LogFile.WriteToFile(ESP_LOG_INFO, TAG, "Reboot triggered by Software (5s)");
618618
LogFile.WriteToFile(ESP_LOG_WARN, TAG, "Reboot in 5sec");
619619

620-
BaseType_t xReturned = xTaskCreate(&task_reboot, "task_reboot", configMINIMAL_STACK_SIZE * 3, (void*) true, 10, NULL);
620+
BaseType_t xReturned = xTaskCreate(&task_reboot, "task_reboot", configMINIMAL_STACK_SIZE * 4, (void*) true, 10, NULL);
621621
if( xReturned != pdPASS )
622622
{
623623
LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "task_reboot not created -> force reboot without killing flow");

code/components/jomjol_influxdb/interface_influxdb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ void InfluxDBPublish(std::string _key, std::string _content, std::string _timest
189189

190190

191191
// use the default retention policy of the database
192-
std::string apiURI = _influxDBURI + "/api/v2/write?bucket=" + _influxDBDatabase + "/";
192+
std::string apiURI = _influxDBURI + "/write?db=" + _influxDBDatabase + "/";
193193
apiURI.shrink_to_fit();
194194
http_config.url = apiURI.c_str();
195195

sd-card/html/edit_config_param.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,7 @@ <h5>By default GPIO4 is used for the built-in flash LED! If you enable the GPIO
12261226
</tr>
12271227
<tr class="expert" id="ex13">
12281228
<td class="indent1">
1229-
<class id="AutoTimer_AutoStart_text" style="color:black;">Automatically Round Start</class>
1229+
<class id="AutoTimer_AutoStart_text" style="color:black;">Automatic Round Start</class>
12301230
</td>
12311231
<td>
12321232
<select id="AutoTimer_AutoStart_value1">

sd-card/html/readconfigparam.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ function getTFLITEList() {
9292
}
9393

9494
tflitelist = tflitelist.split("\t");
95+
tflitelist.sort();
9596
tflitelist.pop();
9697

9798
return tflitelist;

tools/parameter-tooltip-generator/generate-param-doc-tooltips.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ def generateHtmlTooltip(section, parameter, markdownFile):
3636
# Make all links to be opened in a new page
3737
htmlTooltip = htmlTooltip.replace("a href", "a target=_blank href")
3838

39+
# Replace relative documentation links with absolute ones pointing to the external documentation
40+
htmlTooltip = htmlTooltip.replace("href=\"../", "href=\"https://jomjol.github.io/AI-on-the-edge-device-docs/")
41+
3942
# Add custom styles
4043
htmlTooltip = htmlTooltip.replace("<h3>", "<h3 style=\"margin: 0\">")
4144

0 commit comments

Comments
 (0)