* centralize PSRAM usage (application code only)
* update logging
* update logging
* fix use after free
* initialize buffer
* free rgb_image before ussing it for new allocation
* use wrapper function
* switch log level to debug
* .
* undo adding free() calls
* .
* add names to all CImage instances
* .
* .
* .
* revert changes of stbi_image_free() with free_psram_heap() on the places where is is not in PSRAM
* .
* typos
* typo
* Added MQTT Outbox explanation/warning
* added CONFIG_SPIRAM_USE_MEMMAP explanation
---------
Co-authored-by: CaCO3 <caco@ruinelli.ch>
* Run the Homeassistant Discovery directly after connecting to the broker. Before it was delayed 10s and happened while the first round alredy was in progress
* schedule sending HA discovery and static topics
* Allow setting QOS for MQTT topics
* .
* .
* change MQTT QOS1 expiration time from (default) 30 to 5s
* add logging of heap change on MQTT topic sendings
* wait for MQTT transmission timeout after publishing
* use QOS0 for Homeassistant Discovery topics. the messages then could possibly get lost but we save a lot of heap
* .
* use PSRAM for the MQTT outbox
* use QOS1 for HA discovery again
* .
* .
* disable delay, not needed with PSRAM
* .
* consolidated scheduledSendingOf_DiscoveryAndStaticTopics into sendingOf_DiscoveryAndStaticTopics_scheduled
* Send Homeasstsiatnt Discovery and static data in MQTT step instead of when the wifi gets connected
* "WIFI roaming" by channel scan (AP switching at low RSSI) (#2120)
* Activate 802.11kv wifi mesh roaming
* Activate roaming by scanning
* Revert stack reducation
* move Wifi, LWIP and BSSI to PSRAm
* added State Class "measurement" to rate_per_time_unit (#2116)
Co-authored-by: CaCO3 <caco@ruinelli.ch>
* use QOS0 for Homeassistant Discovery topics. the messages then could possibly get lost but we save a lot of heap
* use QOS0 for Homeassistant Discovery topics. the messages then could possibly get lost but we save a lot of heap
# Conflicts:
# code/components/jomjol_mqtt/server_mqtt.cpp
# Conflicts:
# code/components/jomjol_mqtt/server_mqtt.cpp
* .
* .
* move to next PR
* Update code/components/jomjol_mqtt/server_mqtt.cpp
* Update code/components/jomjol_mqtt/server_mqtt.cpp
---------
Co-authored-by: CaCO3 <caco@ruinelli.ch>
Co-authored-by: Slider0007 <115730895+Slider0007@users.noreply.github.com>
* Show image for flow not started + take image
* Update
* Adding new images
* .
* Avoid multiple Access-Control-Allow-Origin * (#1859)
* Avoid multiple Access-Control-Allow-Origin *
* Adapt loglevel to debug
* Update build.yaml
* .
* New state "initialization (delayed)", renaming
* Overview: Renamed "Status" + switched position
* Improve data logging on errors (#1839)
* use error level for log if "Rate to High" or "Negative Rate"
* remove redundant data logging
* .
* .
* update time also in case of an error
* move calculation of difference to the top as discussed in PR 1839
Co-authored-by: CaCO3 <caco@ruinelli.ch>
* Heap tracing (#1861)
* Update sdkconfig.esp32cam-dev-task-analysis.defaults
* Update defines.h
* Update platformio.ini
* Update main.cpp
* Update defines.h
* Update ClassFlowCNNGeneral.cpp
* Update platformio.ini
* disable HIMEM (external > 4mb ram) not used (#1864)
#force disable HIMEM as not used in default config, can be enabled with [env:esp32cam-dev-himem]
#free 256kb of internal memory :
#I (2112) esp_himem: Initialized. Using last 8 32KB address blocks for bank switching on 4352 KB of physical memory.
CONFIG_SPIRAM_BANKSWITCH_ENABLE=n
#CONFIG_SPIRAM_BANKSWITCH_RESERVE is not set
* Update ota_page.html (#1866)
Fixed the firework to match the actual button text.
Fixed other random typos.
* add AlignmentAlgo=off option (#1867)
* Replace outdated wiki links, wording (#1871)
* Revert "add AlignmentAlgo=off option (#1867)" (#1876)
This reverts commit 3de4cc7c56.
* fixed typo (#1881)
Co-authored-by: CaCO3 <caco@ruinelli.ch>
* Show WIFI signal text labels / Log RSSI value to logfile (#1877)
* Overview: WIFI RSSI strength text labels
* Log RSSI value (debug level)
* Typo
* Update config.ini (#1880)
* Update Changelog.md for release (#1892)
Co-authored-by: github-actions <github-actions@github.com>
* Update Changelog.md
* Remove newline in version (#1891)
* remove newline in version
* .
* .
Co-authored-by: CaCO3 <caco@ruinelli.ch>
Co-authored-by: CaCO3 <caco@ruinelli.ch>
Co-authored-by: CaCO3 <caco3@ruinelli.ch>
Co-authored-by: Nicolas Liaudat <nliaudat@users.noreply.github.com>
Co-authored-by: AngryApostrophe <89547888+AngryApostrophe@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
* fix special case where number is named "default" (keep all topics in top level instead of in a sub-group)
* re-implemented SNTP usage, added way to disable NTP client, added timezone table
* minor fixes
Co-authored-by: CaCO3 <caco@ruinelli.ch>
* comment translation
* translation part #2
* code translation from DE to ENG #part3
* translation #4
* dismantled =>splitted
* bereich => range
* Update defines.h
Co-authored-by: jomjol <30766535+jomjol@users.noreply.github.com>
* defines changes
* Finish #define move + #define STBI_ONLY_JPEGsave 2% of Flash
* remove the defines on the old places
* ClassFlowCNNGeneral in define.h
* revert to origin
* fix translation not ready
* modify mqtt init at startup + after disconnection
* mqtt_init only when not initialized
* Minor udapte
* Apply suggestions from code review
Co-authored-by: CaCO3 <caco3@ruinelli.ch>
* Correct typo
Co-authored-by: CaCO3 <caco3@ruinelli.ch>
* slow down constant reboots caused by the flow. With this, after a restart due to exception/panic the first round gets delayed by 5 minutes
* catch empty reference images
* .
Co-authored-by: CaCO3 <caco@ruinelli.ch>
* Updated the web Installer page, removed all redudnant files in the docs folder, updated the main README
* .
* consolidate the 2 identical ZerlegeZeile() function and move it to Helper.cpp and add workaround for whitespace and equal sign in password fields
* remove redundant code in HelperZerlegeZeile()
* Updated the web Installer page, removed all redudnant files in the docs folder, updated the main README
* .
* consolidate the 2 identical ZerlegeZeile() function and move it to Helper.cpp and add workaround for whitespace and equal sign in password fields
* remove redundant code in HelperZerlegeZeile()
* HTML: implement data viewer
* Correct CSV error
* Improve OTA
* Use consistent Log TAG syntax, name TAG variable the same in every file.
* .
* .
* .
* .
* .
* Update server_tflite.cpp
* Correct CSV error
* Improve OTA
* Use consistent Log TAG syntax, name TAG variable the same in every file.
* .
* .
* .
* .
* .
* Update server_tflite.cpp
* .
* .
* .
* .
* .
* .
* .
* .
Co-authored-by: jomjol <30766535+jomjol@users.noreply.github.com>
* manual re-creation of #1246
* removed non-working approach to get interval
* postpone the MQTT service start until the ClassFlowControll::ReadParameter() gets called
* Increase the max_uri_handlers to 35 (was 30)
* removed newlines in logs
* added parameter to UI
* Register handler to re-start MQTT Discovery
* fix param
* Temporarily disable data file writing as it can cause crashs, see https://github.com/jomjol/AI-on-the-edge-device/issues/1225
* removed edit function in graph as we don't need that in a release
* .
* improve log viewer
* replaced logfile enable/disable with enum to select log level. At least errors always will be logged (as before)
* .
* .
* colorize log
* scroll down
* improve log reload