MQTT broker mosquitto

MQTT broker mosquitto

Postby wrumph » Tue Feb 13, 2018 2:00 am

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:
wrumph
Donator VIP
Donator VIP
 
Posts: 19
Joined: Sat Jan 26, 2013 11:55 pm

Re: MQTT broker mosquitto

Postby fvdw » Tue Feb 13, 2018 10:00 pm

I will have a look if it can be compiled for our firmware
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: MQTT broker mosquitto

Postby fvdw » Wed Feb 14, 2018 12:26 pm

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
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: MQTT broker mosquitto

Postby wrumph » Sat Feb 17, 2018 2:59 pm

Installing it now. Thanks! :bananadance
wrumph
Donator VIP
Donator VIP
 
Posts: 19
Joined: Sat Jan 26, 2013 11:55 pm

Re: MQTT broker mosquitto

Postby fvdw » Sat Feb 17, 2018 4:30 pm

We have a donate button :whistle
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: MQTT broker mosquitto

Postby wrumph » Sun Feb 18, 2018 3:25 pm

Sent a donation. Thanks again for putting this together! Glad to see this project still lives.
wrumph
Donator VIP
Donator VIP
 
Posts: 19
Joined: Sat Jan 26, 2013 11:55 pm

Re: MQTT broker mosquitto

Postby fvdw » Sun Feb 18, 2018 4:33 pm

:thumbup thank you wrupmf much appreciated !
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Development

Who is online

Users browsing this forum: No registered users and 13 guests