Mongoose Wizard getting started

Hi,

I stumbled upon Mogoose Wizard, which seems like an super awesome (and easy) way to create web UI for ESP32. My problem is that i do not get a hang of it. Can you help? All tutorials are for something else than Arduino IDE so a bit hard to follow. My biggest problem right now is how to implement updating temperature measurement to the dashboard.

What I have got working

  • Blinking LEDs from the dashboard. See code below to see how I edited mongoose_glue.c
static struct leds s_leds = {false, true, false};
void glue_get_leds(struct leds *data) {
  data->led1 = digitalRead(8);
}
void glue_set_leds(struct leds *data) {
  digitalWrite(8, data->led1);
}

What I do not understand how to get working

  • Reading a DS18B20 temperature sensor. Biggest issue is that where do I put the code where the sensor is read (float tempC = sensors.getTempC(deviceAddress);)? I understand that all the library declarations and initialization of the code goes above or in void(setup), as in a simple Arduino sketch. But how do I tell Mongoose to automatically update sensor reading and where do I put the command to update value?

Post a web link to the documentation for that.

Any tutorial will show where/how to initialize and where/how to read.

Do you mean Mongoose Wizard ?

Have you tried searching the forum for previous posts about using it ?

Here you go:

Yes and yes. Didnt find much about mongoose here.

Well, I got 36 hits for the word "Mongoose" but did not look in detail

Mongoose WIzard: https://mongoose.ws/wizard/#/settings
Mongoose Wizard docs: Mongoose :: Documentation
Mongoose Wizard Discord, where you can ask questions about doing things with the Wizard: Mongoose Library
Screenshot from 2025-12-09 14-25-47

Mongoose, the library that does all the work: Mongoose :: Documentation
Tutorials on how to use Mongoose (library): Mongoose :: Documentation

All tutorials are for something else than Arduino IDE so a bit hard to follow.
Tutorials are to explain how to use Mongoose for C language programmers, regardless of whether they use Arduino, STM32CubeIDE, MCUXpresso, Eclipse, VSCode, Keil, simple make, Zephyr, etc.
There are specific examples for Arduino, too, you just need to be able to learn from one example and apply your knowledge to other examples.

My biggest problem right now is how to implement updating temperature measurement to the dashboard.

You are using the Wizard, not Mongoose itself, so you need to understand the Wizard.
If you add the UI for your sensor, you'll get the glue functions for your sensor, where you'll be able to put the code to read your sensor.


Or, if you still don't make it, you can go to the Wizard Discord and ask other users that have already done what you're trying to do.

struct state {
  int speed;
  int temperature;    <-------
  int humidity;
  int uptime;
  char version[20];
  bool online;
  bool lights;
  int level;
};
void glue_get_state(struct state *);