Optional features can be controlled via platformio.ini and are mentioned in firmware name on MQTT

This commit is contained in:
Ollo
2023-06-20 17:53:19 +02:00
parent 2636e2defa
commit f65132652c
4 changed files with 18 additions and 5 deletions

View File

@@ -808,7 +808,7 @@ void safeSetup()
}
/************************* Start Homie Framework ***************/
Homie_setFirmware("PlantControl", FIRMWARE_VERSION);
Homie_setFirmware(FIRMWARE_NAME, FIRMWARE_VERSION);
Homie.disableLedFeedback();
Homie_setBrand("PlantControl");
// Set default values