mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 04:26:58 +03:00
* WIP add Webhook * fix config html for webhook add tooltips for webhook * webhook: fix not enabling webhook * send webhook as json * Update ApiKey.md * webhook: fix only sending last "Number" * webhook JSON is now closer to the data log in CSV format * webhook: drop timeStampTimeUTC and switch from timeStamp to lastvalue like lokal csv to fix no timestamp on error --------- Co-authored-by: CaCO3 <caco3@ruinelli.ch>
This commit is contained in:
@@ -228,6 +228,14 @@ function ParseConfig() {
|
||||
ParamAddValue(param, catname, "Measurement", 1, true);
|
||||
ParamAddValue(param, catname, "Field", 1, true);
|
||||
|
||||
var catname = "Webhook";
|
||||
category[catname] = new Object();
|
||||
category[catname]["enabled"] = false;
|
||||
category[catname]["found"] = false;
|
||||
param[catname] = new Object();
|
||||
ParamAddValue(param, catname, "Uri");
|
||||
ParamAddValue(param, catname, "ApiKey");
|
||||
|
||||
var catname = "GPIO";
|
||||
category[catname] = new Object();
|
||||
category[catname]["enabled"] = false;
|
||||
|
||||
Reference in New Issue
Block a user