I downloaded the Husarnet_ESP32 library and uploaded the example after updating WiFi credential and Join code, installed the latest ESP32 board library from Expressif, deleted the previous Arduino-ESP32 board library, uploaded the simple-webserver example without errors, Esp32 connects to local hotspot, but it does not connect to Husarnet, it reboots continuously! My account suggests to use
Husarnet.join(JoinCode,“mydevice”);
and Husernet.start();
but the example suggests:
husarnet.join(HostName (DeviceName?), JoinCode) !!!
while husarnet.start() is not supported by this library!!!
The confusion is very big!
Moreover, it is necessary to install Husarnet on Windows? I tried, but it only opens and closes a window.
I would like to create a simple web server with a button to control a led from Esp32, but it is not clear how to do it, the found explanations propose different ways. It is still possible to do it for free? Arduino users can still use Husarnet?
Thanks
Hi
Can you provide us more details (Serial Monitor output, your code if that’s not a company secret) to support@husarnet.com?
Moreover, it is necessary to install Husarnet on Windows? I tried, but it only opens and closes a window.
Husarnet should be used from already open CMD/Powershell/Terminal session, double clicking on Husarnet won’t work.
Regards, Filip
Im having the same problem with ESP32-S3 using ESP32 Arduino-core version 3.1.2… It can connect to wifi and get an IP address with no issues but when calling hursanet.join(), the ESP is forced to reboot giving the following error when using the default example code:
assert failed: netif_add /IDF/components/lwip/lwip/src/core/netif.c:286 (Required to lock TCPIP core functionality!)
i started a GitHub issue covering this here: assert failed... Required to lock TCPIP core functionality ESP32-S3 · Issue #3 · husarnet/husarnet-esp32-arduino · GitHub
I sent an email to support with Serial Monitor and code.
I would like to introduce Husarnet for free to my college students in the second semester, but the procedures are not clear, we work mostly with Arduino, sometimes with PlatformIO, but they should be equivalent. How is it possible to offer Husarnet for a fee, if the basic free operations are so hard to understand? A few years ago I used Husarnet for free with my students for 3D tracking of flying object, but the next year it was no longer possible, or I didn’t understand something new.
I doubt its your code thats the issue, what version of ESP32-Arduino-Core are you using? it seems Hursanet library works with core version 3.0.7 but not 3.1.x… The same problem was found with the ESPASync library a few months ago, im trying to apply the fix but I cant find the location of user_interface.cpp, or port.cpp…
I am using version 3.1.1, now thanks to your suggestion I tried with version 3.07, but it gives me the error “More WiFi libraries found”
hmm strange, have you got verbose debugging enabled?