theAgingApprentice / HexaFloorRide

Arduino based six legged robot project
MIT License
0 stars 0 forks source link

Set up MQTT shortcut scripts an Andrew’s broker #126

Open theAgingApprentice opened 1 year ago

theAgingApprentice commented 1 year ago

Use the same technique that Doug uses.

nerdoug commented 1 year ago

my alias that runs mosquitto is:

pi@pi-mq:~ $ alias mq alias mq='clear;echo Starting mosquitto;mosquitto_sub -v -t '\''#'\'''

defined at the end of /home/pi/.bashrc:

pi@pi-mq:~ $ tail -2 .bashrc alias mq="clear;echo Starting mosquitto;mosquitto_sub -v -t '#'"