mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 12:36:52 +03:00
Enhance homeassistant discovery (V5) (#1275)
* 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
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "ClassControllCamera.h"
|
||||
#include "server_main.h"
|
||||
#include "server_camera.h"
|
||||
#include "server_mqtt.h"
|
||||
#include "Helper.h"
|
||||
|
||||
extern const char* GIT_TAG;
|
||||
@@ -259,6 +260,7 @@ extern "C" void app_main(void)
|
||||
register_server_tflite_uri(server);
|
||||
register_server_file_uri(server, "/sdcard");
|
||||
register_server_ota_sdcard_uri(server);
|
||||
register_server_mqtt_uri(server);
|
||||
|
||||
gpio_handler_create(server);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user