Skip to content

Commit

Permalink
Update BresserWeatherSensorMQTT.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jul 10, 2023
1 parent 6c39e5c commit 7878472
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,10 @@ RainGauge rainGauge;
// MQTT topics
const char MQTT_PUB_STATUS[] = "/status";
const char MQTT_PUB_RADIO[] = "/radio";
const char MQTT_PUB_DATA[] = "/data";
const char MQTT_PUB_DATA[] = "data";
const char MQTT_PUB_RSSI[] = "rssi";
const char MQTT_PUB_EXTRA[] = "/extra";
const char MQTT_PUB_RSSI[] = "/rssi";


char mqttPubStatus[TOPIC_SIZE];
char mqttPubRadio[TOPIC_SIZE];
Expand Down Expand Up @@ -530,7 +531,7 @@ void publishWeatherdata(bool complete)
}
}

String mqtt_topic_base = String(HOSTNAME) + String('/') + sensor_str + String('/');
String mqtt_topic_base = String(Hostname) + String('/') + sensor_str + String('/');
String mqtt_topic;

// sensor data
Expand Down

0 comments on commit 7878472

Please sign in to comment.