4854faa027
Implémente mqtt_manager.h/.cpp : connexion sans authentification si MQTT_USER vide, filtre deadband par sonde, retain=true, jamais de valeur d'erreur publiée. Intégration dans main.cpp (mqtt_init/update). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
181 B
C
8 lines
181 B
C
#pragma once
|
|
|
|
// Initialise le client MQTT (serveur + port)
|
|
void mqtt_init();
|
|
|
|
// À appeler à chaque loop() : reconnexion non-bloquante + publication deadband
|
|
void mqtt_update();
|