jomjol 4 anni fa
parent
commit
3b44adb6fa

+ 6 - 0
FeatureRequest.md

@@ -11,6 +11,12 @@
 
 ____
 
+#### #12 Less reboots due to memory leakage
+
+* Issue: #414 & #425  #430
+
+  
+
 #### #11 MQTT - configurable payload
 
 * https://github.com/jomjol/AI-on-the-edge-device/issues/344

+ 2 - 1
README.md

@@ -47,10 +47,11 @@ In other cases you can contact the developer via email: <img src="https://raw.gi
 
 **General remark:** Beside the `firmware.bin`, typically also the content of `/html` needs to be updated!
 
-##### Rolling (2021-11-24)
+##### Rolling (2021-11-28)
 
 - Direct JSON access: ``http://IP-ADRESS/json`` 
 - Error message in log file in case camera error during startup
+- Upgrade analog CNN to v9.1.0
 - Upgrade digital CNN to v13.3.0 (added new images)
 - html: support of different port
 

+ 2 - 2
code/components/jomjol_flowcontroll/ClassFlowControll.cpp

@@ -637,10 +637,10 @@ string ClassFlowControll::getJSON()
     {
         json += "\"" + (*NUMBERS)[i]->name + "\":\n";
         json += "  {\n";
-        json += "    \"value\": \""      + (*NUMBERS)[i]->ReturnValueNoError          + "\",\n";
+        json += "    \"value\": "      + (*NUMBERS)[i]->ReturnValueNoError          + ",\n";
         json += "    \"raw\": \""        + (*NUMBERS)[i]->ReturnRawValue              + "\",\n";
         json += "    \"error\": \""     + (*NUMBERS)[i]->ErrorMessageText             + "\",\n";
-        json += "    \"rate\": \""      + std::to_string((*NUMBERS)[i]->FlowRateAct)  + "\",\n";
+        json += "    \"rate\": "      + std::to_string((*NUMBERS)[i]->FlowRateAct)  + ",\n";
         json += "    \"timestamp\": \"" + (*NUMBERS)[i]->timeStamp                    + "\"\n";
         if ((i+1) < (*NUMBERS).size())
             json += "  },\n";

BIN
firmware/firmware.bin


BIN
sd-card/config/ana0910s3_longq.tflite


+ 2 - 2
sd-card/config/config.ini

@@ -29,7 +29,7 @@ main.dig2 343 126 30 54
 main.dig3 391 126 30 54
 
 [Analog]
-Model = /config/ana0700s1lq.tflite
+Model = /config/ana0910s3_longq.tflite
 ;LogImageLocation = /log/analog
 ;LogfileRetentionInDays = 3
 ModelInputSize = 32 32
@@ -46,7 +46,7 @@ PreValueAgeStartup = 720
 AllowNegativeRates = false
 main.MaxRateValue = 0.1
 ErrorMessage = true
-CheckDigitIncreaseConsistency = true
+CheckDigitIncreaseConsistency = false
 
 ;[MQTT]
 ;Uri = mqtt://IP-ADRESS:1883