Skip to content

Connection to HiveMQ Cloud not working #739

@matdon

Description

@matdon

Hi everyone,

has somebody here experience with the HiveMQ Cloud broker? (https://www.hivemq.com/mqtt-cloud-broker/)
Its a nice and free (up to 100 devices) online MQTT broker.

Attempting to connect to the broker fails:

grafik

No MQTT connection can be established.

As code I'm using the bare minimum sketch from the documentation:

`#include <Homie.h>

void setup() {
Serial.begin(115200);
Serial << endl << endl;

Homie_setFirmware("bare-minimum", "1.0.0"); // The underscore is not a typo! See Magic bytes
Homie.setup();
}

void loop() {
Homie.loop();
}`

I'm using PlatformIO.
Already tried with the Homie 3.0.1 release as well as the latest revision from the develop branch.

Here is the JSON config I'm using:
grafik

The platformio.ini looks a follows:

grafik

HiveMQ requires a SSL/TLS connection at port 8883.

Was somebody able to establish a connection to a HiveMQ Cloud broker and can provide some hints?

Thank you in advance!

Best regrads,
Matthias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions