1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
iiab/roles/mosquitto
2022-06-18 13:55:05 -04:00
..
defaults Update main.yml 2019-03-05 13:11:18 -05:00
tasks Support skip_role_on_error in 23+2 more roles (Stages 6-9) 2022-06-18 13:55:05 -04:00
templates Add Mosquitto pub-sub broker to IIAB 2019-01-15 13:10:18 +00:00
README.rst Update README.rst 2019-02-13 04:55:31 -05:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

================
Mosquitto README
================

Adds the `Mosquitto <https://mosquitto.org/>`_ (`MQTT <https://mqtt.org/faq>`_) `pub-sub <https://en.wikipedia.org/wiki/Publishsubscribe_pattern>`_ broker to Internet-in-a-Box (IIAB) for electronics projects and educational experiments with  `IoT <https://en.wikipedia.org/wiki/Internet_of_things>`_.

Roughly follows this guide: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-ubuntu-16-04

Using It
--------

Prior to installing IIAB, make sure your `/etc/iiab/local_vars.yml <http://wiki.laptop.org/go/IIAB/FAQ#What_is_local_vars.yml_and_how_do_I_customize_it.3F>`_ contains::

  mosquitto_install: True
  mosquitto_enabled: True

The Mosquitto service is authenticated with:

Username: ``Admin``

Password: ``changeme``

You can monitor it with command::

  systemctl status mosquitto

See Also
--------

`Node-RED <../nodered#node-red-readme>`_