Skip to content

MQTT does not start if username and password left empty #150

@EpoxyRaisin

Description

@EpoxyRaisin

If your mqtt-broker, like mine, does not utilize any authentication and you leave username and password empty in config.js, the connection to the mqtt-broker will not be enabled at all. That is because of:
const mqttEnabled = (config.mqtt.mqttBroker !== '') &&
(config.mqtt.username !== '') &&
(config.mqtt.password !== '') &&
(config.mqtt.machineName !== '')
in PeripheralManager.js

The quick fix for me was to insert some dummy values for username and password in config.js

Metadata

Metadata

Assignees

Labels

Main production branchConcerns the main production branchbugSomething isn't workingconfiguration issueAn issue in configuring OpenRowingMonitor

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions