2018-12-09, 06:19 PM
Quote:pi@openplotter:~ $ mosquitto_sub -h localhost -p 1884 -t 'vessels/self.environment.depth.belowTransducer'
bash: mosquitto_sub: command not found
Quote:pi@openplotter:~ $ mosquitto -p 1883
1544374155: mosquitto version 1.4.10 (build date Wed, 17 Oct 2018 19:03:03 +0200) starting
1544374155: Using default config.
1544374155: Opening ipv4 listen socket on port 1883.
1544374155: Error: Address already in use
I install mosquitto client:
Code:
sudo apt-get install mosquitto-clients
and, with 1883 port selected in the MQTT SK plugin ..
Code:
pi@openplotter:~ $ mosquitto_sub -h localhost -p 1884 -t 'vessels/self/navigation/speedOverGround'
Error: Connection refused
and then..
Code:
pi@openplotter:~ $ mosquitto_sub -h localhost -p 1883 -t 'vessels/self/navigation/speedOverGround'
Connection Refused: not authorised.
Connection Refused: not authorised.
Connection Refused: not authorised.
Connection Refused: not authorised.