MK-Blinds config - MQTT login setup?


#1

Hey all,

I’m using MK-BlindsControl.ino and followed the videos in setting up the hardware and software. My issue is with the credentials I have setup for Mosquitto in OpenHAB. The .ino file only requires the mqtt server. What is the best way to add the MQTT login and password to the .ino file? I tried the following but not sure what else would be needed or if I’m on the right track. Thanks in advance.

//MQTT Server IP Address
const char* server = “192.168.1.132”;
const char* mqtt_user = “openhabian”;
const char* mqtt_password = “password”;


#2

This has been solved on a different thread. Password protected MQTT for LED Strip Control


#3

Thank you for posting the link. Great work!