Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

16.0.0-RC1: dark image after upgrade from 15.7.0 #3273

Closed
Piti61 opened this issue Sep 30, 2024 · 3 comments
Closed

16.0.0-RC1: dark image after upgrade from 15.7.0 #3273

Piti61 opened this issue Sep 30, 2024 · 3 comments
Labels
bug Something isn't working Release16.0.0

Comments

@Piti61
Copy link

Piti61 commented Sep 30, 2024

The Problem

I upgraded my watermeter from 15.7.0 to 16.0.0-rc1 and since then the image is very dark, obviously caused by "auto-exposure", which is on.

What I tried:

  1. switch off "auto-exposure" and the image is bright again.
  2. switched on "auto-exposure" and created a new reference image and everything is ok again.

I had the same issue when upgrading to 15.7.0 from 15.6.0 early this year.

Version

16.0.0-RC1

Logfile

Reload Show Full Log Show Older Log Files

[10d12h37m47s] 2024-09-30T07:34:14 <ERR> [POSTPROC] main: Raw: 701.7801, Value: , Status: Neg. Rate - Read: - Raw: 701.7801 - Pre: 701.7803
[10d12h42m47s] 2024-09-30T07:39:14 <ERR> [POSTPROC] main: Raw: 701.7801, Value: , Status: Neg. Rate - Read: - Raw: 701.7801 - Pre: 701.7803
[0d00h00m00s] 2024-09-30T08:32:53 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T08:32:54 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-09-30T08:32:54 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T08:32:54 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-09-30T08:32:54 <INF> [MAIN] Total heap: 4380199 byte
[0d00h00m04s] 2024-09-30T08:32:58 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2024-09-30T08:32:58 <INF> [SDCARD] Basic R/W check started...
[0d00h00m04s] 2024-09-30T08:32:58 <INF> [SDCARD] Basic R/W check successful
[0d00h00m04s] 2024-09-30T08:32:58 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m04s] 2024-09-30T08:32:58 <INF> [SNTP] Configuring NTP Client...
[0d00h00m05s] 2024-09-30T10:32:58 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m05s] 2024-09-30T10:32:58 <INF> [SNTP] time zone: +0200 Delta to UTC: 7200 seconds
[0d00h00m05s] 2024-09-30T10:32:58 <INF> [SNTP] Time is already set: 2024-09-30 10:32:58
[0d00h00m05s] 2024-09-30T10:32:58 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m05s] 2024-09-30T10:32:59 <INF> [OTA] Start update process (/sdcard/firmware/AI-on-the-edge-device__update__v16-0-0-RC1.zip)
[0d00h00m05s] 2024-09-30T10:32:59 <INF> [OTA] File: /sdcard/firmware/AI-on-the-edge-device__update__v16-0-0-RC1.zip Filetype: ZIP
[0d00h00m05s] 2024-09-30T10:32:59 <INF> [OTA FILE] Files to be extracted: 77
[0d00h00m56s] 2024-09-30T10:33:50 <INF> [OTA] Files unzipped.
[0d00h00m56s] 2024-09-30T10:33:50 <INF> [OTA] Found firmware.bin
[0d00h01m13s] 2024-09-30T10:34:07 <INF> [OTA] Trigger reboot due to firmware update
[0d00h01m13s] 2024-09-30T10:34:07 <WRN> [OTA] Reboot in 5sec
[0d00h00m00s] 2024-09-30T08:34:13 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T08:34:13 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-09-30T08:34:13 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T08:34:13 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-09-30T08:34:14 <INF> [MAIN] Total heap: 4382911 byte
[0d00h00m02s] 2024-09-30T08:34:16 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m02s] 2024-09-30T08:34:16 <INF> [SDCARD] Basic R/W check started...
[0d00h00m02s] 2024-09-30T08:34:16 <INF> [SDCARD] Basic R/W check successful
[0d00h00m02s] 2024-09-30T08:34:16 <ERR> [HELPER] Migrated Configfile line 'main.AnalogDigitalTransitionStart = 9.2' to 'main.AnalogToDigitTransitionStart = 9.2'
[0d00h00m02s] 2024-09-30T08:34:16 <INF> [MAIN] Config file migrated. Saved backup to /sdcard/config/config.bak
[0d00h00m02s] 2024-09-30T08:34:16 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m02s] 2024-09-30T08:34:16 <INF> [SNTP] Configuring NTP Client...
[0d00h00m02s] 2024-09-30T10:34:16 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m02s] 2024-09-30T10:34:16 <INF> [SNTP] time zone: +0200 Delta to UTC: 7200 seconds
[0d00h00m02s] 2024-09-30T10:34:16 <INF> [SNTP] Time is already set: 2024-09-30 10:34:16
[0d00h00m02s] 2024-09-30T10:34:16 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m03s] 2024-09-30T10:34:16 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [MAIN] Tag: 'v16-0-0-RC1', Release: v16-0-0-RC1 (Commit: ca01f5a+), Date/Time: 2024-09-29 21:25, Web UI: Release: v16-0-0-RC1 (Commit: ca01f5a+)
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [WLANINI] SSID: MAP-Home
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [WLANINI] RSSIThreshold: -75
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [WIFI] Automatic interface config --> Use DHCP service
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [WIFI] Set hostname to: watermeter
[0d00h00m03s] 2024-09-30T10:34:17 <INF> [WIFI] Init successful
[0d00h00m06s] 2024-09-30T10:34:19 <INF> [WIFI] Connected to: MAP-Home, RSSI: -43
[0d00h00m07s] 2024-09-30T10:34:20 <INF> [WIFI] Assigned IP: 192.168.1.245
[0d00h00m09s] 2024-09-30T10:34:23 <INF> [SNTP] Time is synced with NTP Server pool.ntp.org: 2024-09-30 10:34:23
[0d00h00m11s] 2024-09-30T10:34:25 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 300
[0d00h00m11s] 2024-09-30T10:34:25 <INF> [MAIN] SD card info: Name: USD , Capacity: 7647MB, Free: 7591MB
[0d00h00m13s] 2024-09-30T10:34:27 <INF> [MAIN] Initialization completed successfully
[0d00h00m16s] 2024-09-30T10:34:30 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m16s] 2024-09-30T10:34:30 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m16s] 2024-09-30T10:34:30 <INF> [LOGFILE] Set log level to ERROR
[0d00h00m57s] 2024-09-30T10:35:11 <ERR> [POSTPROC] main: Raw: 311.8512, Value: , Status: Neg. Rate - Read: - Raw: 311.8512 - Pre: 701.8515
[0d00h01m59s] 2024-09-30T10:36:13 <ERR> [POSTPROC] main: Raw: 14N.8908, Value: , Status: Neg. Rate - Read: - Raw: 14N.8908 - Pre: 701.8515
[0d00h00m00s] 2024-09-30T08:41:13 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T08:41:13 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-09-30T08:41:14 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T08:41:14 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-09-30T08:41:14 <INF> [MAIN] Total heap: 4382779 byte
[0d00h00m02s] 2024-09-30T08:41:16 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m02s] 2024-09-30T08:41:16 <INF> [SDCARD] Basic R/W check started...
[0d00h00m02s] 2024-09-30T08:41:16 <INF> [SDCARD] Basic R/W check successful
[0d00h00m02s] 2024-09-30T08:41:16 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m02s] 2024-09-30T08:41:16 <INF> [SNTP] Configuring NTP Client...
[0d00h00m02s] 2024-09-30T10:41:16 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m02s] 2024-09-30T10:41:16 <INF> [SNTP] time zone: +0200 Delta to UTC: 7200 seconds
[0d00h00m02s] 2024-09-30T10:41:16 <INF> [SNTP] Time is already set: 2024-09-30 10:41:16
[0d00h00m02s] 2024-09-30T10:41:16 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m03s] 2024-09-30T10:41:16 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [MAIN] Tag: 'v16-0-0-RC1', Release: v16-0-0-RC1 (Commit: ca01f5a+), Date/Time: 2024-09-29 21:25, Web UI: Release: v16-0-0-RC1 (Commit: ca01f5a+)
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [WLANINI] SSID: MAP-Home
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [WLANINI] RSSIThreshold: -75
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [WIFI] Automatic interface config --> Use DHCP service
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [WIFI] Set hostname to: watermeter
[0d00h00m03s] 2024-09-30T10:41:17 <INF> [WIFI] Init successful
[0d00h00m06s] 2024-09-30T10:41:19 <INF> [WIFI] Connected to: MAP-Home, RSSI: -44
[0d00h00m07s] 2024-09-30T10:41:20 <INF> [WIFI] Assigned IP: 192.168.1.245
[0d00h00m08s] 2024-09-30T10:41:21 <INF> [SNTP] Time is synced with NTP Server pool.ntp.org: 2024-09-30 10:41:21
[0d00h00m09s] 2024-09-30T10:41:23 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 300
[0d00h00m09s] 2024-09-30T10:41:23 <INF> [MAIN] SD card info: Name: USD , Capacity: 7647MB, Free: 7591MB
[0d00h00m11s] 2024-09-30T10:41:25 <INF> [MAIN] Initialization completed successfully
[0d00h00m13s] 2024-09-30T10:41:27 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m14s] 2024-09-30T10:41:28 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m14s] 2024-09-30T10:41:28 <INF> [LOGFILE] Set log level to ERROR
[0d00h00m00s] 2024-09-30T10:35:17 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T10:35:17 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-09-30T10:35:17 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T10:35:17 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-09-30T10:35:17 <INF> [MAIN] Total heap: 4382779 byte
[0d00h00m02s] 2024-09-30T10:35:20 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m02s] 2024-09-30T10:35:20 <INF> [SDCARD] Basic R/W check started...
[0d00h00m02s] 2024-09-30T10:35:20 <INF> [SDCARD] Basic R/W check successful
[0d00h00m02s] 2024-09-30T10:35:20 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m02s] 2024-09-30T10:35:20 <INF> [SNTP] Configuring NTP Client...
[0d00h00m02s] 2024-09-30T12:35:20 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m02s] 2024-09-30T12:35:20 <INF> [SNTP] time zone: +0200 Delta to UTC: 7200 seconds
[0d00h00m02s] 2024-09-30T12:35:20 <INF> [SNTP] Time is already set: 2024-09-30 12:35:20
[0d00h00m02s] 2024-09-30T12:35:20 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m03s] 2024-09-30T12:35:20 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m03s] 2024-09-30T12:35:20 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m03s] 2024-09-30T12:35:20 <INF> [MAIN] Tag: 'v16-0-0-RC1', Release: v16-0-0-RC1 (Commit: ca01f5a+), Date/Time: 2024-09-29 21:25, Web UI: Release: v16-0-0-RC1 (Commit: ca01f5a+)
[0d00h00m03s] 2024-09-30T12:35:20 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m03s] 2024-09-30T12:35:21 <INF> [WLANINI] SSID: MAP-Home
[0d00h00m03s] 2024-09-30T12:35:21 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m03s] 2024-09-30T12:35:21 <INF> [WLANINI] RSSIThreshold: -75
[0d00h00m03s] 2024-09-30T12:35:21 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m03s] 2024-09-30T12:35:21 <INF> [WIFI] Automatic interface config --> Use DHCP service
[0d00h00m03s] 2024-09-30T12:35:21 <INF> [WIFI] Set hostname to: watermeter
[0d00h00m03s] 2024-09-30T12:35:21 <INF> [WIFI] Init successful
[0d00h00m06s] 2024-09-30T12:35:23 <INF> [WIFI] Connected to: MAP-Home, RSSI: -45
[0d00h00m07s] 2024-09-30T12:35:24 <INF> [WIFI] Assigned IP: 192.168.1.245
[0d00h00m10s] 2024-09-30T12:35:28 <INF> [SNTP] Time is synced with NTP Server pool.ntp.org: 2024-09-30 12:35:28
[0d00h00m11s] 2024-09-30T12:35:29 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 300
[0d00h00m11s] 2024-09-30T12:35:29 <INF> [MAIN] SD card info: Name: USD , Capacity: 7647MB, Free: 7591MB
[0d00h00m13s] 2024-09-30T12:35:31 <INF> [MAIN] Initialization completed successfully
[0d00h00m16s] 2024-09-30T12:35:33 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m16s] 2024-09-30T12:35:33 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m16s] 2024-09-30T12:35:33 <INF> [LOGFILE] Set log level to ERROR
[0d00h00m00s] 2024-09-30T10:42:25 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T10:42:25 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-09-30T10:42:25 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-09-30T10:42:25 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-09-30T10:42:25 <INF> [MAIN] Total heap: 4382779 byte
[0d00h00m02s] 2024-09-30T10:42:27 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m02s] 2024-09-30T10:42:27 <INF> [SDCARD] Basic R/W check started...
[0d00h00m02s] 2024-09-30T10:42:27 <INF> [SDCARD] Basic R/W check successful
[0d00h00m02s] 2024-09-30T10:42:27 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m02s] 2024-09-30T10:42:27 <INF> [SNTP] Configuring NTP Client...
[0d00h00m02s] 2024-09-30T12:42:27 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m02s] 2024-09-30T12:42:27 <INF> [SNTP] time zone: +0200 Delta to UTC: 7200 seconds
[0d00h00m02s] 2024-09-30T12:42:27 <INF> [SNTP] Time is already set: 2024-09-30 12:42:27
[0d00h00m02s] 2024-09-30T12:42:27 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [MAIN] Tag: 'v16-0-0-RC1', Release: v16-0-0-RC1 (Commit: ca01f5a+), Date/Time: 2024-09-29 21:25, Web UI: Release: v16-0-0-RC1 (Commit: ca01f5a+)
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [WLANINI] SSID: MAP-Home
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [WLANINI] RSSIThreshold: -75
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [WIFI] Automatic interface config --> Use DHCP service
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [WIFI] Set hostname to: watermeter
[0d00h00m03s] 2024-09-30T12:42:28 <INF> [WIFI] Init successful
[0d00h00m06s] 2024-09-30T12:42:31 <INF> [WIFI] Connected to: MAP-Home, RSSI: -44
[0d00h00m07s] 2024-09-30T12:42:32 <INF> [WIFI] Assigned IP: 192.168.1.245
[0d00h00m07s] 2024-09-30T12:42:32 <INF> [SNTP] Time is synced with NTP Server pool.ntp.org: 2024-09-30 12:42:32
[0d00h00m09s] 2024-09-30T12:42:34 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 300
[0d00h00m09s] 2024-09-30T12:42:34 <INF> [MAIN] SD card info: Name: USD , Capacity: 7647MB, Free: 7591MB
[0d00h00m11s] 2024-09-30T12:42:36 <INF> [MAIN] Initialization completed successfully
[0d00h00m14s] 2024-09-30T12:42:39 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m14s] 2024-09-30T12:42:39 <INF> [TFLITE] Trying to load the model. If it crashes here, it ist most likely due to a corrupted model!
[0d00h00m14s] 2024-09-30T12:42:39 <INF> [LOGFILE] Set log level to ERROR
[0d00h11m56s] 2024-09-30T12:54:21 <ERR> [POSTPROC] main: Raw: 702.9440, Value: , Status: Rate too high - Read: 702.9440 - Pre: 701.9360 - Rate: 1.0080

 
Reload Show Full Log Show Older Log Files

Expected Behavior

no change of image after upgrade

Screenshots

No response

Additional Context

No response

@Piti61 Piti61 added the bug Something isn't working label Sep 30, 2024
@wokkeltje13
Copy link

had same issue, but after creating a new reference image, the quality of the image is 100 times better than before.

@SybexX
Copy link
Collaborator

SybexX commented Sep 30, 2024

This is normal and intended, you have to create a new reference image after installing.
When creating a new reference image, camera parameters that are missing in the config.ini are added.
For this purpose, values ​​are taken that came out as the best after several tests.
Some reported that the image was too bright and others reported that the image was still too dark, but for the majority it was ok.
The tooltips have also been revised and are more informative, which should make it easier to find the right camera settings.
https://jomjol.github.io/AI-on-the-edge-device-docs/Parameters/
The following parameters are relevant for brightness: CamAec2 and CamGainceiling

@caco3
Copy link
Collaborator

caco3 commented Sep 30, 2024

I updated the release notes regarding this:
image

@caco3 caco3 closed this as completed Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Release16.0.0
Projects
None yet
Development

No branches or pull requests

4 participants