Page 1 of 1

MQTT broker mosquitto

PostPosted: Tue Feb 13, 2018 2:00 am
by wrumph
Would it be possible to run a MQTT broker on the box? I've been playing with some home automation and would like to use the NAS as a MQTT broker for some Sonoff devices. I'm very much new to Linux, but have been looking for binary to install. Is there any other ipk repo we can add? :please :hail

https://mosquitto.org/download/

Thanks IA
:rock :beer:

Re: MQTT broker mosquitto

PostPosted: Tue Feb 13, 2018 10:00 pm
by fvdw
I will have a look if it can be compiled for our firmware

Re: MQTT broker mosquitto

PostPosted: Wed Feb 14, 2018 12:26 pm
by fvdw
here you go


Code: Select all
root@fvdwsl-5big2:/ # mosquitto --help
mosquitto version 1.4.14 (build date 2018-02-14 13:10:11+0100)

mosquitto is an MQTT v3.1.1/v3.1 broker.

Usage: mosquitto [-c config_file] [-d] [-h] [-p port]

 -c : specify the broker config file.
 -d : put the broker into the background after starting.
 -h : display this help.
 -p : start the broker listening on the specified port.
      Not recommended in conjunction with the -c option.
 -v : verbose mode - enable all logging types. This overrides
      any logging options given in the config file.

See http://mosquitto.org/ for more information.

root@fvdwsl-5big2:/ #


The attached archive must be unpacked in the the folder /direct-usb/fvdw-addons

Put it in addons folder of the the fvdw shared folder
connect via ssh (putty) and give commands
Code: Select all
cd /direct-usb/fvdw/addons
tar -xvf usr-local-mosquiitto-1.4.14.tar


Download link: usr-local-mosquiitto-1.4.14.tar
Note: you must be a member of donator group to be able to download this file

Re: MQTT broker mosquitto

PostPosted: Sat Feb 17, 2018 2:59 pm
by wrumph
Installing it now. Thanks! :bananadance

Re: MQTT broker mosquitto

PostPosted: Sat Feb 17, 2018 4:30 pm
by fvdw
We have a donate button :whistle

Re: MQTT broker mosquitto

PostPosted: Sun Feb 18, 2018 3:25 pm
by wrumph
Sent a donation. Thanks again for putting this together! Glad to see this project still lives.

Re: MQTT broker mosquitto

PostPosted: Sun Feb 18, 2018 4:33 pm
by fvdw
:thumbup thank you wrupmf much appreciated !