This commit is contained in:
michael
2026-01-18 20:26:17 +01:00
parent f2f5ae7b8f
commit 6e1288dca0
7 changed files with 24 additions and 9 deletions

View File

@@ -31,6 +31,7 @@ int MQTTReconnectCnt = 0;
void (*callbackOnConnected)(std::string, bool) = NULL;
// e.g. _key = watermeter/main/rate_per_digitization_round, _content = change_absolute_temp, _qos = 1, retained_flag = mqtt_controll_config.retainFlag
bool MQTTPublish(std::string _key, std::string _content, int qos, bool retained_flag)
{
if (!mqtt_controll_config.mqtt_enabled)