Arduino MQTT Server Documentation
Mosquitto MQTT v3.1 server:
This website includes a free private MQTT v3.1 server for your applications. The server used is Mosquitto
All you need is an ApiKey, which you can get by registering in this section (not in the forum). The ApiKey gives you access to the data API and the MQTT server.
WAR: The access to the server is linked to an ApiKey, which works as a user and as a prefix of the topic (or as a topic if you do not add anything behind). Thus, no user can access the data of another.
MQTT server data:
Server: foroelectro.net or 163.172.27.140. Use standard port, 1883. Also you can use 8080 for websocket connections and 8081 for secure websocket connections.
User: Your ApiKey.
Password: Your email.
Topic: It has to start by your ApiKey. After it you can add any topic you want or just leave it empty.
WebSockets support: Regular and secure WebSockets support has been added. Ports are 8080 for regular ones and 8081 for secure ones.
Other resources:
- Example of use in Arduino, in the forum: https://www.foroelectro.net/servicios-de-la-web-f28/servidor-mqtt-disponible-t155.html#p833
- Mosquitto software official website: https://mosquitto.org/
- Software downloads (server and clients for desktop): https://mosquitto.org/download/
- Arduino PubSubClient library (available in the library manager): https://pubsubclient.knolleary.net/
- Instructions to integrate it into Arduino: https://ricveal.com/blog/arduino-mqtt/