From 77953a3397de2e310f74083e4897d64c58555caf Mon Sep 17 00:00:00 2001 From: Marc PASTEUR Date: Tue, 16 Dec 2025 07:00:36 +0100 Subject: [PATCH] test datas --- .../domotic_display/test_host/main/test_ihm.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/components/domotic_display/test_host/main/test_ihm.c b/components/domotic_display/test_host/main/test_ihm.c index 510e1a8..0cdc542 100644 --- a/components/domotic_display/test_host/main/test_ihm.c +++ b/components/domotic_display/test_host/main/test_ihm.c @@ -173,6 +173,22 @@ int app_main(int argc, char *argv[]) startEvtManager(); xTaskCreate(drawIhm, "LVGL", 128 * 1024, getIHMQueueHandle(), 3, NULL); + send_event(EVT_WIFI_CONNECTED,NULL); + meteodailyforecast_data dts = { + .datetime= time(NULL), + .isValid= true, + .previsions = { + .desc = "Ensoleillé", + .icon = "p4j", + .max = 12.40f, + .min = 3.30f + } + }; + extern lv_subject_t forecastD1Subj; + ESP_LOGI("test_ihm", "Setting forecastD1Subj"); + + lv_subject_set_pointer(&forecastD1Subj, &dts); + /* Enter the run loop of the selected backend */ driver_backends_run_loop();