You want to do more with your ESP device? Start your project with Karajan!
What is ESP-Karajan?
ESP-Karajan is a kind of operating system for ESP 8266 and ESP32 devices, taking away unproductive tasks of
- initializing the processor,
- WiFi connection,
- the displays,
- online dashboards,
- measurement chips,
- communication between ESP devices,
- connection to a remote PC.
Karajan contains a collaborative scheduler written for ease of use and clarity easily accessible to non-programmers without IT gibberish.
It provides several levels of runtime processing:
- Instant data (highest priority, no fixed timing, for asynchronous communication with other devices)
- Fast data (runs every 125ms)
- Menu (runs every 125ms)
- Slow data (runs every second)
- Statistics (runs every second)
- Display (runs every second)
- Serial reports (runs every second)
- Wireless communication (runs every second)
The scheduler distributes the tasks running every second evenly over the whole second.
Additionally timing flags are provided:
- NewMinute
- Minute Expiring
- NewHour
- HourExpiring
- NewDay
- DayExpiring
which allow to process statistics at the right time.
These timing flags rely on the time given from a NTP server over the WiFi connection.
All being Open Source and free as a beer.
But download and read the doc and try the demo to discover all the other features of Karajan...
https://github.com/rin67630/ESP_Karajan ... tation.pdf
Thing different ! Discover Karajan, my way to boost your project on ESP devices.
Re: Thing different ! Discover Karajan, my way to boost your project on ESP devices.
I still have two yet unsolved problems with WiFi
After a reboot WiFi, is re-established from EEPROM only when proviously the credentials came from SmartConfig.
When the credentials came from the sketch, they are not stored, despite of these lines:
The second problem is on ESP32 only, i could not find any working code to forget the WiFi credentials.
Of course one can erase them upon compiling, but I have the "x" menu to erase them by program. That works only on the ESP 8266.
Any clues would have been appreciated.
After a reboot WiFi, is re-established from EEPROM only when proviously the credentials came from SmartConfig.
When the credentials came from the sketch, they are not stored, despite of these lines:
Code: Select all
if (WiFi.status() == WL_CONNECTED)
{
WiFi.setAutoReconnect(true);
WiFi.persistent(true);
Serial.println("Connection OK!");
}
Of course one can erase them upon compiling, but I have the "x" menu to erase them by program. That works only on the ESP 8266.
Any clues would have been appreciated.
Who is online
Users browsing this forum: No registered users and 24 guests