ipodmusicman / paradox-controller

Paradox bridge between Paradox alarm systems and MQTT
20 stars 7 forks source link

MQTT credentials #3

Closed favarinbarracano closed 4 years ago

favarinbarracano commented 5 years ago

Hi, in case of MQTT protected broker with user and password I edited the sketch:

define mqttUser "XXXXXX"

define mqttPassword "XXXXXX"

if (client.connect(charBuf, mqttUser, mqttPassword, topicStatus, 0, true, "offline")) {

The sketch now is able to connect to MQTT protected broker. Any suggestion?

Manuel, Thanks

ipodmusicman commented 4 years ago

Thanks for the suggestion. When I work on it again, I'll look at making the username / password for MQTT configurable.