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 o 163.172.27.140. Se usa el puesto estándar, 1883, para la conexión MQTT. Además se usan los puertos 8080 para conexiones websocket y el 8081 para websockets seguros.
User: Your ApiKey.
Password: Your email.
Topic: Ha de comenzar, obligatoriamente, por tu ApiKey. Tras ella puedes añadir el topic que desees o simplemente dejarlo vacío.
Soporte webSockets: Se ha añadido soporte de WebSockets, tanto normales como seguros. Los puertos son 8080 para el normal y 8081 para el seguro.
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/