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();