You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to make the handling after saving changed parameters easier (e.g. to avoid the standard restart like done in the examples) it would be nice if all "changed" parameters can be provided to the callback. As the eeprom is at this step it is perhaps easy to add it.
This would make it easier to reload e.g. the MQTT client only of the MQTT server is changed which would not interfere with other components.
Something like:
void configSaved(e.g. Array of params classes)
{
Serial.println("Configuration saved.");
if ( contains MQTT server)
{
restartMQTT();
}
// Not anymore ncessary: needReset = true;
}
The text was updated successfully, but these errors were encountered:
Hi,
to make the handling after saving changed parameters easier (e.g. to avoid the standard restart like done in the examples) it would be nice if all "changed" parameters can be provided to the callback. As the eeprom is at this step it is perhaps easy to add it.
This would make it easier to reload e.g. the MQTT client only of the MQTT server is changed which would not interfere with other components.
Something like:
void configSaved(e.g. Array of params classes)
{
Serial.println("Configuration saved.");
if ( contains MQTT server)
{
restartMQTT();
}
// Not anymore ncessary: needReset = true;
}
The text was updated successfully, but these errors were encountered: