Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection to HiveMQ Cloud not working #739

Open
matdon opened this issue Jan 2, 2023 · 0 comments
Open

Connection to HiveMQ Cloud not working #739

matdon opened this issue Jan 2, 2023 · 0 comments

Comments

@matdon
Copy link

matdon commented Jan 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant