jomjol / AI-on-the-edge-device

Easy to use device for connecting "old" measuring units (water, power, gas, ...) to the digital world
https://jomjol.github.io/AI-on-the-edge-device-docs/
5.26k stars 580 forks source link

New Reference picture result in a black screen - No flashlight #3058

Closed Sectorchan closed 2 months ago

Sectorchan commented 2 months ago

The Problem

I want to create a new reference picture. By clicking on the button, it seems that no flashlight is enabled to take the picture -> the reference picture remains black

Version

Release: v15.7.0 (Commit: 0d0b018+)

Logfile

[0d00h00m04s] 2024-05-02T14:08:55 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m04s] 2024-05-02T14:08:55 <INF> [SNTP] time zone: +0200 Delta to UTC: 7200 seconds
[0d00h00m04s] 2024-05-02T14:08:55 <INF> [SNTP] Time is already set: 2024-05-02 14:08:55
[0d00h00m04s] 2024-05-02T14:08:55 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m04s] 2024-05-02T14:08:55 <INF> [OTA] Start update process (/sdcard/firmware/AI-on-the-edge-device__update__v15.7.0.zip)
[0d00h00m04s] 2024-05-02T14:08:55 <INF> [OTA] File: /sdcard/firmware/AI-on-the-edge-device__update__v15.7.0.zip Filetype: ZIP
[0d00h00m05s] 2024-05-02T14:08:55 <INF> [OTA FILE] Files to be extracted: 69
[0d00h00m27s] 2024-05-02T14:09:18 <INF> [OTA] Files unzipped.
[0d00h00m27s] 2024-05-02T14:09:18 <INF> [OTA] Found firmware.bin
[0d00h00m38s] 2024-05-02T14:09:29 <INF> [OTA] Trigger reboot due to firmware update
[0d00h00m38s] 2024-05-02T14:09:29 <WRN> [OTA] Reboot in 5sec
[0d00h00m00s] 2024-05-02T12:09:36 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-05-02T12:09:36 <INF> [MAIN] ==================== Start ======================
[0d00h00m00s] 2024-05-02T12:09:36 <INF> [MAIN] =================================================
[0d00h00m00s] 2024-05-02T12:09:36 <INF> [MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2024-05-02T12:09:36 <INF> [MAIN] Total heap: 4380199 byte
[0d00h00m04s] 2024-05-02T12:09:40 <INF> [MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2024-05-02T12:09:40 <INF> [SDCARD] Basic R/W check started...
[0d00h00m04s] 2024-05-02T12:09:40 <INF> [SDCARD] Basic R/W check successful
[0d00h00m04s] 2024-05-02T12:09:40 <INF> [SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m04s] 2024-05-02T12:09:40 <INF> [SNTP] Configuring NTP Client...
[0d00h00m04s] 2024-05-02T14:09:40 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m04s] 2024-05-02T14:09:40 <INF> [SNTP] time zone: +0200 Delta to UTC: 7200 seconds
[0d00h00m04s] 2024-05-02T14:09:40 <INF> [SNTP] Time is already set: 2024-05-02 14:09:40
[0d00h00m04s] 2024-05-02T14:09:40 <INF> [MAIN] CPU frequency: 160 MHz
[0d00h00m04s] 2024-05-02T14:09:40 <INF> [SDCARD] Folder/file presence check started...
[0d00h00m05s] 2024-05-02T14:09:40 <INF> [SDCARD] Folder/file presence check successful
[0d00h00m05s] 2024-05-02T14:09:40 <INF> [MAIN] Tag: 'v15.7.0', Release: v15.7.0 (Commit: 0d0b018+), Date/Time: 2024-02-17 00:15, Web UI: Release: v15.7.0 (Commit: 0d0b018+)
[0d00h00m05s] 2024-05-02T14:09:40 <INF> [MAIN] Reset reason: Via esp_restart
[0d00h00m05s] 2024-05-02T14:09:40 <INF> [WLANINI] SSID: Zuhause
[0d00h00m05s] 2024-05-02T14:09:40 <INF> [WLANINI] Password: XXXXXXXX
[0d00h00m05s] 2024-05-02T14:09:40 <INF> [WLANINI] Hostname: Zaehler-Wasser
[0d00h00m05s] 2024-05-02T14:09:40 <INF> [WLANINI] IP-Address: 192.168.1.57
[0d00h00m05s] 2024-05-02T14:09:40 <INF> [WLANINI] Gateway: 192.168.1.1
[0d00h00m05s] 2024-05-02T14:09:40 <INF> [WLANINI] Netmask: 255.255.255.0
[0d00h00m05s] 2024-05-02T14:09:41 <INF> [WLANINI] RSSIThreshold: -75
[0d00h00m05s] 2024-05-02T14:09:41 <INF> [MAIN] WLAN config loaded, init WIFI...
[0d00h00m05s] 2024-05-02T14:09:41 <INF> [WIFI] Manual interface config -> IP: 192.168.1.57, Gateway: 192.168.1.1, Netmask: 255.255.255.0
[0d00h00m05s] 2024-05-02T14:09:41 <INF> [WIFI] No DNS server, use gateway
[0d00h00m05s] 2024-05-02T14:09:41 <INF> [WIFI] Set hostname to: Zaehler-Wasser
[0d00h00m05s] 2024-05-02T14:09:41 <INF> [WIFI] Init successful
[0d00h00m07s] 2024-05-02T14:09:43 <INF> [WIFI] Connected to: Zuhause, RSSI: -66
[0d00h00m07s] 2024-05-02T14:09:43 <INF> [WIFI] Assigned IP: 192.168.1.57
[0d00h00m08s] 2024-05-02T14:09:44 <INF> [SNTP] Time is synced with NTP Server pool.ntp.org: 2024-05-02 14:09:44
[0d00h00m09s] 2024-05-02T14:09:45 <INF> [MAIN] Device info: CPU cores: 2, Chip revision: 100
[0d00h00m09s] 2024-05-02T14:09:45 <INF> [MAIN] SD card info: Name: asdfg, Capacity: 7680MB, Free: 7659MB
[0d00h00m11s] 2024-05-02T14:09:47 <INF> [MAIN] Initialization completed successfully
[0d00h00m13s] 2024-05-02T14:09:49 <INF> [LOGFILE] Set log level to ERROR
[0d00h00m49s] 2024-05-02T14:10:25 <ERR> [POSTPROC] main: Raw: 430.8095, Value: , Status: Rate too high - Read: 430.8095 - Pre: 42.0134 - Rate: 388.7961
[0d00h05m49s] 2024-05-02T14:15:25 <ERR> [POSTPROC] main: Raw: 7N7.3333, Value: , Status: Rate too high - Read: 747.3333 - Pre: 42.0134 - Rate: 705.3199
[0d00h10m49s] 2024-05-02T14:20:24 <ERR> [POSTPROC] main: Raw: 7N7.3333, Value: , Status: Rate too high - Read: 747.3333 - Pre: 42.0134 - Rate: 705.3199
[0d00h15m49s] 2024-05-02T14:25:25 <ERR> [POSTPROC] main: Raw: 777.3333, Value: , Status: Rate too high - Read: 777.3333 - Pre: 42.0134 - Rate: 735.3199

Expected Behavior

Picture with flashlight

Screenshots

No response

Additional Context

No response

Elfek12 commented 2 months ago

hello i have same problem looking forward for solution

pidator commented 2 months ago

With v15.7.0 I'm also having the problem that changes of the flashlight intensity only works for the first time. After taking the first reference picture, the intensity changes doesn't take any effect!

SybexX commented 2 months ago

try the current rolling https://github.com/jomjol/AI-on-the-edge-device/actions/runs/8854760463

Sectorchan commented 2 months ago

Seems to work here about the flashlight. Opened another rotating reference image :s

I would close if pidator confirm his installation

pidator commented 2 months ago

I would close if pidator confirm his installation

yes, flashlight modification is working with the current rolling!