Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Wasserzähler - Version 2 - all-in-device

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Wasserzähler - Version 2 - all-in-device

    This topic has been deleted. Only users with topic management privileges can see it.
    • Xsev
      Xsev @MrTeaneu last edited by Xsev

      @jomjol

      Servus Josef, ich wollte mir einen weiteren Wasserzähler bauen leider bekomme ich das nicht hin. Ich weiß nicht wo das Problem liegt. Ich hab heute zwei neue ESP32 Cams bekommen, diesmal mit dem USB Board. Dachte spare ich mir das gelöte....
      Jetzt ging es schon los, das ich den Chip nicht wie gewohnt via FTDI flashen konnte (ging trotz gebrückter Verbindung nicht in Bootmodus). Das ging dann im Endeffekt ganz easy direkt über das USB Board ohne FTDI... Aber jetzt ist es so, der ESP bootet ständig neu. Ich komme kurz auf das Webif und dann ist er wieder weg. Stromversorgung ist die selbe wie bei meinen anderen Wassermetern nur eben diesmal mit USB Board. Gibt es da was zu beachten? Ich hab es auch mal ohne Board direkt versucht aber das selbe. Ich hab es einmal geschafft ein Referenzbild zu machen aber das war anscheinend Zufall. Ich hab das jetzt mit 3 versch. Firmwares und 2 neuen ESP Cams durch aber keine Chance.

      J 1 Reply Last reply Reply Quote 0
      • J
        jomjol @Xsev last edited by

        @xsev Was zeigt den dein serial log während des Startvorgangs?
        Ich habe da bisher keine Probleme dieser Art.

        Xsev 1 Reply Last reply Reply Quote 0
        • Xsev
          Xsev @jomjol last edited by Xsev

          @jomjol Guten Morgen Josef,

          im Log steht folgendes:

          2022-03-20T07:36:30: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
          2022-03-20T07:36:30: =============================================================================================
          2022-03-20T07:36:30: =================================== Main Started ============================================
          2022-03-20T07:36:30: =============================================================================================
          2022-03-20T07:36:33: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
          2022-03-20T07:36:51: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
          2022-03-20T07:36:51: =============================================================================================
          2022-03-20T07:36:51: =================================== Main Started ============================================
          2022-03-20T07:36:51: =============================================================================================
          2022-03-20T07:36:55: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
          2022-03-20T07:37:07: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
          2022-03-20T07:37:07: =============================================================================================
          2022-03-20T07:37:07: =================================== Main Started ============================================
          2022-03-20T07:37:07: =============================================================================================
          2022-03-20T07:37:10: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
          2022-03-20T07:37:32: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
          2022-03-20T07:37:32: =============================================================================================
          2022-03-20T07:37:32: =================================== Main Started ============================================
          2022-03-20T07:37:32: =============================================================================================
          2022-03-20T07:37:36: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
          2022-03-20T07:37:36: download_get_handler
          2022-03-20T07:37:41: download_get_handler
          2022-03-20T07:37:56: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
          2022-03-20T07:37:56: =============================================================================================
          2022-03-20T07:37:56: =================================== Main Started ============================================
          2022-03-20T07:37:56: =============================================================================================
          

          Und beim Serial Log bekomme ich das hier (Adruiono Serial Monitor) das sollte anders aussehen, schätze ich..
          2022-03-20.png

          edit:
          Was mir noch einfällt, die SD Karte. Da hab ich aktuell keine 2. zum testen. Die verwendete ist eine Sandisk Extreme 64GB. Die ist auf 16GB partitioniert mit Fat32. Sonst hab ich immer die 32GB Variante benutzt... Laut Wiki kanns ja mit großen Karten ein Problem geben, allerdings blinkt der ESP nicht schnell.

          Knallochse 1 Reply Last reply Reply Quote 0
          • Knallochse
            Knallochse @Xsev last edited by

            @xsev du hast die falsche Baudrate eingestellt.
            AB91E835-87B6-43B7-A9AA-580619B84F99.jpeg

            Da muss bei esp32 115200 eingestellt werden

            Xsev 1 Reply Last reply Reply Quote 1
            • Xsev
              Xsev @Knallochse last edited by

              @knallochse Vielen Dank für den Tip!!!!

              @jomjol

              das Log sieht jetzt so aus

              ets Jul 29 2019 12:21:46
              
              rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
              configsip: 0, SPIWP:0xee
              clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
              mode:DIO, clock div:2
              load:0x3fff0030,len:4
              load:0x3fff0034,len:7248
              ho 0 tail 12 room 4
              load:0x40078000,len:13856
              load:0x40080400,len:4052
              entry 0x40080688
              I (31) boot: ESP-IDF 3.40100.200827 2nd stage bootloader
              I (31) boot: compile time 18:56:57
              I (31) boot: chip revision: 3
              I (35) boot_comm: chip revision: 3, min. bootloader chip revision: 0
              I (42) boot.esp32: SPI Speed      : 40MHz
              I (46) boot.esp32: SPI Mode       : DIO
              I (51) boot.esp32: SPI Flash Size : 4MB
              I (55) boot: Enabling RNG early entropy source...
              I (61) boot: Partition Table:
              I (64) boot: ## Label            Usage          Type ST Offset   Length
              I (72) boot:  0 nvs              WiFi data        01 02 00009000 00004000
              I (79) boot:  1 otadata          OTA data         01 00 0000d000 00002000
              I (87) boot:  2 phy_init         RF data          01 01 0000f000 00001000
              I (94) boot:  3 ota_0            OTA app          00 10 00010000 001db000
              I (102) boot:  4 ota_1            OTA app          00 11 001f0000 001db000
              I (109) boot: End of partition table
              I (113) boot_comm: chip revision: 3, min. application chip revision: 0
              I (121) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x51048 (331848) map
              I (273) esp_image: segment 1: paddr=0x00061070 vaddr=0x3ffb0000 size=0x0504c ( 20556) load
              I (283) esp_image: segment 2: paddr=0x000660c4 vaddr=0x40080000 size=0x00404 (  1028) load
              I (284) esp_image: segment 3: paddr=0x000664d0 vaddr=0x40080404 size=0x09b48 ( 39752) load
              I (310) esp_image: segment 4: paddr=0x00070020 vaddr=0x400d0020 size=0x122ec8 (1191624) map
              I (826) esp_image: segment 5: paddr=0x00192ef0 vaddr=0x40089f4c size=0x12c68 ( 76904) load
              I (881) boot: Loaded app from partition at offset 0x10000
              I (881) boot: Disabling RNG early entropy source...
              I (881) psram: This chip is ESP32-D0WD
              I (886) spiram: Found 16MBit SPI RAM device
              I (890) spiram: SPI RAM mode: flash 40m sram 40m
              I (896) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
              I (903) cpu_start: Pro cpu up.
              I (907) cpu_start: Application information:
              I (911) cpu_start: Project name:     esp32cam-server-only
              I (917) cpu_start: App version:      0.0.9.3
              I (922) cpu_start: Compile time:     Sep 25 2021 18:55:36
              I (928) cpu_start: ELF file SHA256:  49d2944a34ee25eb...
              I (934) cpu_start: ESP-IDF:          3.40100.200827
              I (940) cpu_start: Starting app cpu, entry point is 0x40081cf0
              I (0) cpu_start: App cpu up.
              I (1397) spiram: SPI SRAM memory test OK
              I (1397) heap_init: Initializing. RAM available for dynamic allocation:
              I (1398) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
              I (1404) heap_init: At 3FFC2A08 len 0001D5F8 (117 KiB): DRAM
              I (1410) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
              I (1416) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
              I (1423) heap_init: At 4009CBB4 len 0000344C (13 KiB): IRAM
              I (1429) cpu_start: Pro cpu start user code
              I (1434) spiram: Adding pool of 2048K of external SPI memory to heap allocator
              I (1459) spi_flash: detected chip: generic
              I (1460) spi_flash: flash io: dio
              I (1460) cpu_start: Starting scheduler on PRO CPU.
              I (0) cpu_start: Starting scheduler on APP CPU.
              I (1468) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
              Do Reset Camera
              I (1478) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
              Init Camera
              I (3488) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3488) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3488) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3498) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3508) gpio: GPIO[22]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3518) gpio: GPIO[23]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3528) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3538) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3548) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3558) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3568) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
              I (3578) sccb: pin_sda 26 pin_scl 27
              
              I (3578) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
              I (3728) camera: Detected OV2640 camera
              I (3738) camera: Allocating 1 frame buffers (150 KB total)
              I (3748) camera: Allocating 150 KB frame buffer in OnBoard RAM
              I (4348) main: Using SDMMC peripheral
              Name: SN64G
              Type: SDHC/SDXC
              Speed: 20 MHz
              Size: 60906MB
              I (4408) server_ota: Start CheckOTAUpdateCheck ...
              Start CheckOTAUpdateCheck ...
              I (4418) server_ota: SHA-256 for the partition table: : 9d4a2809ae90fb20709a8ca3dd3ac3462e1e73286bcd31b689060c91de06fa3a
              I (4478) server_ota: SHA-256 for bootloader: : ee8b22523ca2a6f08e0e01e2e6dd2ae40f0a13f93d5c02794b19cfca199b3e9e
              I (5118) server_ota: SHA-256 for current firmware: : dc1319e0f2d427d7bc8d303fa98e0456e09c555804634127bb0960ca1cb42b6a
              CheckOTAUpdate Partition: ESP_OK
              open config file /sdcard/wlan.ini in mode r
              file loaded
              
              WLan: XXXXXXX, XXXXXXXXXXXXXXX
              Hostename: Watermeter13
              I (5168) wifi:wifi driver task: 3ffd9cc4, prio:23, stack:6656, core=0
              I (5168) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
              I (5168) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
              I (5198) wifi:wifi firmware version: 3ea4c76
              I (5198) wifi:config NVS flash: enabled
              I (5198) wifi:config nano formating: disabled
              I (5198) wifi:Init dynamic tx buffer num: 32
              I (5208) wifi:Init data frame dynamic rx buffer num: 32
              I (5208) wifi:Init management frame dynamic rx buffer num: 32
              I (5218) wifi:Init management short buffer num: 32
              I (5218) wifi:Init static tx buffer num: 16
              I (5228) wifi:Init static rx buffer size: 1600
              I (5228) wifi:Init static rx buffer num: 10
              I (5228) wifi:Init dynamic rx buffer num: 32
              I (5328) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0
              I (5328) wifi:mode : sta (94:b9:7e:ce:50:20)
              I (5338) BLINK: Blinken - start
              I (5338) wifi station: wifi_init_sta finished.
              I (5458) wifi:new:<3,0>, old:<1,0>, ap:<255,255>, sta:<3,0>, prof:1
              I (5458) wifi:state: init -> auth (b0)
              I (5468) wifi:state: auth -> assoc (0)
              I (5478) wifi:state: assoc -> run (10)
              I (5518) wifi:connected with Rocket, aid = 3, channel 3, BW20, bssid = e0:63:da:74:3e:f2
              I (5518) wifi:security: WPA2-PSK, phy: bgn, rssi: -78
              I (5528) wifi:pm start, type: 1
              
              I (5538) BLINK: Blinken - done
              I (5588) wifi:AP's beacon interval = 102400 us, DTIM period = 1
              I (6158) esp_netif_handlers: sta ip: 192.168.13.202, mask: 255.255.255.0, gw: 192.168.13.1
              I (6158) wifi station: got ip:192.168.13.202
              I (6158) BLINK: Blinken - start
              I (6158) wifi station: connected to ap SSID:Rocket password:XXXXXXXXXXX
              main: sleep for : 200ms
              I (8178) sntp: Time is not set yet. Connecting to WiFi and getting time over NTP.
              I (8178) sntp: Initializing SNTP
              I (8178) sntp: Waiting for system time to be set... (1/10)
              I (10178) sntp: Waiting for system time to be set... (2/10)
              I (12178) sntp: Waiting for system time to be set... (3/10)
              TimeZone set to CET-1CEST,M3.5.0,M10.5.0/3
              Logfile opened: /sdcard/log/message/log_2022-03-20.txt
              I (14188) sntp: The current date/time in Berlin is: Sun Mar 20 11:39:34 2022
              I (14188) sntp: The current date/time in Berlin is: 2022-03-20_11:39
              timeist 20220320-113934
              Logfile opened: /sdcard/log/message/log_2022-03-20.txt
              Logfile opened: /sdcard/log/message/log_2022-03-20.txt
              Logfile opened: /sdcard/log/message/log_2022-03-20.txt
              time 20220320-113934
              main: sleep for : 200ms
              I (16168) BLINK: Blinken - done
              I (16218) server-main: Starting server on port: '80'
              I (16218) server-main: Registering URI handlers
              I (16218) server_tflite: server_part_camera - Registering URI handlers
              I (16218) server_ota: server_ota - Registering URI handlers
              I (16228) server_GPIO: start GpioHandler
              I (16228) server_GPIO: register GPIO Uri
              I (16238) server_GPIO: server_GPIO - Registering URI handlers
              vor reg server main
              vor dotautostart
              task_autodoFlow: start
              
              open config file /sdcard/config/config.ini in mode r
              [MakeImage]
              Start ReadParameter ([MakeImage]
              )
              ;LogImageLocation = /log/source
              WaitBeforeTakingPicture = 5
              ;LogfileRetentionInDays = 15
              Brightness = -2
              ;Contrast = 0
              ;Saturation = 0
              ImageQuality = 5
              ImageSize = VGA
              FixedExposure = false
              
              [Alignment]
              Start ReadParameter ([Alignment])
              InitialRotate = 179
              InitialMirror = false
              SearchFieldX = 20
              SearchFieldY = 20
              AlignmentAlgo = Default
              FlipImageSize = false
              /config/ref0.jpg 103 271
              /config/ref1.jpg 442 142
              
              [Digits]
              Start ReadParameter ([Digits])
              Model = /config/dig1210s2q.tflite
              ;LogImageLocation = /log/digit
              ;LogfileRetentionInDays = 3
              ModelInputSize = 20 32
              main.dig1 294 126 30 54
              GetGENERAL - GENERAL main - roi dig1
              main.dig2 343 126 30 54
              GetGENERAL - GENERAL main - roi dig2
              main.dig3 391 126 30 54
              GetGENERAL - GENERAL main - roi dig3
              
              [Analog]
              Start ReadParameter ([Analog])
              Model = /config/ana0700s1lq.tflite
              ;LogImageLocation = /log/analog
              ;LogfileRetentionInDays = 3
              ModelInputSize = 32 32
              ExtendedResolution = true
              main.ana1 432 230 92 92
              GetGENERAL - GENERAL main - roi ana1
              main.ana2 379 332 92 92
              GetGENERAL - GENERAL main - roi ana2
              main.ana3 283 374 92 92
              GetGENERAL - GENERAL main - roi ana3
              main.ana4 155 328 92 92
              GetGENERAL - GENERAL main - roi ana4
              
              [PostProcessing]
              Start ReadParameter ([PostProcessing])
              Anzahl NUMBERS: 1 - DIGITS: 1, ANALOG: 1
              Number main, Anz DIG: 3, Anz ANA 4
              main.DecimalShift = 0
              PreValueUse = true
              PreValueAgeStartup = 720
              AllowNegativeRates = false
              main.MaxRateValue = 0.1
              ErrorMessage = true
              CheckDigitIncreaseConsistency = true
              
              ;[MQTT]
              Read Zeile Prevalue.ini: 2020-11-30_12-02-22
              42.013401
              TIME: 120, 10, 0, 1, 1073497820, 5
              Read: ;Uri = mqtt://IP-ADRESS:1883
              Read: ;MainTopic = wasserzaehler
              Read: ;ClientID = wasser
              Read: ;user = USERNAME
              Read: ;password = PASSWORD
              Read: 
              Read: ;[GPIO]
              Read: ;MainTopicMQTT = wasserzaehler/GPIO
              Read: ;IO0 = input disabled 10 false false 
              Read: ;IO1 = input disabled 10 false false 
              Read: ;IO3 = input disabled 10 false false 
              Read: ;IO4 = built-in-led disabled 10 false false 
              Read: ;IO12 = input-pullup disabled 10 false false 
              Read: ;IO13 = input-pullup disabled 10 false false 
              Read: 
              Read: [AutoTimer]
              Start ReadParameter ([AutoTimer]
              )
              AutoStart = true
              Intervall = 4.85
              
              [Debug]
              Start ReadParameter ([Debug])
              Logfile = false
              LogfileRetentionInDays = 3
              
              [System]
              Start ReadParameter ([System])
              TimeZone = CET-1CEST,M3.5.0,M10.5.0/3
              TimeZone set to CET-1CEST,M3.5.0,M10.5.0/3
              ;TimeServer = undefined
              ;AutoAdjustSummertime = false
              ;Hostname = undefined
              SetupMode = true
              END OF FILE
              *************** Start GPIOHandler_Init *****************
              I (18088) server_GPIO: read GPIO config and init GPIO
              open config file /sdcard/config/config.ini in mode r
              [MakeImage]
              ;LogImageLocation = /log/source
              WaitBeforeTakingPicture = 5
              ;LogfileRetentionInDays = 15
              Brightness = -2
              ;Contrast = 0
              ;Saturation = 0
              ImageQuality = 5
              ImageSize = VGA
              FixedExposure = false
              
              [Alignment]
              InitialRotate = 179
              InitialMirror = false
              SearchFieldX = 20
              SearchFieldY = 20
              AlignmentAlgo = Default
              FlipImageSize = false
              /config/ref0.jpg 103 271
              /config/ref1.jpg 442 142
              
              [Digits]
              Model = /config/dig1210s2q.tflite
              ;LogImageLocation = /log/digit
              ;LogfileRetentionInDays = 3
              ModelInputSize = 20 32
              main.dig1 294 126 30 54
              main.dig2 343 126 30 54
              main.dig3 391 126 30 54
              
              [Analog]
              Model = /config/ana0700s1lq.tflite
              ;LogImageLocation = /log/analog
              ;LogfileRetentionInDays = 3
              ModelInputSize = 32 32
              ExtendedResolution = true
              main.ana1 432 230 92 92
              main.ana2 379 332 92 92
              main.ana3 283 374 92 92
              main.ana4 155 328 92 92
              
              [PostProcessing]
              main.DecimalShift = 0
              PreValueUse = true
              PreValueAgeStartup = 720
              AllowNegativeRates = false
              main.MaxRateValue = 0.1
              ErrorMessage = true
              CheckDigitIncreaseConsistency = true
              
              ;[MQTT]
              ;Uri = mqtt://IP-ADRESS:1883
              ;MainTopic = wasserzaehler
              ;ClientID = wasser
              ;user = USERNAME
              ;password = PASSWORD
              
              ;[GPIO]
              ;MainTopicMQTT = wasserzaehler/GPIO
              ;IO0 = input disabled 10 false false 
              ;IO1 = input disabled 10 false false 
              ;IO3 = input disabled 10 false false 
              ;IO4 = built-in-led disabled 10 false false 
              ;IO12 = input-pullup disabled 10 false false 
              ;IO13 = input-pullup disabled 10 false false 
              
              [AutoTimer]
              AutoStart = true
              Intervall = 4.85
              
              [Debug]
              Logfile = false
              LogfileRetentionInDays = 3
              
              [System]
              TimeZone = CET-1CEST,M3.5.0,M10.5.0/3
              ;TimeServer = undefined
              ;AutoAdjustSummertime = false
              ;Hostname = undefined
              SetupMode = true
              I (18248) server_GPIO: GPIO init comleted, handler is disabled
              Flashdauer: 5000
              Image loaded from memory: 0, 0, 0
              Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
              Core 0 register dump:
              PC      : 0x400ef308  PS      : 0x00060030  A0      : 0x8018c5ca  A1      : 0x3fff9fd0  
              A2      : 0x00000780  A3      : 0x3ffc3c68  A4      : 0x00000280  A5      : 0x00000780  
              A6      : 0x00000001  A7      : 0x000001e0  A8      : 0x00000000  A9      : 0x3f82c168  
              A10     : 0x00000000  A11     : 0x3fffa388  A12     : 0x00003826  A13     : 0x00000001  
              A14     : 0x3ffc35ac  A15     : 0x3fff9ef0  SAR     : 0x0000001e  EXCCAUSE: 0x0000001c  
              EXCVADDR: 0x00000000  LBEG    : 0x4008bed5  LEND    : 0x4008bee5  LCOUNT  : 0xffffffff  
              
              ELF file SHA256: 49d2944a34ee25eb
              
              Backtrace: 0x400ef305:0x3fff9fd0 0x4018c5c7:0x3fffa040 0x4018c64e:0x3fffa080 0x40189d89:0x3fffa110 0x400f13a2:0x3fffa1c0
              
              Rebooting...
              ets Jul 29 2019 12:21:46
              
              
              J 1 Reply Last reply Reply Quote 0
              • J
                jomjol @Xsev last edited by

                @xsev sagte in Wasserzähler - Version 2 - all-in-device:

                I (881) psram: This chip is ESP32-D0WD

                Hi,
                das Problem ist das PSRAM - da bist du wohl übers Ohr gehauen worden:

                [0;32mI (881) psram: This chip is ESP32-D0WD
                [0;32mI (886) spiram: Found 16MBit SPI RAM device
                

                Du hast nur einen 16MBit (=2 MByte) verbaut - da sollte eigentlich 64MBit stehen (=8 MByte, davon aber nur 4 MByte nutzbar.

                Reklamieren und neu bestellen - kommt wohl gerade häufig vor!

                Xsev 2 Replies Last reply Reply Quote 1
                • Xsev
                  Xsev @jomjol last edited by

                  @jomjol Ach schande ok, danke für die Info.

                  1 Reply Last reply Reply Quote 0
                  • Xsev
                    Xsev @jomjol last edited by

                    @jomjol Ich hatte noch einen alten ESP mit defekter Cam rumliegen, ich hab jetzt mal das alte Board genommen mit neuer Cam. Laut Log hat dieser ESP die 64Mbit aber der Fehler bleibt der selbe. Kurz vor Logende meldet er folgendes:

                    14:04:37.130 -> 14:04:37.130 -> Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
                    14:04:37.130 -> Core 0 register dump:
                    14:04:37.130 -> PC      : 0x400ef308  PS      : 0x00060530  A0      : 0x8018c5ca  A1      : 0x3fff9fd0  
                    14:04:37.130 -> A2      : 0x00000780  A3      : 0x3ffc3c68  A4      : 0x00000280  A5      : 0x00000780  
                    14:04:37.130 -> A6      : 0x00000001  A7      : 0x000001e0  A8      : 0x00000000  A9      : 0x3f82c168  
                    14:04:37.130 -> A10     : 0x00000000  A11     : 0x3f92ddd8  A12     : 0x00004d80  A13     : 0x00000001  
                    14:04:37.130 -> A14     : 0x3ffc35ac  A15     : 0x3fff9ef0  SAR     : 0x0000001a  EXCCAUSE: 0x0000001c  
                    14:04:37.130 -> EXCVADDR: 0x00000000  LBEG    : 0x4008bed5  LEND    : 0x4008bee5  LCOUNT  : 0xffffffff  
                    14:04:37.130 -> 
                    14:04:37.130 -> ELF file SHA256: 49d2944a34ee25eb
                    14:04:37.130 -> Backtrace: 0x400ef305:0x3fff9fd0 0x4018c5c7:0x3fffa040 0x4018c64e:0x3fffa080 0x40189d89:0x3fffa110 0x400f13a2:0x3fffa1c0
                    

                    Das ganze Log:

                    14:04:15.068 -> Rebooting...
                    14:04:15.068 -> ets Jun  8 2016 00:22:57
                    14:04:15.068 -> 
                    14:04:15.068 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
                    14:04:15.068 -> configsip: 0, SPIWP:0xee
                    14:04:15.068 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
                    14:04:15.068 -> mode:DIO, clock div:2
                    14:04:15.068 -> load:0x3fff0030,len:4
                    14:04:15.068 -> load:0x3fff0034,len:7248
                    14:04:15.068 -> ho 0 tail 12 room 4
                    14:04:15.068 -> load:0x40078000,len:13856
                    14:04:15.068 -> load:0x40080400,len:4052
                    14:04:15.068 -> entry 0x40080688
                    14:04:15.068 -> I (31) boot: ESP-IDF 3.40100.200827 2nd stage bootloader
                    14:04:15.068 -> I (31) boot: compile time 18:56:57
                    14:04:15.068 -> I (31) boot: chip revision: 1
                    14:04:15.068 -> I (34) boot_comm: chip revision: 1, min. bootloader chip revision: 0
                    14:04:15.068 -> I (41) boot.esp32: SPI Speed      : 40MHz
                    14:04:15.068 -> I (46) boot.esp32: SPI Mode       : DIO
                    14:04:15.068 -> I (51) boot.esp32: SPI Flash Size : 4MB
                    14:04:15.068 -> I (55) boot: Enabling RNG early entropy source...
                    14:04:15.068 -> I (61) boot: Partition Table:
                    14:04:15.068 -> I (64) boot: ## Label            Usage          Type ST Offset   Length
                    14:04:15.068 -> I (71) boot:  0 nvs              WiFi data        01 02 00009000 00004000
                    14:04:15.068 -> I (79) boot:  1 otadata          OTA data         01 00 0000d000 00002000
                    14:04:15.068 -> I (86) boot:  2 phy_init         RF data          01 01 0000f000 00001000
                    14:04:15.068 -> I (94) boot:  3 ota_0            OTA app          00 10 00010000 001db000
                    14:04:15.068 -> I (101) boot:  4 ota_1            OTA app          00 11 001f0000 001db000
                    14:04:15.068 -> I (109) boot: End of partition table
                    14:04:15.068 -> I (113) boot_comm: chip revision: 1, min. application chip revision: 0
                    14:04:15.068 -> I (120) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x51048 (331848) map
                    14:04:15.224 -> I (273) esp_image: segment 1: paddr=0x00061070 vaddr=0x3ffb0000 size=0x0504c ( 20556) load
                    14:04:15.224 -> I (283) esp_image: segment 2: paddr=0x000660c4 vaddr=0x40080000 size=0x00404 (  1028) load
                    14:04:15.224 -> I (284) esp_image: segment 3: paddr=0x000664d0 vaddr=0x40080404 size=0x09b48 ( 39752) load
                    14:04:15.224 -> I (310) esp_image: segment 4: paddr=0x00070020 vaddr=0x400d0020 size=0x122ec8 (1191624) map
                    14:04:15.718 -> I (826) esp_image: segment 5: paddr=0x00192ef0 vaddr=0x40089f4c size=0x12c68 ( 76904) load
                    14:04:16.357 -> I (880) boot: Loaded app from partition at offset 0x10000
                    14:04:16.357 -> I (880) boot: Disabling RNG early entropy source...
                    14:04:16.357 -> I (881) psram: This chip is ESP32-D0WD
                    14:04:16.357 -> I (885) spiram: Found 64MBit SPI RAM device
                    14:04:16.357 -> I (890) spiram: SPI RAM mode: flash 40m sram 40m
                    14:04:16.357 -> I (895) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
                    14:04:16.357 -> I (903) cpu_start: Pro cpu up.
                    14:04:16.357 -> I (906) cpu_start: Application information:
                    14:04:16.357 -> I (911) cpu_start: Project name:     esp32cam-server-only
                    14:04:16.357 -> I (917) cpu_start: App version:      0.0.9.3
                    14:04:16.357 -> I (922) cpu_start: Compile time:     Sep 25 2021 18:55:36
                    14:04:16.357 -> I (928) cpu_start: ELF file SHA256:  49d2944a34ee25eb...
                    14:04:16.357 -> I (934) cpu_start: ESP-IDF:          3.40100.200827
                    14:04:16.357 -> I (940) cpu_start: Starting app cpu, entry point is 0x40081cf0
                    14:04:16.357 -> I (931) cpu_start: App cpu up.
                    14:04:16.841 -> I (1837) spiram: SPI SRAM memory test OK
                    14:04:16.841 -> I (1838) heap_init: Initializing. RAM available for dynamic allocation:
                    14:04:16.841 -> I (1838) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
                    14:04:16.841 -> I (1844) heap_init: At 3FFC2A08 len 0001D5F8 (117 KiB): DRAM
                    14:04:16.841 -> I (1851) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
                    14:04:16.841 -> I (1857) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
                    14:04:16.841 -> I (1864) heap_init: At 4009CBB4 len 0000344C (13 KiB): IRAM
                    14:04:16.841 -> I (1870) cpu_start: Pro cpu start user code
                    14:04:16.841 -> I (1875) spiram: Adding pool of 4096K of external SPI memory to heap allocator
                    14:04:16.841 -> I (1900) spi_flash: detected chip: generic
                    14:04:16.841 -> I (1901) spi_flash: flash io: dio
                    14:04:16.841 -> I (1901) cpu_start: Starting scheduler on PRO CPU.
                    14:04:16.841 -> I (0) cpu_start: Starting scheduler on APP CPU.
                    14:04:16.841 -> I (1909) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
                    14:04:16.841 -> Do Reset Camera
                    14:04:16.841 -> I (1919) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
                    14:04:18.823 -> Init Camera
                    14:04:18.823 -> I (3929) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (3929) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (3929) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (3939) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (3949) gpio: GPIO[22]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (3959) gpio: GPIO[23]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (3969) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (3979) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (3989) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (3999) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (4009) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                    14:04:18.958 -> I (4019) sccb: pin_sda 26 pin_scl 27
                    14:04:18.958 -> 
                    14:04:18.958 -> I (4019) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
                    14:04:19.098 -> I (4169) camera: Detected OV2640 camera
                    14:04:19.098 -> I (4179) camera: Allocating 1 frame buffers (150 KB total)
                    14:04:19.098 -> I (4189) camera: Allocating 150 KB frame buffer in OnBoard RAM
                    14:04:19.694 -> I (4789) main: Using SDMMC peripheral
                    14:04:19.788 -> Name: SN64G
                    14:04:19.788 -> Type: SDHC/SDXC
                    14:04:19.788 -> Speed: 20 MHz
                    14:04:19.788 -> Size: 60906MB
                    14:04:19.788 -> I (4849) server_ota: Start CheckOTAUpdateCheck ...
                    14:04:19.788 -> Start CheckOTAUpdateCheck ...
                    14:04:19.788 -> I (4859) server_ota: SHA-256 for the partition table: : 9d4a2809ae90fb20709a8ca3dd3ac3462e1e73286bcd31b689060c91de06fa3a
                    14:04:19.835 -> I (4919) server_ota: SHA-256 for bootloader: : ee8b22523ca2a6f08e0e01e2e6dd2ae40f0a13f93d5c02794b19cfca199b3e9e
                    14:04:20.491 -> I (5559) server_ota: SHA-256 for current firmware: : dc1319e0f2d427d7bc8d303fa98e0456e09c555804634127bb0960ca1cb42b6a
                    14:04:20.491 -> CheckOTAUpdate Partition: ESP_OK
                    14:04:20.538 -> open config file /sdcard/wlan.ini in mode r
                    14:04:20.538 -> file loaded
                    14:04:20.538 -> 
                    14:04:20.538 -> WLan: Rocket, XXXXXXXXXXXXX
                    14:04:20.538 -> Hostename: Watermeter13
                    14:04:20.538 -> I (5609) wifi:wifi driver task: 3ffd9cc4, prio:23, stack:6656, core=0
                    14:04:20.538 -> I (5609) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
                    14:04:20.538 -> I (5609) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
                    14:04:20.538 -> I (5639) wifi:wifi firmware version: 3ea4c76
                    14:04:20.585 -> I (5639) wifi:config NVS flash: enabled
                    14:04:20.585 -> I (5639) wifi:config nano formating: disabled
                    14:04:20.585 -> I (5639) wifi:Init dynamic tx buffer num: 32
                    14:04:20.585 -> I (5649) wifi:Init data frame dynamic rx buffer num: 32
                    14:04:20.585 -> I (5649) wifi:Init management frame dynamic rx buffer num: 32
                    14:04:20.585 -> I (5659) wifi:Init management short buffer num: 32
                    14:04:20.585 -> I (5659) wifi:Init static tx buffer num: 16
                    14:04:20.585 -> I (5669) wifi:Init static rx buffer size: 1600
                    14:04:20.585 -> I (5669) wifi:Init static rx buffer num: 10
                    14:04:20.585 -> I (5669) wifi:Init dynamic rx buffer num: 32
                    14:04:20.721 -> I (5769) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0
                    14:04:20.721 -> I (5769) wifi:mode : sta (9c:9c:1f:c9:24:34)
                    14:04:20.721 -> I (5769) BLINK: Blinken - start
                    14:04:20.721 -> I (5779) wifi station: wifi_init_sta finished.
                    14:04:20.815 -> I (5899) wifi:new:<3,0>, old:<1,0>, ap:<255,255>, sta:<3,0>, prof:1
                    14:04:20.815 -> I (5899) wifi:state: init -> auth (b0)
                    14:04:20.815 -> I (5919) wifi:state: auth -> assoc (0)
                    14:04:20.862 -> I (5929) wifi:state: assoc -> run (10)
                    14:04:20.862 -> I (5959) wifi:connected with Rocket, aid = 2, channel 3, BW20, bssid = e0:63:da:74:3e:f2
                    14:04:20.909 -> I (5959) wifi:security: WPA2-PSK, phy: bgn, rssi: -72
                    14:04:20.909 -> I (5969) wifi:pm start, type: 1
                    14:04:20.909 -> 
                    14:04:20.909 -> I (5979) BLINK: Blinken - done
                    14:04:20.956 -> I (6019) wifi:AP's beacon interval = 102400 us, DTIM period = 1
                    14:04:21.518 -> I (6599) esp_netif_handlers: sta ip: 192.168.13.206, mask: 255.255.255.0, gw: 192.168.13.1
                    14:04:21.518 -> I (6599) wifi station: got ip:192.168.13.206
                    14:04:21.518 -> I (6599) BLINK: Blinken - start
                    14:04:21.518 -> I (6609) wifi station: connected to ap SSID:Rocket password:XXXXXXXXXXXXX
                    14:04:21.518 -> main: sleep for : 200ms
                    14:04:23.514 -> I (8619) sntp: Time is not set yet. Connecting to WiFi and getting time over NTP.
                    14:04:23.561 -> I (8619) sntp: Initializing SNTP
                    14:04:23.561 -> I (8619) sntp: Waiting for system time to be set... (1/10)
                    14:04:25.525 -> I (10619) sntp: Waiting for system time to be set... (2/10)
                    14:04:27.593 -> TimeZone set to CET-1CEST,M3.5.0,M10.5.0/3
                    14:04:27.593 -> Logfile opened: /sdcard/log/message/log_2022-03-20.txt
                    14:04:27.593 -> I (12629) sntp: The current date/time in Berlin is: Sun Mar 20 14:04:29 2022
                    14:04:27.593 -> I (12629) sntp: The current date/time in Berlin is: 2022-03-20_14:04
                    14:04:27.593 -> timeist 20220320-140429
                    14:04:27.593 -> Logfile opened: /sdcard/log/message/log_2022-03-20.txt
                    14:04:27.593 -> Logfile opened: /sdcard/log/message/log_2022-03-20.txt
                    14:04:27.593 -> Logfile opened: /sdcard/log/message/log_2022-03-20.txt
                    14:04:27.593 -> time 20220320-140429
                    14:04:27.593 -> main: sleep for : 200ms
                    14:04:29.619 -> I (14659) server-main: Starting server on port: '80'
                    14:04:29.619 -> I (14659) server-main: Registering URI handlers
                    14:04:29.619 -> I (14659) server_tflite: server_part_camera - Registering URI handlers
                    14:04:29.619 -> I (14659) server_ota: server_ota - Registering URI handlers
                    14:04:29.619 -> I (14669) server_GPIO: start GpioHandler
                    14:04:29.619 -> I (14669) server_GPIO: register GPIO Uri
                    14:04:29.619 -> I (14679) server_GPIO: server_GPIO - Registering URI handlers
                    14:04:29.619 -> vor reg server main
                    14:04:29.619 -> vor dotautostart
                    14:04:29.619 -> task_autodoFlow: start
                    
                    14:04:29.619 -> open config file /sdcard/config/config.ini in mode r
                    14:04:29.619 -> [MakeImage]
                    14:04:29.619 -> Start ReadParameter ([MakeImage]
                    14:04:29.619 -> )
                    14:04:29.619 -> ;LogImageLocation = /log/source
                    14:04:29.619 -> WaitBeforeTakingPicture = 5
                    14:04:29.619 -> ;LogfileRetentionInDays = 15
                    14:04:29.619 -> Brightness = -2
                    14:04:29.619 -> ;Contrast = 0
                    14:04:29.619 -> ;Saturation = 0
                    14:04:29.619 -> ImageQuality = 5
                    14:04:29.619 -> ImageSize = VGA
                    14:04:29.619 -> FixedExposure = false
                    14:04:29.619 -> 
                    14:04:29.619 -> [Alignment]
                    14:04:31.563 -> Start ReadParameter ([Alignment])
                    14:04:31.563 -> InitialRotate = 179
                    14:04:31.563 -> InitialMirror = false
                    14:04:31.563 -> SearchFieldX = 20
                    14:04:31.563 -> SearchFieldY = 20
                    14:04:31.563 -> AlignmentAlgo = Default
                    14:04:31.563 -> FlipImageSize = false
                    14:04:31.563 -> /config/ref0.jpg 103 271
                    14:04:31.563 -> /config/ref1.jpg 442 142
                    14:04:31.563 -> 
                    14:04:31.563 -> [Digits]
                    14:04:31.563 -> Start ReadParameter ([Digits])
                    14:04:31.563 -> Model = /config/dig1210s2q.tflite
                    14:04:31.563 -> ;LogImageLocation = /log/digit
                    14:04:31.563 -> ;LogfileRetentionInDays = 3
                    14:04:31.563 -> ModelInputSize = 20 32
                    14:04:31.563 -> main.dig1 294 126 30 54
                    14:04:31.563 -> GetGENERAL - GENERAL main - roi dig1
                    14:04:31.563 -> main.dig2 343 126 30 54
                    14:04:31.563 -> GetGENERAL - GENERAL main - roi dig2
                    14:04:31.563 -> main.dig3 391 126 30 54
                    14:04:31.563 -> GetGENERAL - GENERAL main - roi dig3
                    14:04:31.563 -> 
                    14:04:31.563 -> [Analog]
                    14:04:31.563 -> Start ReadParameter ([Analog])
                    14:04:31.563 -> Model = /config/ana0700s1lq.tflite
                    14:04:31.563 -> ;LogImageLocation = /log/analog
                    14:04:31.563 -> ;LogfileRetentionInDays = 3
                    14:04:31.563 -> ModelInputSize = 32 32
                    14:04:31.563 -> ExtendedResolution = true
                    14:04:31.563 -> main.ana1 432 230 92 92
                    14:04:31.563 -> GetGENERAL - GENERAL main - roi ana1
                    14:04:31.563 -> main.ana2 379 332 92 92
                    14:04:31.563 -> GetGENERAL - GENERAL main - roi ana2
                    14:04:31.563 -> main.ana3 283 374 92 92
                    14:04:31.563 -> GetGENERAL - GENERAL main - roi ana3
                    14:04:31.563 -> main.ana4 155 328 92 92
                    14:04:31.563 -> GetGENERAL - GENERAL main - roi ana4
                    14:04:31.563 -> 
                    14:04:31.563 -> [PostProcessing]
                    14:04:31.563 -> Start ReadParameter ([PostProcessing])
                    14:04:31.563 -> Anzahl NUMBERS: 1 - DIGITS: 1, ANALOG: 1
                    14:04:31.563 -> Number main, Anz DIG: 3, Anz ANA 4
                    14:04:31.563 -> main.DecimalShift = 0
                    14:04:31.563 -> PreValueUse = true
                    14:04:31.563 -> PreValueAgeStartup = 720
                    14:04:31.563 -> AllowNegativeRates = false
                    14:04:31.563 -> main.MaxRateValue = 0.1
                    14:04:31.563 -> ErrorMessage = true
                    14:04:31.563 -> CheckDigitIncreaseConsistency = true
                    14:04:31.563 -> 
                    14:04:31.563 -> ;[MQTT]
                    14:04:31.563 -> Read Zeile Prevalue.ini: 2020-11-30_12-02-22
                    14:04:31.563 -> 42.013401
                    14:04:31.563 -> TIME: 120, 10, 0, 1, 1, 5
                    14:04:31.563 -> Read: ;Uri = mqtt://IP-ADRESS:1883
                    14:04:31.563 -> Read: ;MainTopic = wasserzaehler
                    14:04:31.563 -> Read: ;ClientID = wasser
                    14:04:31.563 -> Read: ;user = USERNAME
                    14:04:31.563 -> Read: ;password = PASSWORD
                    14:04:31.563 -> Read: 
                    14:04:31.563 -> Read: ;[GPIO]
                    14:04:31.563 -> Read: ;MainTopicMQTT = wasserzaehler/GPIO
                    14:04:31.563 -> Read: ;IO0 = input disabled 10 false false 
                    14:04:31.563 -> Read: ;IO1 = input disabled 10 false false 
                    14:04:31.563 -> Read: ;IO3 = input disabled 10 false false 
                    14:04:31.563 -> Read: ;IO4 = built-in-led disabled 10 false false 
                    14:04:31.563 -> Read: ;IO12 = input-pullup disabled 10 false false 
                    14:04:31.563 -> Read: ;IO13 = input-pullup disabled 10 false false 
                    14:04:31.563 -> Read: 
                    14:04:31.563 -> Read: [AutoTimer]
                    14:04:31.563 -> Start ReadParameter ([AutoTimer]
                    14:04:31.563 -> )
                    14:04:31.563 -> AutoStart = true
                    14:04:31.563 -> Intervall = 4.85
                    14:04:31.563 -> 
                    14:04:31.563 -> [Debug]
                    14:04:31.563 -> Start ReadParameter ([Debug])
                    14:04:31.563 -> Logfile = false
                    14:04:31.563 -> LogfileRetentionInDays = 3
                    14:04:31.563 -> 
                    14:04:31.563 -> [System]
                    14:04:31.563 -> Start ReadParameter ([System])
                    14:04:31.563 -> TimeZone = CET-1CEST,M3.5.0,M10.5.0/3
                    14:04:31.563 -> TimeZone set to CET-1CEST,M3.5.0,M10.5.0/3
                    14:04:31.563 -> ;TimeServer = undefined
                    14:04:31.563 -> ;AutoAdjustSummertime = false
                    14:04:31.563 -> ;Hostname = undefined
                    14:04:31.563 -> SetupMode = true
                    14:04:31.563 -> END OF FILE
                    14:04:31.563 -> *************** Start GPIOHandler_Init *****************
                    14:04:31.563 -> I (16519) server_GPIO: read GPIO config and init GPIO
                    14:04:31.563 -> open config file /sdcard/config/config.ini in mode r
                    14:04:31.563 -> [MakeImage]
                    14:04:31.563 -> ;LogImageLocation = /log/source
                    14:04:31.563 -> WaitBeforeTakingPicture = 5
                    14:04:31.563 -> ;LogfileRetentionInDays = 15
                    14:04:31.563 -> Brightness = -2
                    14:04:31.563 -> ;Contrast = 0
                    14:04:31.563 -> ;Saturation = 0
                    14:04:31.563 -> ImageQuality = 5
                    14:04:31.563 -> ImageSize = VGA
                    14:04:31.563 -> FixedExposure = false
                    14:04:31.563 -> 
                    14:04:31.563 -> [Alignment]
                    14:04:31.563 -> InitialRotate = 179
                    14:04:31.563 -> InitialMirror = false
                    14:04:31.563 -> SearchFieldX = 20
                    14:04:31.563 -> SearchFieldY = 20
                    14:04:31.563 -> AlignmentAlgo = Default
                    14:04:31.563 -> FlipImageSize = false
                    14:04:31.563 -> /config/ref0.jpg 103 271
                    14:04:31.563 -> /config/ref1.jpg 442 142
                    14:04:31.563 -> 
                    14:04:31.563 -> [Digits]
                    14:04:31.563 -> Model = /config/dig1210s2q.tflite
                    14:04:31.563 -> ;LogImageLocation = /log/digit
                    14:04:31.563 -> ;LogfileRetentionInDays = 3
                    14:04:31.563 -> ModelInputSize = 20 32
                    14:04:31.563 -> main.dig1 294 126 30 54
                    14:04:31.563 -> main.dig2 343 126 30 54
                    14:04:31.563 -> main.dig3 391 126 30 54
                    14:04:31.563 -> 
                    14:04:31.563 -> [Analog]
                    14:04:31.563 -> Model = /config/ana0700s1lq.tflite
                    14:04:31.563 -> ;LogImageLocation = /log/analog
                    14:04:31.563 -> ;LogfileRetentionInDays = 3
                    14:04:31.563 -> ModelInputSize = 32 32
                    14:04:31.563 -> ExtendedResolution = true
                    14:04:31.563 -> main.ana1 432 230 92 92
                    14:04:31.563 -> main.ana2 379 332 92 92
                    14:04:31.563 -> I (16609) BLINK: Blinken - done
                    14:04:31.563 -> main.ana3 283 374 92 92
                    14:04:31.563 -> main.ana4 155 328 92 92
                    14:04:31.563 -> 
                    14:04:31.563 -> [PostProcessing]
                    14:04:31.563 -> main.DecimalShift = 0
                    14:04:31.563 -> PreValueUse = true
                    14:04:31.563 -> PreValueAgeStartup = 720
                    14:04:31.563 -> AllowNegativeRates = false
                    14:04:31.563 -> main.MaxRateValue = 0.1
                    14:04:31.563 -> ErrorMessage = true
                    14:04:31.563 -> CheckDigitIncreaseConsistency = true
                    14:04:31.563 -> 
                    14:04:31.563 -> ;[MQTT]
                    14:04:31.563 -> ;Uri = mqtt://IP-ADRESS:1883
                    14:04:31.563 -> ;MainTopic = wasserzaehler
                    14:04:31.563 -> ;ClientID = wasser
                    14:04:31.563 -> ;user = USERNAME
                    14:04:31.563 -> ;password = PASSWORD
                    14:04:31.563 -> 
                    14:04:31.563 -> ;[GPIO]
                    14:04:31.563 -> ;MainTopicMQTT = wasserzaehler/GPIO
                    14:04:31.563 -> ;IO0 = input disabled 10 false false 
                    14:04:31.563 -> ;IO1 = input disabled 10 false false 
                    14:04:31.563 -> ;IO3 = input disabled 10 false false 
                    14:04:31.563 -> ;IO4 = built-in-led disabled 10 false false 
                    14:04:31.610 -> ;IO12 = input-pullup disabled 10 false false 
                    14:04:31.610 -> ;IO13 = input-pullup disabled 10 false false 
                    14:04:31.610 -> 
                    14:04:31.610 -> [AutoTimer]
                    14:04:31.610 -> AutoStart = true
                    14:04:31.610 -> Intervall = 4.85
                    14:04:31.610 -> 
                    14:04:31.610 -> [Debug]
                    14:04:31.610 -> Logfile = false
                    14:04:31.610 -> LogfileRetentionInDays = 3
                    14:04:31.610 -> 
                    14:04:31.610 -> [System]
                    14:04:31.610 -> TimeZone = CET-1CEST,M3.5.0,M10.5.0/3
                    14:04:31.610 -> ;TimeServer = undefined
                    14:04:31.610 -> ;AutoAdjustSummertime = false
                    14:04:31.610 -> ;Hostname = undefined
                    14:04:31.610 -> SetupMode = true
                    14:04:31.610 -> I (16689) server_GPIO: GPIO init comleted, handler is disabled
                    14:04:31.610 -> Flashdauer: 5000
                    14:04:37.130 -> Image loaded from memory: 0, 0, 0
                    
                    14:04:37.130 -> 14:04:37.130 -> Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
                    14:04:37.130 -> Core 0 register dump:
                    14:04:37.130 -> PC      : 0x400ef308  PS      : 0x00060530  A0      : 0x8018c5ca  A1      : 0x3fff9fd0  
                    14:04:37.130 -> A2      : 0x00000780  A3      : 0x3ffc3c68  A4      : 0x00000280  A5      : 0x00000780  
                    14:04:37.130 -> A6      : 0x00000001  A7      : 0x000001e0  A8      : 0x00000000  A9      : 0x3f82c168  
                    14:04:37.130 -> A10     : 0x00000000  A11     : 0x3f92ddd8  A12     : 0x00004d80  A13     : 0x00000001  
                    14:04:37.130 -> A14     : 0x3ffc35ac  A15     : 0x3fff9ef0  SAR     : 0x0000001a  EXCCAUSE: 0x0000001c  
                    14:04:37.130 -> EXCVADDR: 0x00000000  LBEG    : 0x4008bed5  LEND    : 0x4008bee5  LCOUNT  : 0xffffffff  
                    14:04:37.130 -> 
                    14:04:37.130 -> ELF file SHA256: 49d2944a34ee25eb
                    14:04:37.130 -> Backtrace: 0x400ef305:0x3fff9fd0 0x4018c5c7:0x3fffa040 0x4018c64e:0x3fffa080 0x40189d89:0x3fffa110 0x400f13a2:0x3fffa1c0
                    14:04:37.130 -> 
                    14:04:37.130 -> Rebooting...
                    14:04:37.130 -> ets Jun  8 2016 00:22:57
                    
                    
                    M 1 Reply Last reply Reply Quote 0
                    • M
                      martinschm @Xsev last edited by

                      Hi,

                      ich habe gerade in meinen history Daten gesehen, das bei mir die 4 an der dritten Stelle wohl nicht richtig erkannt wird. Lauter raw Werte die ein N dort anzeigen. Mittlerweile ist der Zähler bei der 5 und dann der 6 angekommen.

                      Kann ich irgendwie mit anderen Trainingswerten ein Test laufen lassen ob er damit die 4 richtig erkannt hätte?

                      ciao
                      Martin

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        toki1973 @martinschm last edited by

                        Kann mir das jemand erklären?
                        eebdf68d-98fd-46f3-bfb6-79a1af629272-image.png
                        b9837042-8be8-4d76-bb85-2e4fa71babe8-image.png

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          JoergH @toki1973 last edited by

                          @toki1973 Was ist denn unklar? Der Zähler wird korrekt abgelesen, aber zuvor hatte er wohl mal einen höheren falschen Wert und da er nicht rückwärts zählen darf laut Deinen Einstellungen ("allow negative rates - false"), übermittelt er weiter den zuvor fälschlicherweise ermittelten, hohen Wert. Warum der mal so falsch ermittelt wurde? Keine Ahnung. Ich habe von 4 Zählern mit 3 en dauernd Probleme mit der Erkennung. Ich denke ohne eigenes Training mit den Bildern der eigenen Schrift wird es vermutlich nicht besser werden bei mir.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mameier1234 @JoergH last edited by

                            @joergh Ich denke mal die Hauptfrage ist, warum da ein Sprung zwischendurch von 390 auf 411 stattfand, obwohl das MaxRateValue auf 0,9 steht...

                            Das passiert bei mir auch leider immer wieder mal.. Bisher ohne Erklärung..

                            Xsev 1 Reply Last reply Reply Quote 0
                            • Xsev
                              Xsev @mameier1234 last edited by

                              @jomjol
                              Kannst du vielleicht bei Gelegenheit bitte nochmal über das Log schauen. Trotz anderem ESP (mit 64Mbit Psram) und jetzt auch neuer 32GB SD Karte, selbes Problem. Ich komm aus dem Dauerreboot einfach nicht raus.

                              @xsev sagte in Wasserzähler - Version 2 - all-in-device:

                              @jomjol Ich hatte noch einen alten ESP mit defekter Cam rumliegen, ich hab jetzt mal das alte Board genommen mit neuer Cam. Laut Log hat dieser ESP die 64Mbit aber der Fehler bleibt der selbe. Kurz vor Logende meldet er folgendes:

                              14:04:37.130 -> 14:04:37.130 -> Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
                              14:04:37.130 -> Core 0 register dump:
                              14:04:37.130 -> PC      : 0x400ef308  PS      : 0x00060530  A0      : 0x8018c5ca  A1      : 0x3fff9fd0  
                              14:04:37.130 -> A2      : 0x00000780  A3      : 0x3ffc3c68  A4      : 0x00000280  A5      : 0x00000780  
                              14:04:37.130 -> A6      : 0x00000001  A7      : 0x000001e0  A8      : 0x00000000  A9      : 0x3f82c168  
                              14:04:37.130 -> A10     : 0x00000000  A11     : 0x3f92ddd8  A12     : 0x00004d80  A13     : 0x00000001  
                              14:04:37.130 -> A14     : 0x3ffc35ac  A15     : 0x3fff9ef0  SAR     : 0x0000001a  EXCCAUSE: 0x0000001c  
                              14:04:37.130 -> EXCVADDR: 0x00000000  LBEG    : 0x4008bed5  LEND    : 0x4008bee5  LCOUNT  : 0xffffffff  
                              14:04:37.130 -> 
                              14:04:37.130 -> ELF file SHA256: 49d2944a34ee25eb
                              14:04:37.130 -> Backtrace: 0x400ef305:0x3fff9fd0 0x4018c5c7:0x3fffa040 0x4018c64e:0x3fffa080 0x40189d89:0x3fffa110 0x400f13a2:0x3fffa1c0
                              

                              Das ganze Log:

                              14:04:15.068 -> Rebooting...
                              14:04:15.068 -> ets Jun  8 2016 00:22:57
                              14:04:15.068 -> 
                              14:04:15.068 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
                              14:04:15.068 -> configsip: 0, SPIWP:0xee
                              14:04:15.068 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
                              14:04:15.068 -> mode:DIO, clock div:2
                              14:04:15.068 -> load:0x3fff0030,len:4
                              14:04:15.068 -> load:0x3fff0034,len:7248
                              14:04:15.068 -> ho 0 tail 12 room 4
                              14:04:15.068 -> load:0x40078000,len:13856
                              14:04:15.068 -> load:0x40080400,len:4052
                              14:04:15.068 -> entry 0x40080688
                              14:04:15.068 -> I (31) boot: ESP-IDF 3.40100.200827 2nd stage bootloader
                              14:04:15.068 -> I (31) boot: compile time 18:56:57
                              14:04:15.068 -> I (31) boot: chip revision: 1
                              14:04:15.068 -> I (34) boot_comm: chip revision: 1, min. bootloader chip revision: 0
                              14:04:15.068 -> I (41) boot.esp32: SPI Speed      : 40MHz
                              14:04:15.068 -> I (46) boot.esp32: SPI Mode       : DIO
                              14:04:15.068 -> I (51) boot.esp32: SPI Flash Size : 4MB
                              14:04:15.068 -> I (55) boot: Enabling RNG early entropy source...
                              14:04:15.068 -> I (61) boot: Partition Table:
                              14:04:15.068 -> I (64) boot: ## Label            Usage          Type ST Offset   Length
                              14:04:15.068 -> I (71) boot:  0 nvs              WiFi data        01 02 00009000 00004000
                              14:04:15.068 -> I (79) boot:  1 otadata          OTA data         01 00 0000d000 00002000
                              14:04:15.068 -> I (86) boot:  2 phy_init         RF data          01 01 0000f000 00001000
                              14:04:15.068 -> I (94) boot:  3 ota_0            OTA app          00 10 00010000 001db000
                              14:04:15.068 -> I (101) boot:  4 ota_1            OTA app          00 11 001f0000 001db000
                              14:04:15.068 -> I (109) boot: End of partition table
                              14:04:15.068 -> I (113) boot_comm: chip revision: 1, min. application chip revision: 0
                              14:04:15.068 -> I (120) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x51048 (331848) map
                              14:04:15.224 -> I (273) esp_image: segment 1: paddr=0x00061070 vaddr=0x3ffb0000 size=0x0504c ( 20556) load
                              14:04:15.224 -> I (283) esp_image: segment 2: paddr=0x000660c4 vaddr=0x40080000 size=0x00404 (  1028) load
                              14:04:15.224 -> I (284) esp_image: segment 3: paddr=0x000664d0 vaddr=0x40080404 size=0x09b48 ( 39752) load
                              14:04:15.224 -> I (310) esp_image: segment 4: paddr=0x00070020 vaddr=0x400d0020 size=0x122ec8 (1191624) map
                              14:04:15.718 -> I (826) esp_image: segment 5: paddr=0x00192ef0 vaddr=0x40089f4c size=0x12c68 ( 76904) load
                              14:04:16.357 -> I (880) boot: Loaded app from partition at offset 0x10000
                              14:04:16.357 -> I (880) boot: Disabling RNG early entropy source...
                              14:04:16.357 -> I (881) psram: This chip is ESP32-D0WD
                              14:04:16.357 -> I (885) spiram: Found 64MBit SPI RAM device
                              14:04:16.357 -> I (890) spiram: SPI RAM mode: flash 40m sram 40m
                              14:04:16.357 -> I (895) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
                              14:04:16.357 -> I (903) cpu_start: Pro cpu up.
                              14:04:16.357 -> I (906) cpu_start: Application information:
                              14:04:16.357 -> I (911) cpu_start: Project name:     esp32cam-server-only
                              14:04:16.357 -> I (917) cpu_start: App version:      0.0.9.3
                              14:04:16.357 -> I (922) cpu_start: Compile time:     Sep 25 2021 18:55:36
                              14:04:16.357 -> I (928) cpu_start: ELF file SHA256:  49d2944a34ee25eb...
                              14:04:16.357 -> I (934) cpu_start: ESP-IDF:          3.40100.200827
                              14:04:16.357 -> I (940) cpu_start: Starting app cpu, entry point is 0x40081cf0
                              14:04:16.357 -> I (931) cpu_start: App cpu up.
                              14:04:16.841 -> I (1837) spiram: SPI SRAM memory test OK
                              14:04:16.841 -> I (1838) heap_init: Initializing. RAM available for dynamic allocation:
                              14:04:16.841 -> I (1838) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
                              14:04:16.841 -> I (1844) heap_init: At 3FFC2A08 len 0001D5F8 (117 KiB): DRAM
                              14:04:16.841 -> I (1851) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
                              14:04:16.841 -> I (1857) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
                              14:04:16.841 -> I (1864) heap_init: At 4009CBB4 len 0000344C (13 KiB): IRAM
                              14:04:16.841 -> I (1870) cpu_start: Pro cpu start user code
                              14:04:16.841 -> I (1875) spiram: Adding pool of 4096K of external SPI memory to heap allocator
                              14:04:16.841 -> I (1900) spi_flash: detected chip: generic
                              14:04:16.841 -> I (1901) spi_flash: flash io: dio
                              14:04:16.841 -> I (1901) cpu_start: Starting scheduler on PRO CPU.
                              14:04:16.841 -> I (0) cpu_start: Starting scheduler on APP CPU.
                              14:04:16.841 -> I (1909) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
                              14:04:16.841 -> Do Reset Camera
                              14:04:16.841 -> I (1919) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
                              14:04:18.823 -> Init Camera
                              14:04:18.823 -> I (3929) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (3929) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (3929) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (3939) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (3949) gpio: GPIO[22]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (3959) gpio: GPIO[23]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (3969) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (3979) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (3989) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (3999) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (4009) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
                              14:04:18.958 -> I (4019) sccb: pin_sda 26 pin_scl 27
                              14:04:18.958 -> 
                              14:04:18.958 -> I (4019) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
                              14:04:19.098 -> I (4169) camera: Detected OV2640 camera
                              14:04:19.098 -> I (4179) camera: Allocating 1 frame buffers (150 KB total)
                              14:04:19.098 -> I (4189) camera: Allocating 150 KB frame buffer in OnBoard RAM
                              14:04:19.694 -> I (4789) main: Using SDMMC peripheral
                              14:04:19.788 -> Name: SN64G
                              14:04:19.788 -> Type: SDHC/SDXC
                              14:04:19.788 -> Speed: 20 MHz
                              14:04:19.788 -> Size: 60906MB
                              14:04:19.788 -> I (4849) server_ota: Start CheckOTAUpdateCheck ...
                              14:04:19.788 -> Start CheckOTAUpdateCheck ...
                              14:04:19.788 -> I (4859) server_ota: SHA-256 for the partition table: : 9d4a2809ae90fb20709a8ca3dd3ac3462e1e73286bcd31b689060c91de06fa3a
                              14:04:19.835 -> I (4919) server_ota: SHA-256 for bootloader: : ee8b22523ca2a6f08e0e01e2e6dd2ae40f0a13f93d5c02794b19cfca199b3e9e
                              14:04:20.491 -> I (5559) server_ota: SHA-256 for current firmware: : dc1319e0f2d427d7bc8d303fa98e0456e09c555804634127bb0960ca1cb42b6a
                              14:04:20.491 -> CheckOTAUpdate Partition: ESP_OK
                              14:04:20.538 -> open config file /sdcard/wlan.ini in mode r
                              14:04:20.538 -> file loaded
                              14:04:20.538 -> 
                              14:04:20.538 -> WLan: Rocket, XXXXXXXXXXXXX
                              14:04:20.538 -> Hostename: Watermeter13
                              14:04:20.538 -> I (5609) wifi:wifi driver task: 3ffd9cc4, prio:23, stack:6656, core=0
                              14:04:20.538 -> I (5609) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
                              14:04:20.538 -> I (5609) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
                              14:04:20.538 -> I (5639) wifi:wifi firmware version: 3ea4c76
                              14:04:20.585 -> I (5639) wifi:config NVS flash: enabled
                              14:04:20.585 -> I (5639) wifi:config nano formating: disabled
                              14:04:20.585 -> I (5639) wifi:Init dynamic tx buffer num: 32
                              14:04:20.585 -> I (5649) wifi:Init data frame dynamic rx buffer num: 32
                              14:04:20.585 -> I (5649) wifi:Init management frame dynamic rx buffer num: 32
                              14:04:20.585 -> I (5659) wifi:Init management short buffer num: 32
                              14:04:20.585 -> I (5659) wifi:Init static tx buffer num: 16
                              14:04:20.585 -> I (5669) wifi:Init static rx buffer size: 1600
                              14:04:20.585 -> I (5669) wifi:Init static rx buffer num: 10
                              14:04:20.585 -> I (5669) wifi:Init dynamic rx buffer num: 32
                              14:04:20.721 -> I (5769) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0
                              14:04:20.721 -> I (5769) wifi:mode : sta (9c:9c:1f:c9:24:34)
                              14:04:20.721 -> I (5769) BLINK: Blinken - start
                              14:04:20.721 -> I (5779) wifi station: wifi_init_sta finished.
                              14:04:20.815 -> I (5899) wifi:new:<3,0>, old:<1,0>, ap:<255,255>, sta:<3,0>, prof:1
                              14:04:20.815 -> I (5899) wifi:state: init -> auth (b0)
                              14:04:20.815 -> I (5919) wifi:state: auth -> assoc (0)
                              14:04:20.862 -> I (5929) wifi:state: assoc -> run (10)
                              14:04:20.862 -> I (5959) wifi:connected with Rocket, aid = 2, channel 3, BW20, bssid = e0:63:da:74:3e:f2
                              14:04:20.909 -> I (5959) wifi:security: WPA2-PSK, phy: bgn, rssi: -72
                              14:04:20.909 -> I (5969) wifi:pm start, type: 1
                              14:04:20.909 -> 
                              14:04:20.909 -> I (5979) BLINK: Blinken - done
                              14:04:20.956 -> I (6019) wifi:AP's beacon interval = 102400 us, DTIM period = 1
                              14:04:21.518 -> I (6599) esp_netif_handlers: sta ip: 192.168.13.206, mask: 255.255.255.0, gw: 192.168.13.1
                              14:04:21.518 -> I (6599) wifi station: got ip:192.168.13.206
                              14:04:21.518 -> I (6599) BLINK: Blinken - start
                              14:04:21.518 -> I (6609) wifi station: connected to ap SSID:Rocket password:XXXXXXXXXXXXX
                              14:04:21.518 -> main: sleep for : 200ms
                              14:04:23.514 -> I (8619) sntp: Time is not set yet. Connecting to WiFi and getting time over NTP.
                              14:04:23.561 -> I (8619) sntp: Initializing SNTP
                              14:04:23.561 -> I (8619) sntp: Waiting for system time to be set... (1/10)
                              14:04:25.525 -> I (10619) sntp: Waiting for system time to be set... (2/10)
                              14:04:27.593 -> TimeZone set to CET-1CEST,M3.5.0,M10.5.0/3
                              14:04:27.593 -> Logfile opened: /sdcard/log/message/log_2022-03-20.txt
                              14:04:27.593 -> I (12629) sntp: The current date/time in Berlin is: Sun Mar 20 14:04:29 2022
                              14:04:27.593 -> I (12629) sntp: The current date/time in Berlin is: 2022-03-20_14:04
                              14:04:27.593 -> timeist 20220320-140429
                              14:04:27.593 -> Logfile opened: /sdcard/log/message/log_2022-03-20.txt
                              14:04:27.593 -> Logfile opened: /sdcard/log/message/log_2022-03-20.txt
                              14:04:27.593 -> Logfile opened: /sdcard/log/message/log_2022-03-20.txt
                              14:04:27.593 -> time 20220320-140429
                              14:04:27.593 -> main: sleep for : 200ms
                              14:04:29.619 -> I (14659) server-main: Starting server on port: '80'
                              14:04:29.619 -> I (14659) server-main: Registering URI handlers
                              14:04:29.619 -> I (14659) server_tflite: server_part_camera - Registering URI handlers
                              14:04:29.619 -> I (14659) server_ota: server_ota - Registering URI handlers
                              14:04:29.619 -> I (14669) server_GPIO: start GpioHandler
                              14:04:29.619 -> I (14669) server_GPIO: register GPIO Uri
                              14:04:29.619 -> I (14679) server_GPIO: server_GPIO - Registering URI handlers
                              14:04:29.619 -> vor reg server main
                              14:04:29.619 -> vor dotautostart
                              14:04:29.619 -> task_autodoFlow: start
                              
                              14:04:29.619 -> open config file /sdcard/config/config.ini in mode r
                              14:04:29.619 -> [MakeImage]
                              14:04:29.619 -> Start ReadParameter ([MakeImage]
                              14:04:29.619 -> )
                              14:04:29.619 -> ;LogImageLocation = /log/source
                              14:04:29.619 -> WaitBeforeTakingPicture = 5
                              14:04:29.619 -> ;LogfileRetentionInDays = 15
                              14:04:29.619 -> Brightness = -2
                              14:04:29.619 -> ;Contrast = 0
                              14:04:29.619 -> ;Saturation = 0
                              14:04:29.619 -> ImageQuality = 5
                              14:04:29.619 -> ImageSize = VGA
                              14:04:29.619 -> FixedExposure = false
                              14:04:29.619 -> 
                              14:04:29.619 -> [Alignment]
                              14:04:31.563 -> Start ReadParameter ([Alignment])
                              14:04:31.563 -> InitialRotate = 179
                              14:04:31.563 -> InitialMirror = false
                              14:04:31.563 -> SearchFieldX = 20
                              14:04:31.563 -> SearchFieldY = 20
                              14:04:31.563 -> AlignmentAlgo = Default
                              14:04:31.563 -> FlipImageSize = false
                              14:04:31.563 -> /config/ref0.jpg 103 271
                              14:04:31.563 -> /config/ref1.jpg 442 142
                              14:04:31.563 -> 
                              14:04:31.563 -> [Digits]
                              14:04:31.563 -> Start ReadParameter ([Digits])
                              14:04:31.563 -> Model = /config/dig1210s2q.tflite
                              14:04:31.563 -> ;LogImageLocation = /log/digit
                              14:04:31.563 -> ;LogfileRetentionInDays = 3
                              14:04:31.563 -> ModelInputSize = 20 32
                              14:04:31.563 -> main.dig1 294 126 30 54
                              14:04:31.563 -> GetGENERAL - GENERAL main - roi dig1
                              14:04:31.563 -> main.dig2 343 126 30 54
                              14:04:31.563 -> GetGENERAL - GENERAL main - roi dig2
                              14:04:31.563 -> main.dig3 391 126 30 54
                              14:04:31.563 -> GetGENERAL - GENERAL main - roi dig3
                              14:04:31.563 -> 
                              14:04:31.563 -> [Analog]
                              14:04:31.563 -> Start ReadParameter ([Analog])
                              14:04:31.563 -> Model = /config/ana0700s1lq.tflite
                              14:04:31.563 -> ;LogImageLocation = /log/analog
                              14:04:31.563 -> ;LogfileRetentionInDays = 3
                              14:04:31.563 -> ModelInputSize = 32 32
                              14:04:31.563 -> ExtendedResolution = true
                              14:04:31.563 -> main.ana1 432 230 92 92
                              14:04:31.563 -> GetGENERAL - GENERAL main - roi ana1
                              14:04:31.563 -> main.ana2 379 332 92 92
                              14:04:31.563 -> GetGENERAL - GENERAL main - roi ana2
                              14:04:31.563 -> main.ana3 283 374 92 92
                              14:04:31.563 -> GetGENERAL - GENERAL main - roi ana3
                              14:04:31.563 -> main.ana4 155 328 92 92
                              14:04:31.563 -> GetGENERAL - GENERAL main - roi ana4
                              14:04:31.563 -> 
                              14:04:31.563 -> [PostProcessing]
                              14:04:31.563 -> Start ReadParameter ([PostProcessing])
                              14:04:31.563 -> Anzahl NUMBERS: 1 - DIGITS: 1, ANALOG: 1
                              14:04:31.563 -> Number main, Anz DIG: 3, Anz ANA 4
                              14:04:31.563 -> main.DecimalShift = 0
                              14:04:31.563 -> PreValueUse = true
                              14:04:31.563 -> PreValueAgeStartup = 720
                              14:04:31.563 -> AllowNegativeRates = false
                              14:04:31.563 -> main.MaxRateValue = 0.1
                              14:04:31.563 -> ErrorMessage = true
                              14:04:31.563 -> CheckDigitIncreaseConsistency = true
                              14:04:31.563 -> 
                              14:04:31.563 -> ;[MQTT]
                              14:04:31.563 -> Read Zeile Prevalue.ini: 2020-11-30_12-02-22
                              14:04:31.563 -> 42.013401
                              14:04:31.563 -> TIME: 120, 10, 0, 1, 1, 5
                              14:04:31.563 -> Read: ;Uri = mqtt://IP-ADRESS:1883
                              14:04:31.563 -> Read: ;MainTopic = wasserzaehler
                              14:04:31.563 -> Read: ;ClientID = wasser
                              14:04:31.563 -> Read: ;user = USERNAME
                              14:04:31.563 -> Read: ;password = PASSWORD
                              14:04:31.563 -> Read: 
                              14:04:31.563 -> Read: ;[GPIO]
                              14:04:31.563 -> Read: ;MainTopicMQTT = wasserzaehler/GPIO
                              14:04:31.563 -> Read: ;IO0 = input disabled 10 false false 
                              14:04:31.563 -> Read: ;IO1 = input disabled 10 false false 
                              14:04:31.563 -> Read: ;IO3 = input disabled 10 false false 
                              14:04:31.563 -> Read: ;IO4 = built-in-led disabled 10 false false 
                              14:04:31.563 -> Read: ;IO12 = input-pullup disabled 10 false false 
                              14:04:31.563 -> Read: ;IO13 = input-pullup disabled 10 false false 
                              14:04:31.563 -> Read: 
                              14:04:31.563 -> Read: [AutoTimer]
                              14:04:31.563 -> Start ReadParameter ([AutoTimer]
                              14:04:31.563 -> )
                              14:04:31.563 -> AutoStart = true
                              14:04:31.563 -> Intervall = 4.85
                              14:04:31.563 -> 
                              14:04:31.563 -> [Debug]
                              14:04:31.563 -> Start ReadParameter ([Debug])
                              14:04:31.563 -> Logfile = false
                              14:04:31.563 -> LogfileRetentionInDays = 3
                              14:04:31.563 -> 
                              14:04:31.563 -> [System]
                              14:04:31.563 -> Start ReadParameter ([System])
                              14:04:31.563 -> TimeZone = CET-1CEST,M3.5.0,M10.5.0/3
                              14:04:31.563 -> TimeZone set to CET-1CEST,M3.5.0,M10.5.0/3
                              14:04:31.563 -> ;TimeServer = undefined
                              14:04:31.563 -> ;AutoAdjustSummertime = false
                              14:04:31.563 -> ;Hostname = undefined
                              14:04:31.563 -> SetupMode = true
                              14:04:31.563 -> END OF FILE
                              14:04:31.563 -> *************** Start GPIOHandler_Init *****************
                              14:04:31.563 -> I (16519) server_GPIO: read GPIO config and init GPIO
                              14:04:31.563 -> open config file /sdcard/config/config.ini in mode r
                              14:04:31.563 -> [MakeImage]
                              14:04:31.563 -> ;LogImageLocation = /log/source
                              14:04:31.563 -> WaitBeforeTakingPicture = 5
                              14:04:31.563 -> ;LogfileRetentionInDays = 15
                              14:04:31.563 -> Brightness = -2
                              14:04:31.563 -> ;Contrast = 0
                              14:04:31.563 -> ;Saturation = 0
                              14:04:31.563 -> ImageQuality = 5
                              14:04:31.563 -> ImageSize = VGA
                              14:04:31.563 -> FixedExposure = false
                              14:04:31.563 -> 
                              14:04:31.563 -> [Alignment]
                              14:04:31.563 -> InitialRotate = 179
                              14:04:31.563 -> InitialMirror = false
                              14:04:31.563 -> SearchFieldX = 20
                              14:04:31.563 -> SearchFieldY = 20
                              14:04:31.563 -> AlignmentAlgo = Default
                              14:04:31.563 -> FlipImageSize = false
                              14:04:31.563 -> /config/ref0.jpg 103 271
                              14:04:31.563 -> /config/ref1.jpg 442 142
                              14:04:31.563 -> 
                              14:04:31.563 -> [Digits]
                              14:04:31.563 -> Model = /config/dig1210s2q.tflite
                              14:04:31.563 -> ;LogImageLocation = /log/digit
                              14:04:31.563 -> ;LogfileRetentionInDays = 3
                              14:04:31.563 -> ModelInputSize = 20 32
                              14:04:31.563 -> main.dig1 294 126 30 54
                              14:04:31.563 -> main.dig2 343 126 30 54
                              14:04:31.563 -> main.dig3 391 126 30 54
                              14:04:31.563 -> 
                              14:04:31.563 -> [Analog]
                              14:04:31.563 -> Model = /config/ana0700s1lq.tflite
                              14:04:31.563 -> ;LogImageLocation = /log/analog
                              14:04:31.563 -> ;LogfileRetentionInDays = 3
                              14:04:31.563 -> ModelInputSize = 32 32
                              14:04:31.563 -> ExtendedResolution = true
                              14:04:31.563 -> main.ana1 432 230 92 92
                              14:04:31.563 -> main.ana2 379 332 92 92
                              14:04:31.563 -> I (16609) BLINK: Blinken - done
                              14:04:31.563 -> main.ana3 283 374 92 92
                              14:04:31.563 -> main.ana4 155 328 92 92
                              14:04:31.563 -> 
                              14:04:31.563 -> [PostProcessing]
                              14:04:31.563 -> main.DecimalShift = 0
                              14:04:31.563 -> PreValueUse = true
                              14:04:31.563 -> PreValueAgeStartup = 720
                              14:04:31.563 -> AllowNegativeRates = false
                              14:04:31.563 -> main.MaxRateValue = 0.1
                              14:04:31.563 -> ErrorMessage = true
                              14:04:31.563 -> CheckDigitIncreaseConsistency = true
                              14:04:31.563 -> 
                              14:04:31.563 -> ;[MQTT]
                              14:04:31.563 -> ;Uri = mqtt://IP-ADRESS:1883
                              14:04:31.563 -> ;MainTopic = wasserzaehler
                              14:04:31.563 -> ;ClientID = wasser
                              14:04:31.563 -> ;user = USERNAME
                              14:04:31.563 -> ;password = PASSWORD
                              14:04:31.563 -> 
                              14:04:31.563 -> ;[GPIO]
                              14:04:31.563 -> ;MainTopicMQTT = wasserzaehler/GPIO
                              14:04:31.563 -> ;IO0 = input disabled 10 false false 
                              14:04:31.563 -> ;IO1 = input disabled 10 false false 
                              14:04:31.563 -> ;IO3 = input disabled 10 false false 
                              14:04:31.563 -> ;IO4 = built-in-led disabled 10 false false 
                              14:04:31.610 -> ;IO12 = input-pullup disabled 10 false false 
                              14:04:31.610 -> ;IO13 = input-pullup disabled 10 false false 
                              14:04:31.610 -> 
                              14:04:31.610 -> [AutoTimer]
                              14:04:31.610 -> AutoStart = true
                              14:04:31.610 -> Intervall = 4.85
                              14:04:31.610 -> 
                              14:04:31.610 -> [Debug]
                              14:04:31.610 -> Logfile = false
                              14:04:31.610 -> LogfileRetentionInDays = 3
                              14:04:31.610 -> 
                              14:04:31.610 -> [System]
                              14:04:31.610 -> TimeZone = CET-1CEST,M3.5.0,M10.5.0/3
                              14:04:31.610 -> ;TimeServer = undefined
                              14:04:31.610 -> ;AutoAdjustSummertime = false
                              14:04:31.610 -> ;Hostname = undefined
                              14:04:31.610 -> SetupMode = true
                              14:04:31.610 -> I (16689) server_GPIO: GPIO init comleted, handler is disabled
                              14:04:31.610 -> Flashdauer: 5000
                              14:04:37.130 -> Image loaded from memory: 0, 0, 0
                              
                              14:04:37.130 -> 14:04:37.130 -> Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
                              14:04:37.130 -> Core 0 register dump:
                              14:04:37.130 -> PC      : 0x400ef308  PS      : 0x00060530  A0      : 0x8018c5ca  A1      : 0x3fff9fd0  
                              14:04:37.130 -> A2      : 0x00000780  A3      : 0x3ffc3c68  A4      : 0x00000280  A5      : 0x00000780  
                              14:04:37.130 -> A6      : 0x00000001  A7      : 0x000001e0  A8      : 0x00000000  A9      : 0x3f82c168  
                              14:04:37.130 -> A10     : 0x00000000  A11     : 0x3f92ddd8  A12     : 0x00004d80  A13     : 0x00000001  
                              14:04:37.130 -> A14     : 0x3ffc35ac  A15     : 0x3fff9ef0  SAR     : 0x0000001a  EXCCAUSE: 0x0000001c  
                              14:04:37.130 -> EXCVADDR: 0x00000000  LBEG    : 0x4008bed5  LEND    : 0x4008bee5  LCOUNT  : 0xffffffff  
                              14:04:37.130 -> 
                              14:04:37.130 -> ELF file SHA256: 49d2944a34ee25eb
                              14:04:37.130 -> Backtrace: 0x400ef305:0x3fff9fd0 0x4018c5c7:0x3fffa040 0x4018c64e:0x3fffa080 0x40189d89:0x3fffa110 0x400f13a2:0x3fffa1c0
                              14:04:37.130 -> 
                              14:04:37.130 -> Rebooting...
                              14:04:37.130 -> ets Jun  8 2016 00:22:57
                              
                              
                              J 1 Reply Last reply Reply Quote 0
                              • J
                                jomjol @Xsev last edited by

                                @xsev sagte in Wasserzähler - Version 2 - all-in-device:

                                14:04:37.130 -> Image loaded from memory: 0, 0, 0

                                The Problem I see is here:
                                14:04:37.130 -> Image loaded from memory: 0, 0, 0

                                This tells, that the image from the camera could not be loaded. Can you check the connection to your camera (flex band).

                                B 1 Reply Last reply Reply Quote 1
                                • B
                                  BorderCounter @jomjol last edited by

                                  Hallo zusammen,

                                  mein Problem: Die vollen Kubikmeter (6) wird nicht erkannt. Raw Value: 0082N.075 (00826.075)- Alter Stand war 0082N.981 (00825.981). Durch den Sprung der vollen Kubikmeter von 825 auf 826 und die Tatsache, dass die 1-Kubikmeterstelle nicht richtig erkannt wird, ist die "neue Menge" kleiner als die "alte Menge". Wie gehe ich am besten damit um?
                                  Ich habe Versuchsweise das Feld für die Stelle zu vergrößern, schafft aber keine Abhilfe.

                                  zähler.jpg

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    JoergH @BorderCounter last edited by

                                    @bordercounter Das Fenster um die Ziffer 6 sieht zu groß aus. Das würde ich mal exakt anpassen, dann erkennt er die Ziffer vielleicht besser...

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      BorderCounter @JoergH last edited by

                                      @joergh Ich habe das Feld schon größer gemacht. als es exakt gepasst hat, war der fehler der selbe 😞

                                      Xsev 1 Reply Last reply Reply Quote 0
                                      • Xsev
                                        Xsev @BorderCounter last edited by

                                        @bordercounter Du kannst mal mit einem anderen Erkennungsfile testen, ich hab mit den älteren Versionen teilweise bessere Ergebnisse erzielt. Da sollten 2-3 auf der SD Karte sein, evtl. gibt's die auch als Download auf Git...

                                        Xsev 1 Reply Last reply Reply Quote 0
                                        • M
                                          markushi last edited by markushi

                                          Hallo zusammen,

                                          bin zufällig auch über dieses absolut geniale Projekt gestoßen und habs mal provisorisch installiert um meinen analogen Stromzähler auszulesen:

                                          ef439fdd-42f8-4327-a52b-d364911c86fe-image.png

                                          Funktioniert 1a und was mich echt überrascht hat, ist die hohe Erkennungsqualität der Software! Aktuell logge ich so jede Stunde den Stand in meine Postgres Datenbank:
                                          3d73b19e-9520-4239-bb97-5587376e0357-image.png

                                          Problem für mich bei dem Ganzen: Ich habe keine 3D-Drucker! Und irgendwie finde ich keinen Shop, wo ich mir ein gedrucktes Gehäuse für das Modul bestellen könnte?!? Habt ihr einen Tipp für mich? Wollte mir deswegen ungern einen 3D-Drucker anschaffen....

                                          Danke!

                                          Gruß - Markus

                                          ERLEDIGT ---> hab jetzt bei einem Online Druckdienst Gehäuse bestellt ✌

                                          BananaJoe 1 Reply Last reply Reply Quote 0
                                          • BananaJoe
                                            BananaJoe Most Active @markushi last edited by

                                            @markushi aus Pappe oder Bastelholz / Bastelkunststoffplatten aus dem Baumarkt.
                                            Kannst du mit dem Teppichmesser zuschneiden und kleben.
                                            Musst nur schauen woran du es hängen oder festklemmen kannst

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            564
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            ai on the edge cnn esp32 hausautomatisierung neuronale netze ov2640 version 2 wasserzähler water gauge water meter
                                            235
                                            3381
                                            1807854
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo