This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run mqtt locally?
#3
(2017-10-14, 07:48 AM)shark24 Wrote: Hi Paddy,

certainly you can run MQTT locally, you just need a MQTT-Broker. The most common one is mosquitto (https://mosquitto.org/).
It is very simple to use and there are tons of tutorials out there. If you need assistance feel free to ask.

Currently I'm not running OpenPlotter but I guess the MQTT-data can be handled by SignalK (https://github.com/tkurki/signalk-mqtt-gw) and therefore used by OpenPlotter.

Have a nice weekend

Thanks, mosquitto is actually installed in openplotter and running already -

Quote:pi@openplotter:~ $ mosquitto  -h
mosquitto version 1.3.4 (build date 2017-05-29 22:25:09+0000)

mosquitto is an MQTT 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.

I just don't know the passwords / user name etc. I remember sailoog talking about this a while ago but can't find the posts now.

Ta
Reply


Messages In This Thread
Run mqtt locally? - by PaddyB - 2017-10-14, 12:28 AM
RE: Run mqtt locally? - by shark24 - 2017-10-14, 07:48 AM
RE: Run mqtt locally? - by PaddyB - 2017-10-14, 09:50 AM
RE: Run mqtt locally? - by PaddyB - 2017-10-14, 11:26 AM
RE: Run mqtt locally? - by jim321 - 2017-10-14, 12:51 PM
RE: Run mqtt locally? - by PaddyB - 2017-10-14, 01:31 PM
RE: Run mqtt locally? - by Sailoog - 2017-10-14, 05:35 PM
RE: Run mqtt locally? - by Tigress - 2019-04-05, 08:04 PM
RE: Run mqtt locally? - by JD1 - 2017-10-14, 05:45 PM
RE: Run mqtt locally? - by PaddyB - 2017-10-14, 07:47 PM
RE: Run mqtt locally? - by shark24 - 2017-10-14, 10:55 PM
RE: Run mqtt locally? - by PaddyB - 2017-10-15, 10:53 AM
RE: Run mqtt locally? - by Sailoog - 2017-10-15, 01:04 PM
RE: Run mqtt locally? - by PaddyB - 2017-10-15, 01:45 PM
RE: Run mqtt locally? - by jim321 - 2019-04-05, 08:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)