Is the tripflex captive portal library abandoned?

Wanted to try this library: https://github.com/tripflex/captive-portal-wifi-stack

I tried adding the library to my mos.xml, under libs:

I would really need a captive portal solution for Mongoos OS, and I wanted to avoid having to write one from sratch. :frowning:

Any suggestions?

Thanks!

The libraries were created to be used with ESP32. It’s easy to make them build with ESP8266.

Thanks! I will try to fork the library and adjust the API calls to make it compatible…

I was wondering if it’s possible to make it work with a javascript firmware file too. I mean to use that captive portal script AND my own init.js file that has the main firmware logic for the IoT device…

Manged to get it to work by adding the following to the config_schema in the mos_xml:

  • [“wifi.sta.protocol”, “s”, “xxx”, {title: “Dummy config for ESP32 compatibility”}]

Maybe not the best solution, but it works. :slight_smile: