supported_hardware:mqtt
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
supported_hardware:mqtt [2023/01/25 19:37] – created James Sentman | supported_hardware:mqtt [2023/03/14 17:25] – [Installing an MQTT Broker:] added config file specifics James Sentman | ||
---|---|---|---|
Line 9: | Line 9: | ||
====Installing an MQTT Broker:==== | ====Installing an MQTT Broker:==== | ||
If you’re already using MQTT then you can skip this step. MQTT Brokers are available for pretty much every platform. This plugin can connect to any of them but if you wish to install it on your Mac you can follow the instructions for the free broker at [[https:// | If you’re already using MQTT then you can skip this step. MQTT Brokers are available for pretty much every platform. This plugin can connect to any of them but if you wish to install it on your Mac you can follow the instructions for the free broker at [[https:// | ||
+ | |||
+ | For the most basic install specifically the changes that need to be made to the mosquitto.conf file are: | ||
+ | |||
+ | Under General Configuration towards the beginning and before the per listener section please add: | ||
+ | < | ||
+ | allow_anonymous true | ||
+ | </ | ||
+ | |||
+ | Further down under the listener section you must create a listener entry with the default port number. The default line in the configuration is the word listener commented out like: | ||
+ | < | ||
+ | #listener | ||
+ | </ | ||
+ | |||
+ | please replace that with a line like: | ||
+ | |||
+ | < | ||
+ | listener 1883 | ||
+ | </ | ||
+ | |||
+ | and then restart the process. If running on MacOS and installed through Brew you can do this by issuing the command: | ||
+ | < | ||
+ | brew services restart mosquitto | ||
+ | </ | ||
+ | |||
+ | this will also take care of having it restart after the machine restarts | ||
----- | ----- |
supported_hardware/mqtt.txt · Last modified: 2023/03/17 13:35 by James Sentman