AI-on-the-edge-device
AI-on-the-edge-device copied to clipboard
In the selected field the value '' in the section 'Webhook' in the field 'UploadImg' is invalid.
The Problem
After going from the latest release to rolling, when selecting "settings/configuration", I get a popup message saying.
In the selected field the value '' in the section 'Webhook' in the field 'UploadImg' is invalid. PLEASE CHECK BEFORE SAVING!
Webhook settings are all empty, but Webhook isn't selected either.
Version
Development-Branch: rolling (Commit: d1c815c
Logfile
0d00h00m00s] 2024-09-06T14:00:00 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-06T14:00:00 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-09-06T14:00:00 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-06T14:00:00 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-09-06T14:00:00 <INF> [MAIN] Total heap: 4383067 byte
[0d00h00m04s] 2024-09-06T14:00:04 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2024-09-06T14:00:04 <INF> [SDCARD] Basic R/W check started...
[0d00h00m04s] 2024-09-06T14:00:04 <INF> [SDCARD] Basic R/W check successful
[0d00h00m04s] 2024-09-06T14:00:04 <INF> [SNTP] TimeServer: ntp.ka51.zugschlus.de
[0d00h00m04s] 2024-09-06T14:00:04 <INF> [SNTP] Configuring NTP Client...
[0d00h00m04s] 2024-09-06T16:00:04 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m04s] 2024-09-06T16:00:04 <INF> [SNTP] time zone: +0200 Delta to UTC: 7200 seconds
[0d00h00m04s] 2024-09-06T16:00:04 <INF> [SNTP] Time is already set: 2024-09-06 16:00:04
[0d00h00m04s] 2024-09-06T16:00:04 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [MAIN] Development-Branch: rolling (Commit: d1c815c), Date/Time: 2024-09-03 21:11, Web UI: Development-Branch: rolling (Commit: d1c815c)
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [WLANINI] SSID: incluesionWPAPersRnd
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [WLANINI] Hostname: esp-watermeter
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [WLANINI] RSSIThreshold: 0
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [WIFI] Automatic interface config --> Use DHCP service
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [WIFI] Set hostname to: esp-watermeter
[0d00h00m05s] 2024-09-06T16:00:05 <INF> [WIFI] Init successful
[0d00h00m08s] 2024-09-06T16:00:08 <INF> [WIFI] Connected to: incluesionWPAPersRnd, RSSI: -73
[0d00h00m09s] 2024-09-06T16:00:09 <INF> [WIFI] Assigned IP: 192.168.194.86
[0d00h00m09s] 2024-09-06T16:00:09 <INF> [SNTP] Time is synced with NTP Server ntp.ka51.zugschlus.de: 2024-09-06 16:00:09
[0d00h00m09s] 2024-09-06T16:00:09 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 100
[0d00h00m09s] 2024-09-06T16:00:09 <INF> [MAIN] SD card info: Name: SU02G, Capacity: 1886MB, Free: 1861MB
[0d00h00m11s] 2024-09-06T16:00:11 <INF> [MAIN] Initialization completed successfully
[0d00h00m14s] 2024-09-06T16:00:14 <INF> [LOGFILE] Set log level to ERROR
[0d00h01m06s] 2024-09-06T16:01:06 <ERR> [POSTPROC] name: Raw: 00476.50325, Value: , Status: Rate too high - Read: 476.50325 - Pre: 475.56998 - Rate: 0.93327
[0d00h04m05s] 2024-09-06T16:04:05 <ERR> [POSTPROC] name: Raw: 00476.50586, Value: , Status: Rate too high - Read: 476.50586 - Pre: 475.56998 - Rate: 0.93588
Expected Behavior
No error message when calling up the configuration interface
Screenshots
Additional Context
No response
Thanks for reporting this. It is possible that there was a bug on handling the new parameters. I can no longer reproduce it, so I will close the issue for now.
I get the same message after updating to Release: v16.0.0-RC5 (Commit: 7836323+)
Webhook gets visible after enabling the Expert Setting, but the same as Zugschlus, the webhook is not used/filled. I clicked it for the picture to be able to create a screenshoot. IIRC I did add the URL from Tooltips when I did re-config due to the dark image.
I wanted to re-open the issue, but there is no reopen button.
If you want, you can test this fix: https://github.com/jomjol/AI-on-the-edge-device/actions/runs/12517381780
Hi, I have the same issue with V16 RC5. I will test the patch.
@SybexX I can confirm that the fix worked for me - the error message is gone. will see if it shows up later.
@SybexX Can we close this? Or do we still have to integrate your changes (https://github.com/jomjol/AI-on-the-edge-device/commit/1af9c41857a99b0001e6832d03bc2e82c4cb7e0e)?
@caco3 This would still have to be fixed, but not all my changes for "only webhook" are necessary.
I had made further adjustments there:
My thought was to remove the checkbox for all parameters that are at least needed.
In order to fix webhook as it is (with checkbox), the following changes must be enough:
-
https://github.com/jomjol/AI-on-the-edge-device/pull/3279/commits/c7fdc46df2598f3054358320cacf2b3fbe96c9c6 set back
-
in readconfigparam.js change
from:
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");
ParamAddValue(param, catname, "UploadImg");
to:
var catname = "Webhook";
category[catname] = new Object();
category[catname]["enabled"] = false;
category[catname]["found"] = false;
param[catname] = new Object();
ParamAddValue(param, catname, "Uri", 1, false, "undefined");
ParamAddValue(param, catname, "ApiKey", 1, false, "undefined");
ParamAddValue(param, catname, "UploadImg", 1, false, "0");