iotsa icon indicating copy to clipboard operation
iotsa copied to clipboard

Installation is not possible as described

Open wildwing1970 opened this issue 2 months ago • 5 comments

Just downloading of zip file and install in arduino ide does not work due to undeclated references. After 50 Minutes of trying to compliling i stopped trying working this library. Annoying experience for a experienced SW Developer

wildwing1970 avatar Oct 30 '25 07:10 wildwing1970

I need to investigate, I presume that something has changed on the side of the Arduino IDE.

jackjansen avatar Nov 05 '25 14:11 jackjansen

Testing this (on an Intel Mac). Completely uninstalled Arduino IDE and all its settings, libraries, etc.

  • Installed IDE 2.3.6.
  • In the Board manager installed the esspressif esp32 board package.
  • Downloaded iotsa 2.7 zipfile and added it with Add Library.
  • Opened iotsa Hello example.
  • Selected Sparkfun esp32 thing board.

Get a compile error ESPWebServer.hpp: No such file or directory.

Indeed, that is something that changed in the Arduino esp32 package. Iotsa 2.7 cannot work with newer releases of that.

Will build a 2.8.1 release and retry.

jackjansen avatar Nov 05 '25 16:11 jackjansen

Release 2.8.1 has the same problem. But the CI/CD using arduino-cli builds just fine. Need to investigate more.

jackjansen avatar Nov 05 '25 16:11 jackjansen

The library dependencies (in library.properties) are incomplete, and I need to investigate why.

For now, a workaround is to use arduino-cli to install the dependencies.

Run the following in a Terminal window (or Windows command prompt, or Linux bash):

arduino-cli config set library.enable_unsafe_install true
arduino-cli lib install "Adafruit NeoPixel"
arduino-cli lib install "ArduinoJson"
arduino-cli lib install "CoAP simple library"
arduino-cli lib install "DHT sensor library"
arduino-cli lib install "Adafruit Unified Sensor"
arduino-cli lib install "Ds1302"
arduino-cli lib install "ESP32Encoder"
arduino-cli lib install --git-url https://github.com/yutter/ArduinoJWT
arduino-cli lib install --git-url https://github.com/jackjansen/esp32_idf5_https_server
arduino-cli lib install --git-url https://github.com/jackjansen/esp32_idf5_https_server_compat

After that builds in the Arduino IDE should work.

jackjansen avatar Nov 05 '25 16:11 jackjansen

The problem is that library.properties doesn't support using URLs in its depends= line.

So I have to make the last three libraries available through the arduino library manager.

jackjansen avatar Nov 05 '25 19:11 jackjansen