Friday, June 06, 2014

Deploying your own mosquitto instance for Owntracks (and more!)

I've spent a bit of effort creating a mosquitto cookbook; so it's easy to get up and running.

I've previously covered how you setup owntracks, but that relied on someone else spinning up a server for you.

The simplest possible deployment:

  "run_list": ["recipe[mosquitto]", "recipe[mine]"],
  "mosquitto": {
    "listeners": [
      {"port": 1883, "addr": ""}


Don't forget to start the service

service 'mosquitto' do
  action :start

There's plenty more you can configure. If you wanted to try it out on different platforms (Raspberry Pi, Mac, etc), please do - all pull requests welcome!

No comments: