Rolling 20220123

This commit is contained in:
jomjol
2022-01-23 19:47:34 +01:00
parent 53606d5055
commit 567dc74cd7
8 changed files with 15 additions and 7 deletions

View File

@@ -54,7 +54,11 @@ In other cases you can contact the developer via email: <img src="https://raw.gi
##### Rolling (2022-01-21) ##### Rolling (2022-01-23)
- Bug fix: MQTT connection problems
Rolling (2022-01-21)
- Changed startup sequence to try to reinitialize camera during startup after failure - Changed startup sequence to try to reinitialize camera during startup after failure
- Update esp32-camera to new version (master as of 2022-01-21) - Update esp32-camera to new version (master as of 2022-01-21)

View File

@@ -110,9 +110,12 @@ bool ClassFlowMQTT::ReadParameter(FILE* pfile, string& aktparamgraph)
} }
} }
printf("Init Read with uri: %s, clientname: %s, user: %s, password: %s, maintopic: %s\n", uri.c_str(), clientname.c_str(), user.c_str(), password.c_str(), mainerrortopic.c_str());
if (!MQTTisConnected() && (uri.length() > 0) && (maintopic.length() > 0)) if (!MQTTisConnected() && (uri.length() > 0) && (maintopic.length() > 0))
{ {
printf("InitMQTTInit\n");
mainerrortopic = maintopic + "/connection"; mainerrortopic = maintopic + "/connection";
printf("Init MQTT with uri: %s, clientname: %s, user: %s, password: %s, maintopic: %s\n", uri.c_str(), clientname.c_str(), user.c_str(), password.c_str(), mainerrortopic.c_str());
MQTTInit(uri, clientname, user, password, mainerrortopic, 60); MQTTInit(uri, clientname, user, password, mainerrortopic, 60);
MQTTPublish(mainerrortopic, "connected"); MQTTPublish(mainerrortopic, "connected");
MQTTenable = true; MQTTenable = true;

View File

@@ -14,6 +14,7 @@ bool debugdetail = true;
// #define CONFIG_BROKER_URL "mqtt://192.168.178.43:1883" // #define CONFIG_BROKER_URL "mqtt://192.168.178.43:1883"
esp_mqtt_event_id_t esp_mmqtt_ID = MQTT_EVENT_ANY; esp_mqtt_event_id_t esp_mmqtt_ID = MQTT_EVENT_ANY;
// ESP_EVENT_ANY_ID
bool mqtt_connected = false; bool mqtt_connected = false;
esp_mqtt_client_handle_t client = NULL; esp_mqtt_client_handle_t client = NULL;

View File

@@ -701,7 +701,7 @@ void TFliteDoAutoStart()
printf("task_autodoFlow configMINIMAL_STACK_SIZE: %d\n", _i); printf("task_autodoFlow configMINIMAL_STACK_SIZE: %d\n", _i);
printf("getESPHeapInfo: %s\n", getESPHeapInfo().c_str()); printf("getESPHeapInfo: %s\n", getESPHeapInfo().c_str());
xReturned = xTaskCreate(&task_autodoFlow, "task_autodoFlow", configMINIMAL_STACK_SIZE * 48, NULL, tskIDLE_PRIORITY+1, &xHandletask_autodoFlow); xReturned = xTaskCreate(&task_autodoFlow, "task_autodoFlow", configMINIMAL_STACK_SIZE * 35, NULL, tskIDLE_PRIORITY+1, &xHandletask_autodoFlow);
if( xReturned != pdPASS ) if( xReturned != pdPASS )
{ {

View File

@@ -1,4 +1,4 @@
const char* GIT_REV="19a6c21"; const char* GIT_REV="53606d5";
const char* GIT_TAG=""; const char* GIT_TAG="";
const char* GIT_BRANCH="rolling"; const char* GIT_BRANCH="rolling";
const char* BUILD_TIME="2022-01-21 18:47"; const char* BUILD_TIME="2022-01-23 19:34";

View File

@@ -1,4 +1,4 @@
const char* GIT_REV="19a6c21"; const char* GIT_REV="53606d5";
const char* GIT_TAG=""; const char* GIT_TAG="";
const char* GIT_BRANCH="rolling"; const char* GIT_BRANCH="rolling";
const char* BUILD_TIME="2022-01-21 18:47"; const char* BUILD_TIME="2022-01-23 19:34";

Binary file not shown.

Binary file not shown.