Ok, so what's happened in the world of Oz?
I have installed and started the mqtt broker
sudo systemctl start mosquitto.service
pi@PIFACE:/etc/mosquitto $ sudo systemctl start mosquitto.service
pi@PIFACE:/etc/mosquitto $ sudo systemctl status mosquitto.service
â—Ź mosquitto.service - LSB: mosquitto MQTT v3.1 message broker
Loaded: loaded (/etc/init.d/mosquitto)
Active: active (running) since Mon 2020-11-30 16:29:00 AEDT; 15h ago
Process: 414 ExecStart=/etc/init.d/mosquitto start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/mosquitto.service
└─429 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
Nov 30 16:28:59 PIFACE systemd[1]: Starting LSB: mosquitto MQTT v3.1 message broker...
Nov 30 16:28:59 PIFACE mosquitto[414]: Starting network daemon:: mosquitto.
Nov 30 16:29:00 PIFACE systemd[1]: Started LSB: mosquitto MQTT v3.1 message broker.
Dec 01 07:38:08 PIFACE systemd[1]: Started LSB: mosquitto MQTT v3.1 message broker.
pi@PIFACE:/etc/mosquitto $
I then edited the MQTT broker node in NR and pointed it to 127.0.0.1 and deployed.
Not working.
This is my mqtt.config file for that machine:
# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example
pid_file /var/run/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
#log_dest topic /var/log/mosquitto/mosquitto.log
log_dest topic
log_type error
log_type warning
log_type notice
log_type information
#connection_message true
#log_timestamp true
include_dir /etc/mosquitto/conf.d
#password_file /etc/mosquitto/passwd
# 2020 12 1 Bridge mode for MQTT
connection bridge-01
address 192.168.0.99
topic # out 0
topic # in 0
Of course the 0 and o are rather difficult to tell the difference on the link.
(Just saying.)
So is that 0 or o at the end of the topic line/s?