-
Notifications
You must be signed in to change notification settings - Fork 50
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
broker.hivemq.com #55
Comments
Hi Markus,
Whatever you have set as for variable mqtt_topic you should be able to read back from hivemq. So if you have "myname/weather/zurich" you can use any free MQTT explorer (examples in Apple environments: iOS: MQTTAnalyzer, Mac: MQTT Explorer) and there you need to connect to mqtt://broker.hivemq.com Port: 1883 and subscribe to myname/# - then you should see the published messages. Hope this helps. |
Hi Marc
this are the serveradress?
[cid:83c16fe6-af01-478c-af99-688b0fc637dd]
and this the User Name ? "mabazug"
[cid:e6a45f68-a823-49c0-a494-e5e08135a67b]
and "wetter" the topic ?
and the status ?
Br Markus
…________________________________
Von: Marc ***@***.***>
Gesendet: Donnerstag, 30. Mai 2024 09:22
An: 3KUdelta/Solar_WiFi_Weather_Station ***@***.***>
Cc: maba64 ***@***.***>; Author ***@***.***>
Betreff: Re: [3KUdelta/Solar_WiFi_Weather_Station] broker.hivemq.com (Issue #55)
Hi Markus,
how to you know that there is no message sent?
Look at your settings.
bool MQTT = true; // If you use MQTT, set to true, else false
const char* mqtt_server = "broker.hivemq.com"; // MQTT Server (broker) address
const char* mqtt_user = ""; // MQTT Server (broker) userid
const char* mqtt_pass = ""; // MQTT Server (broker) password
const char* mqtt_topic = "YOUR_TOPIC"; // e.g. myname/weather/my_location
const char* mqtt_status = "YOUR_STATUS"; // e.g. myname/status
Whatever you have set as for variable mqtt_topic you should be able to read back from hivemq. So if you have "myname/weather/zurich" you can use any free MQTT explorer (examples in Apple environments: iOS: MQTTAnalyzer, Mac: MQTT Explorer) and there you need to connect to mqtt://broker.hivemq.com Port: 1883 and subscribe to myname/# - then you should see the published messages.
Hope this helps.
Marc
—
Reply to this email directly, view it on GitHub<#55 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOFSIY4D2MPCXV3CGVZA4FLZE3VUTAVCNFSM6AAAAABIQOCFR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZGEZTGOBZGU>.
You are receiving this because you authored the thread.
|
Hi Markus, Serveraddress: mqtt://broker.hivemq.com Port: 1883, no username, no password Best Marc |
You simply don't need it. Just use the open port for everyone. No account, no plan, no password. If you believe your weather data is secret or you need a private account then go for it. But I am not sure if I can help you with this. |
have a problem with "broker.hivemq.com although I have activated it and created an account no data is sent
I do not receive an error message
any Idea?
thanks
br
Markus
The text was updated successfully, but these errors were encountered: