Open meteo Api for espidf.
Weather data by Open-Meteo.com
- Add
https://github.com/bjay-wk/esp32-open-meteo.git
to thelib_deps
inplatformio.ini
. - In the CMakeLists.txt in your root you have to add before project(...):
get_filename_component(configName "${CMAKE_BINARY_DIR}" NAME) FILE(GLOB_RECURSE kconfigs_pio_lib_deps ${CMAKE_SOURCE_DIR}/.pio/libdeps/${configName}/*/Kconfig) list(APPEND kconfigs ${kconfigs_pio_lib_deps})
In src/idf_component.yml
of your project add
esp32-open-meteo:
git: https://github.com/bjay-wk/esp32-open-meteo.git
And in src/CMakeLists.txt
of your project
idf_component_register(...
REQUIRES esp32-open-meteo
...
)