jalla2000 / kamstrup-mqtt

Receives data from Kamstrup energy meter and sends it over MQTT
GNU General Public License v2.0
21 stars 5 forks source link

MQTT login #2

Open zamzon opened 5 years ago

zamzon commented 5 years ago

Hi

Where do I insert my broker username and password in the sketch.ino?

Is it here?: if (client.connect(clientId.c_str(), "mqttclient", "YourPassword")) {

mqttclient= username YourPassword = password

jalla2000 commented 5 years ago

Yes, that is exactly right. It should have been two variables next to the wifi settings instead.